Infrastructure admin users can set up a share that can be used to import a VM. They can import a .VMDK/.VHD/.VHDx/.IMG/.OVA/.QCOW2/.QED/.RAW file via an NFS or CIFS share.
Shares with special characters in the name are not supported.
Complete the following steps to grant access to a share that can be used to import a VM:
- Log in to the ThinkAgile CP Cloud Controller as an infrastructure admin user.
- In the ThinkAgile CP Cloud Controller left-side menu, click Hardware to display the Hardware Stack page.
- Scroll down to the Storage Block and click lick Show Virtual IPs to view all virtual IP addresses for the storage block.
Figure 1. Storage block virtual IP addresses - Click each storage controller to view the details page for that controller. Scroll down to the Networking section and make a note of all IP addresses for the controller.
Figure 2. Storage controller IP addresses - Make sure that the storage nodes have read/write access to the share. Make sure that the regular IP addresses for each storage controller and the virtual IP addresses for the storage block have access. The IP addresses for the storage node and the virtual IP addresses for the storage block are assigned via DHCP. Therefore, the addresses are subject to change. Because of this, you should grant the access by the entire subnet to the share.
- On the Hardware Stack page, scroll to the interconnect switches section and click Show Network Settings. The IP address range under Hypervisor Network is the range of IPs that can be assigned to the storage nodes and the virtual IP.
Figure 3. Interconnect switch IP addresses - Grant access to the share from this range to allow consistent access to the share from the ThinkAgile CP Cloud Controller.
- In the ThinkAgile CP Cloud Controller left-side menu, complete one of the following steps:
- From the templates page, click Import VM.
Figure 4. Import VM option on Organization Templates Fill in the details on the Import VM dialog:
- Specify the location (Organization Templates or VDC Templates) where the VM will be stored.
- Fill in the template name and, optionally, a description.
- Specify the operating system type and version.
- Click Select Virtual Disk Files.
- In the Select Virtual Disk Files dialog, specify the share to be used.
Figure 5. Select Virtual Disk Files dialog - Specify the VM settings (Virtio drivers and Sysprep). Then, click Save as Application Template.
The new template is added to the template store.