7.6. Importing Templates
7.6.1. Importing a Template into a Data Center
The export storage domain is deprecated. Storage data domains can be unattached from a data center and imported to another data center in the same environment, or in a different environment. Virtual machines, floating virtual disks, and templates can then be uploaded from the imported storage domain to the attached data center. See the Importing Existing Storage Domains section in the Red Hat Virtualization Administration Guide for information on importing storage domains.
Import templates from a newly attached export domain. This procedure requires access to the Administration Portal.
Importing a Template into a Data Center
- Click → and select the newly attached export domain.
- Click the domain name to go to the details view.
- Click the Template Import tab and select a template.
- Click .
- Use the drop-down lists to select the Target Cluster and CPU Profile.
- Select the template to view its details, then click the Disks tab and select the Storage Domain to import the template into.
- Click .
- If the Import Template Conflict window appears, enter a New Name for the template, or select the Apply to all check box and enter a Suffix to add to the cloned Templates. Click .
- Click .
The template is imported into the destination data center. This can take up to an hour, depending on your storage hardware. You can view the import progress in the Events tab.
Once the importing process is complete, the templates will be visible in→ . The templates can create new virtual machines, or run existing imported virtual machines based on that template.
7.6.2. Importing a Virtual Disk from an OpenStack Image Service as a Template
Virtual disks managed by an OpenStack Image Service can be imported into the Red Hat Virtualization Manager if that OpenStack Image Service has been added to the Manager as an external provider. This procedure requires access to the Administration Portal.
- Click → and select the OpenStack Image Service domain.
- Click the storage domain name to go to the details view.
- Click the Images tab and select the image to import.
If you are importing an image from a Glance storage domain, you have the option of specifying the template name.
- Select the Data Center into which the virtual disk will be imported.
- Select the storage domain in which the virtual disk will be stored from the Domain Name drop-down list.
- Optionally, select a Quota to apply to the virtual disk.
- Select the Import as Template check box.
- Select the Cluster in which the virtual disk will be made available as a template.
- Click .
The image is imported as a template and is displayed in the Templates tab. You can now create virtual machines based on the template.