A VM template pool is a dedicated directory that stores VM templates. You can perform the following management operations:
Add a template pool—The system supports using a local directory, iSCSI shared directory, FC shared directory, NFS, or shared file system directory as a template pool. As a best practice to save management network bandwidth in a stateful failover system, use a shared directory that both the primary and back management platforms can access as a template pool, an iSCSI shared directory, FC shared directory, or NFS directory for example. If no shared storage is available, create a local synchronization partition as a template pool. The primary management platform will automatically synchronize the data in the partition to the backup management platform.
Enable a template pool—Enable an inactive template pool.
Suspend a template pool—Suspend an active template pool.
Delete template pools—Delete template pools that do not contain VM templates. If a template pool is a local directory and contains VM templates, the template pool cannot be deleted.
Search VM templates—Filter out the VM templates that are in a storage template but are not displayed in CVM. You can import these VM templates to CVM so they can be downloaded, distributed among template pools, or used to deploy VMs.
View template pool information—View details of a template pool.
Manage CVM storage adapters—In a stateful failover network, if the host that runs CVM is not added to the system as a CVK host, you can view information about the storage adapters used by the host, set the IQN, and perform a device scan through this feature. ARM hosts do not support this function.
Manage CVM host networks—In a stateful failover network, if the host that runs CVM is not added to the system as a CVK host, you can manage virtual switches for the VM through this feature. ARM hosts do not support this function.
If a data pool has been configured as an RBD storage pool, storage volumes in the data pool cannot be configured as template pools.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click Add Template Pool.
Configure the parameters as described in "Parameters."
Click OK.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click Start in the Actions column for a template pool.
In the dialog box that opens, click OK.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click Suspend in the Actions column for a template pool.
In the dialog box that opens, click OK.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click Delete in the Actions column for a template pool.
In the dialog box that opens, click OK.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click Search in the Actions column for a template pool.
Select VM templates and then click Import.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click View in the Actions column for a template pool.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click CVM Storage Adapter.
To edit the IQN of an open-iSCSI storage adapter, click Edit in the Actions column for the adapter.
To perform a device scan, click Scan in the Actions column for a storage adapter.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Template Pool.
Click CVM Network.
To add a virtual switch for the host, click Add.
To edit a virtual switch, click Edit in the Actions column for the virtual switch.
To delete a virtual switch, click Delete in the Actions column for the virtual switch.
Add template pool:
Target Path: Enter the local mount point directory. For a local file directory or a local synchronization partition, the directory path must begin with /vms/. For template pools of other types, the directory path cannot begin with /vms/.
Type: Select a storage type. You can select the Local File Directory option only in a non stateful failover system. You can select the Local Synchronization Partition option only when the following requirements are met:
A stateful failover system has been set up.
The CVM hosts are not added to management platforms as CVK hosts.
No local synchronization partition has been created.
Disk Partition: Specify a logical disk or partition. The local synchronization partitions on the primary and backup management platforms must have the same name and capacity. The system formats the selected disk or partition when creating the local synchronization partition. You can create only one local synchronization partition. This parameter is available only when the type of the template pool is Local Synchronization Partition. ARM hosts do not support this parameter.
IP Address: Enter the IP address of the iSCSI shared directory.
LUN: Select the LUN of the iSCSI shared directory. Make sure the selected LUN is not used by any shared file system, iSCSI network storage, template pool, or any other CVM management platform. In a stateful failover system, make sure the LUN is accessible to the primary and backup management platforms. This parameter is available only when the type of the template pool is iSCSI Shared Directory.
NAA: Select the NAA of the FC shared directory. Make sure the selected LUN is not used by any shared file system, FC network storage, template pool, or any other CVM management platform. In a stateful failover system, make sure the LUN is accessible to the primary and backup management platforms. This parameter is available only when the type of the template pool is FC Shared Directory.
Source Host IP: Enter the IP address of the network file system. In a stateful failover system, make sure the primary and backup management platforms can reach the network file system. This parameter is available only for network file systems.
Source Path: Enter the path of the network file system. This parameter is available only for network file systems, which are not supported by ARM hosts.
Shared Storage: Select the target shared storage for the template pool. In a stateful failover system, make sure the primary and backup management hosts are assigned to a cluster and the same shared file system is selected on both the primary and backup management platforms. In a standalone environment, this parameter is available only when shared file systems exist on the platform. Configure this parameter if the template pool is a shared file system directory.