Images, Templates, and VM Specifications
You can use images, VM templates, and VM specifications to prepare deployment resources and reuse existing VM environments and operating system initialization settings, reducing repetitive configuration.
Images provide operating system installation media or preconfigured system and disk contents. VM templates let you reuse configured VM environments with operating systems and applications already installed. VM specifications apply operating system initialization settings when you deploy VMs from templates. You can also export an existing VM as an OVA file for later download and use.
Image Storage Management
Image storage works as a repository for image templates that contain operating systems and for disk images. You can use image storage to share image files across data centers.
Before you create a virtual machine, you typically need to prepare image storage and then add system images, disk images, or OVA templates to the image storage. The status of image storage affects operations such as image upload, synchronization, migration, and template creation.
Add a Standalone Image Storage
A standalone image storage stores image files as image slices and supports incremental storage.
Procedure
Add a Distributed Image Storage
A distributed image storage stores image files on distributed block storage.
Procedure
- In the navigation pane, choose .
- Right-click the target data center and choose Add Image Storage.
- In the Select Image Storage Type dialog, choose Distributed Image Storage.
- Click Next.
-
In the Add Image Storage dialog, configure the following options:
- Review the configuration and click OK.
Manage Image Storage
You can modify image storage settings, view resource usage, clean up data, or delete image storage as needed.
Common Entries
You can manage image storage from the following entries:
- In the navigation pane, choose , and right-click the target image storage.
- Go to the target image storage page and click Actions.
- Go to the Image Storage tab of a data center and perform batch operations.
Common Operations
| Operation | Description |
|---|---|
| Edit Name and Description | Modify the name and description of the image storage. |
| Modify Configuration | Modify the configuration of the image storage. |
| Update Password | Update the password of the image storage. After the password is updated, reconnect the image storage manually for the change to take effect. |
| View Usage | View image storage usage. |
| Data Cleanup | Clean up permanently deleted invalid data and expired temporary data in the image storage. Note: After an image file is permanently deleted and the virtual machines created from the image are permanently deleted, data cleanup releases the storage space occupied by the image storage. Avoid write operations during data cleanup. |
| View Monitoring Data | View trends of image storage capacity, CPU, memory, disk resource usage, and NIC usage over time. |
| Delete Image Storage | Delete existing image storage. You can also delete image storage in bulk on the Image Storage tab of the data center. |
Image Storage Status
Image storage has two status categories: state and status. Each category has a different meaning and supports different operations.
State
- Enabled: You can add images to this image storage and create virtual machines from the images on this image storage.
- Disabled: You cannot add new images. Existing images are not affected and can still be used to create virtual machines.
Status
Status indicates the network connection between image storage and the management node, including Connecting, Connected, and Disconnected. When the network is unstable, the image storage status might change. You can reconnect image storage to change its status.
Add an Image
You can add system images or disk images in multiple formats to image storage. When you create a virtual machine for the first time, the system downloads the image to a data storage as an image cache. You can add QCOW2, ISO, RAW, or VMDK image files to image storage by URL or local upload.
Procedure
Synchronize Images
About this task
Under the same management node, you can synchronize one or more images from a standalone image storage to a specified standalone image storage.
Image synchronization between image storage uses the management network by default. You can also configure a separate image synchronization network when you add an image storage or modify image storage configuration to reduce pressure on the management network. If both the source and target image storage are configured with image synchronization networks, only the image synchronization network of the target image storage takes effect during synchronization.
Procedure
- In the navigation pane, choose .
- Select the target image storage.
- On the image storage details page, click Image.
- On the Image tab, select the target image.
- Click .
- In the Synchronize Image dialog, select the target standalone image storage.
- Click OK.
Migrate an Image
Before you begin
- Only migration between distributed image storage is supported.
- Before you migrate an image, make sure that the monitoring nodes of the two distributed image storage can communicate with each other.
- If an ISO image is migrated across data centers, virtual machines that use the ISO image must detach the image before they can start properly after the migration.
Procedure
- In the navigation pane, choose .
- Right-click the target image and choose Change Image Storage.
- In the Change Image Storage dialog, select the target distributed image storage.
- Click OK.
What to do next
Delete an Image
Before you begin
Procedure
Export an Image
Select an image and export it. The exported image is displayed on the Export List tab of the root node. Exported images cannot be exported again.
Procedure
VM Template Management
A VM template is a set of virtual machine operating system, application, and feature configurations. You can use VM templates to quickly deploy virtual machines with the same attributes in batches, improving efficiency and consistency.
Clone a VM to a Template
Clone a virtual machine to a template. The source virtual machine can continue to be used after it is cloned to a template.
Before you begin
- The virtual machine power state must be Running, Paused, Stopped, or Crashed.
- The virtual machine must not have shared disks or RDM disks attached. If any are attached, detach them before cloning the virtual machine to a template.
- VM encryption and disk encryption must be disabled. An encrypted VM cannot be cloned to a template.
Procedure
What to do next
After you clone the virtual machine to a template, you can use the template to quickly deploy virtual machines with the same attributes.
You can modify the template without affecting normal use of the source virtual machine.
Convert a VM to a Template
Convert a shutdown virtual machine to a template. After the source virtual machine is converted to a template, it can be used only as a template and is removed from the virtual machine navigation tree. The template is displayed in the navigation tree.
Before you begin
- The virtual machine must be shut down.
- The virtual machine must not have shared disks or RDM disks attached. If any are attached, detach them before converting the virtual machine to a template.
- The virtual machine must not be associated with any backup plans. If it is associated with one, disassociate it before converting the virtual machine to a template.
- VM encryption and disk encryption must be disabled. An encrypted VM cannot be converted to a template.
Procedure
- In the navigation pane, choose .
- Select the target virtual machine and click .
- Review the selected target and click OK.
What to do next
Convert a Template to a VM
Convert a template directly to a virtual machine. To edit template configuration or when you no longer need to keep the virtual machine as a deployment template, convert the template to a virtual machine.
Procedure
What to do next
Manage VM Templates
Modify VM templates as needed based on service scenarios, including editing the name and description, modifying configuration, and changing the owner. If you no longer need a template, delete it.
Common Entries
You can manage VM templates from the following entries:
- Go to the target template page and click Actions.
- Go to the Image and Template tab of the data center that contains the templates and perform batch operations.
Common Operations
| Operation | Description |
|---|---|
| Edit Name and Description | Modify the name and description of a template. Note: The new name must be unique and cannot duplicate the names of existing virtual machines or templates. |
| Modify Configuration |
Modify template basic information, total CPU cores, CPU cores per socket, memory size, or disk capacity. To make extensive changes to template configuration, convert the template to a virtual machine, adjust the configuration as needed, and then convert the virtual machine back to a template for later use. |
| Change Owner | Specify the owner of a template. |
| Delete VM Templates | Delete a single template, or delete templates in bulk on the Image and Template tab of the data center that contains the templates. Note: After a template is deleted, its template files, including NIC files, disk files, and database records, cannot be restored. Proceed with caution. |
VM Specification Management
You can create and manage customization specifications for Windows or Linux virtual machine operating systems. A VM specification is a file that contains virtual machine operating system configuration.
VM customization specifications help avoid conflicts during batch deployment from templates, such as duplicated hostnames or SIDs.
Create a Windows VM Specification
Save specific Windows VM operating system settings in a customization specification, such as how the virtual machine participate in the network and hostname configuration.
Before you begin
- Windows Server 2012
- Windows Server 2016
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
- Windows 10 Pro
Procedure
Create a Linux VM Specification
Save specific Linux VM operating system settings in a customization specification, such as the hostname configuration.
Procedure
Manage VM Specifications
Procedure
Export a VM as an OVA Template
Export a virtual machine in .ova format to a standalone image storage in the same data center. The exported OVA template does not include ISO CD-ROMs or GPU devices.
Before you begin
- The virtual machine is shut down.
- VM encryption and disk encryption are disabled. An encrypted VM cannot be exported as an OVA template.

