Red Hat Training
A Red Hat training course is available for Red Hat Virtualization
7.5. Exporting Templates
7.5.1. Migrating Templates to the Export Domain
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.
Export templates into the export domain to move them to another data domain, either in the same Red Hat Virtualization environment, or another one. This procedure requires access to the Administration Portal.
Exporting Individual Templates to the Export Domain
- Click Compute → Templates and select a template.
- Click Export.
- Select the Force Override check box to replace any earlier version of the template on the export domain.
- Click OK to begin exporting the template; this may take up to an hour, depending on the virtual disk size and your storage hardware.
Repeat these steps until the export domain contains all the templates to migrate before you start the import process.
- Click Storage → Domains and select the export domain.
- Click the domain name to see the details view.
- Click the Template Import tab to view all exported templates in the export domain.
7.5.2. Copying a Template’s Virtual Hard Disk
If you are moving a virtual machine that was created from a template with the thin provisioning storage allocation option selected, the template’s disks must be copied to the same storage domain as that of the virtual disk. This procedure requires access to the Administration Portal.
Copying a Virtual Hard Disk
- Click Storage → Disks.
- Select the template disk(s) to copy.
- Click Copy.
- Select the Target data domain from the drop-down list(s).
- Click OK.
A copy of the template’s virtual hard disk has been created, either on the same, or a different, storage domain. If you were copying a template disk in preparation for moving a virtual hard disk, you can now move the virtual hard disk.