How to Upload a OVA or XVA Template into CloudCentral

Note: This is a fairly complex process, requiring:
  • Good knowledge of XenServer, including command line interface and NFS server
  • Local installation (by local we mean on your PC or local server/VM ) of XenServer and XenConverter
CloudCentral supports only VHD templates. If the template is in OVA or XVA format, it must be converted to VHD format. To convert, create a NFS SR, import the OVA or XVA template from the XenServer command line, then obtain the resulting VHD file from the NFS server.

To upload the template in VHD file format:

  • Setup a XenServer on your local machine/server and create a NFS SR using XenCenter.
  • Copy the OVA or XVA file to the XenServer.
  • Highlight the Storage Repository and click General tab to identify the UUID of the NFS Storage.

  • Right click on the XenServer and click Import… to Import the OVA or XVA file.

  • In the Locate the file you want to import window, click Browse… to select the OVA or XVA file and click Next > to continue.

  • In the Select the location where the imported VM will be placed window, click Next >.

  • In the Select target storage window, click Next >.

  • In the Select network to connect VM window, click Next >.

  • In the Use Operating System Fixup to ensure hypervisor interoperability window, click Next >.

  • In the Configure networking options for the Transfer VM window, ensure that the Network, Network Settings are selected and configured. Click Next >.

  • In the Review the import settings window, click Finish.

  • Highlight the VM, and click the General tab to view the UUID.

  • Determine the UUID of the VDI using the following command:
xe vbd-list vm-uuid=<VM_UUID>

Note: Do not start the VM. If you want to start and customize the VM, stop the VM before copying the VHD file.

  • Run the following command to identify where the NFS server is mounted:
mount | grep nfs

  • In the NFS repository, a VHD file will be available with the filename of the VDI UUID from step 12.
    Run the following commands:
cd /path/to/your/nfs/sr

ls -l uuid_of_vdi.vhd

  • Use the WinSCP or similar tool and copy the file to a location which can be downloaded by CloudCentral.
  • Add the VHD file as a template from the CloudStack UI and create a VM from the template.

Note: If CloudCentral fails to create a VM, ensure that you have selected the correct OS type.

VHD files can be imported through CloudPlatform, OVA files can also be converted to VHD and then imported through the CloudPlatform web interface.

Add Feedback