Skip to main content

Working with virtual machines using VMware OVF Tool

Last update:

VMware Cloud Director® supports importing virtual machines only in .ovf /.ova formats. The VMware OVF Tool utility allows you to convert virtual machines to .ovf (Open Virtualization Format) templates and vice versa. For more information on working with the utility, see the OVF Tool User's Guide in the VMware documentation.

You can download the utility from the Broadcom website.

Import a virtual machine into Cloud Director

  1. Open the directory containing OVF Tool.

  2. Import the virtual machine into Cloud Director:

    ovftool.exe "<path_ovf>"
    "vcloud://<login>:<password>@<vcd>?org=<organization>&vdc=<s-xxxx>&catalog=<datastore>&vapp=<my_vapp>"

    Specify:

    • <path_ovf> — path to the .ovf template;

    • <login> — login for Cloud Director access;

    • <password> — password for Cloud Director access;

    • <vcd> — virtual data center address:

      • Saint Petersburg — vcd.selectel.ru
      • Moscow — vcd-msk.selectel.ru
    • <organization> — organization name, can be viewed in Cloud Director in the AdministrationGeneral tab;

    • <s-xxxx> — organization name, which can be viewed in the Cloud Director address bar or in the control panel under Cloud powered by VMware in the list of organizations; ;

    • <datastore> — virtual catalog; ;

    • <my_vapp> — name for the imported vApp.

Convert a virtual machine to an OVF template

  1. Open the directory containing OVF Tool.

    d <path_catalog>

    Specify <path_catalog> — path to the catalog.

  2. Convert the virtual machine to an OVF template:

    ovftool.exe "<path_vm>" "<path_ovf>"

    Specify:

    • <path_vm> — path to the virtual machine configuration file;
    • <path_ovf> — path to the directory for the .ovf template.

Convert an OVF template to a virtual machine

  1. Open the directory containing OVF Tool.

  2. Convert the virtual machine to an OVF template:

    ovftool.exe "<path_ovf>" "<path_vm>"

    Specify:

    • <path_ovf> — path to the .ovf template;
    • <path_vm> — path to the directory for the virtual machine.