Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To upload VM templates to the Abiquo Platform, do these steps:

Copy the file(s) to the Abiquo NFS repository

Create a separate directory for each OVF Package on the repository file system under the directory for your enterprise ID.
The folders in the main repository folder match the Enterprise IDs from the Abiquo API. See EnterprisesResource#Listenterpriseidentifiersandnames
We recommend that you use the same base name for the system disk and the OVF file.

Code Block
/opt/vm_repository/{idEnterprise}/{myFolder}/myVMTemplate.vmdk
/opt/vm_repository/{idEnterprise}/{myFolder}/myVMTemplate_HardDisk.vhd
/opt/vm_repository/{idEnterprise}/{myFolder}/myVMTemplate.ovf  


Copy the disk files (e.g. .vmdk.vdi ...) and the OVF descriptor document (.ovf)

Refresh the Catalogue view of the repository

Expand
titleClick here to show/hide the screenshot

In Catalogue view, click the refresh button next to the name of your repository in the repository list.

Image Modified

When you refresh the Catalogue, the platform will detect the vm_repository contents (and match them with the OVF description). The platform will convert valid disks to compatible formats for all the installed hypervisors. If there are no hypervisors installed, they will be converted to all formats. The templates will appear in the Catalogue view and as soon the conversion files are ready, they will be ready to deploy.

Manual upload example

In this example we will upload images to the default enterprise repository. The Abiquo default enterprise ID is 1, so the working directory will be: /opt/vm_repository/1.
Create a separate directory for each template to be uploaded and copy it in (using SCP, for example). Here we copy the system disk file and an extra disk.

...