7.7. Importing Templates


7.7.1. Importing a Template into a Data Center

Note

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

  1. Click Storage Domains and select the newly attached export domain.
  2. Click the domain name to go to the details view.
  3. Click the Template Import tab and select a template.
  4. Click Import.
  5. Use the drop-down lists to select the Target Cluster and CPU Profile.
  6. Select the template to view its details, then click the Disks tab and select the Storage Domain to import the template into.
  7. Click OK.
  8. 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 OK.
  9. Click Close.

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 Compute Templates. The templates can create new virtual machines, or run existing imported virtual machines based on that template.

7.7.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.

  1. Click Storage Domains and select the OpenStack Image Service domain.
  2. Click the storage domain name to go to the details view.
  3. Click the Images tab and select the image to import.
  4. Click Import.

    Note

    If you are importing an image from a Glance storage domain, you have the option of specifying the template name. OpenStack Glance is now deprecated. This functionality will be removed in a later release.

  5. Select the Data Center into which the virtual disk will be imported.
  6. Select the storage domain in which the virtual disk will be stored from the Domain Name drop-down list.
  7. Optionally, select a Quota to apply to the virtual disk.
  8. Select the Import as Template check box.
  9. Select the Cluster in which the virtual disk will be made available as a template.
  10. Click OK.

The image is imported as a template and is displayed in the Templates tab. You can now create virtual machines based on the template.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.