Exporting and Importing Service Templates in VMM
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager
In Virtual Machine Manager (VMM), you can export and import service templates. Exporting and importing service templates gives you the capability to back up service templates and share service templates between different VMM environments.
You can also export and import virtual machine templates.
When you export a service template in VMM, tier definitions, hardware settings, guest operating system settings, application installation settings, and network configurations are saved to an .XML file. The export can optionally include sensitive data such as passwords, product keys, and application and global settings that are marked as secure. The sensitive settings can be encrypted. During a service template import, sensitive settings can be included or excluded. If sensitive settings are included, and they were encrypted during the service template export, the encryption password is required.
You can also choose to export some or all of the physical resources (for example, base virtual hard disks, scripts, or application packages) that are associated with the service template along with the .XML file for the exported service template. When you import a service template into VMM, VMM validates physical and logical resources that the service template references in the current environment and allows you to update references to missing resources, such as logical resources include logical networks and virtual hard disks.
You can export a service template to a file share or to a VMM library share. However, by storing the .XML file on a library share, you can ensure that administrators have access to the file for service template imports.
Account requirements In VMM, administrators can export and import all service templates. Self-service users whose user role is assigned the Author action can export and import service templates that they have access to, irrespective of the owner. When a self-service user imports a service template, that user becomes the service template owner.
To export and import service templates in VMM, see the following topics: