You can create a VM template by converting a VM to a template or cloning a VM to a template for fast creation and configuration of VMs in bulk. VMs deployed using a VM template have the same OS and applications as the template.
Before deploying VMs by using a VM template, you must create a VM template. For more information, see " Create a VM template."
For ARM hosts restored from an old version through template deployment, upgrade, or backup, they do not support adding hardware devices online.
On the top navigation bar, click Resources.
From the left navigation pane, select VM Templates.
Click Deploy VM in the Actions column for a VM template.
Follow the configuration wizard to deploy VMs.
Configure basic settings:
Quantity: Enter the number of VMs to create.
If you enter 1, you must specify the VM alias.
If you enter a value larger than 1, you must specify the VM alias, prefix, and the start number of the VMs.
Security Level: Select a VM classification level. If you select internal use only, a VM can be deployed only to the non-security zone. If you select other options, a VM can be deployed only to the security zone. Configure this parameter when the secure mode is enabled.
Fast Deployment: Select VM deployment based on the base image file of the VM template as needed. To shorten the VM creation time and save server storage space, select this option.
Start Now: Set whether to start the VMs immediately after they are created.
Configure OS: Set whether to initialize the operating systems of VMs.
Fast—Initializes the OS and user account information about a VM by using CAStools and does not clear the SID of the OS. CAStools is required. This mode is applicable to Windows and Linux OSs that support CAStools.
Full—Initializes the OS and user account information about a VM and clears the SID of the OS. CAStools and Sysprep are required. This mode is applicable to Windows operating systems. ARM hosts do not support this option.
Configure storage settings:
Target Storage File: Enter the name of the storage file.
Target Storage Pool: Select the storage pool for the created VMs.
Disk Format: Specify the disk format for the VMs. This parameter is available only when the Fast Deployment option is not selected.
Same Format—Same disk format as the VM template.
Intelligent—Qcow2 format.
High-Speed—Raw format. This format provides high I/O efficiency.
Network Info
vSwitch: Specify a virtual switch for the VM.
Port Profile/Port Group: Select a port profile/port group. A newly deployed VM uses the most recent port profile, the VLAN and QoS settings in which might be different from those in the VM template.
Network Parameters: Specify IP address assignment parameters for the VMs. If you select the Manual option, configure the following parameters:
IP Address: Enter an IP address for the VM.
Subnet Mask: Enter a subnet mask for the VM.
Default Gateway: Enter a default gateway address for the VM.
Primary DNS: Enter the IP address of the primary DNS server.
Secondary DNS: Enter the IP address of the backup DNS server.
Set IP Binding: Set whether to bind the IP address to the MAC address of the NIC.
Configure system settings-x86 hosts:
Computer Name: Enter the computer name.
Belong To: Select how the VM will participate in the network. Options include Domain and Work Group. This parameter is required only for a Windows VM.
Domain/Work Group: Enter a domain or work group name. This parameter is required only for a Windows VM.
Login Account: Enter the login account of the VM OS.
Login Password: Enter the login password of the VM OS.
Confirm Password: Confirm the password.
Local Group: Select the local group to which the login account belongs. This parameter is required only for a Windows VM.
Time Zone: Select a time zone. This parameter is available only when you use a Windows VM template to deploy VMs.
Default User Password: Set a password for the Administrator account. If you leave this field empty, the system administrator can access the VMs without providing a password. This parameter is available only when you use a Windows VM template to deploy VMs and select full initialization.
Activation Key: Enter the activation key of the VM OS. This parameter is required only when the VM uses a Windows OS and the initialization mode is full initialization. If you do not set this parameter, you must enter the activation key when the VM is booted.
Configure system settings-ARM hosts:
Computer Name: Enter the computer name.
Login Account: Enter the login account of the VM OS.
Login Password: Enter the login password of the VM OS.