Working with virtual machines using VMware OVF Tool
VMware Cloud Director® supports importing virtual machines only in .ovf / .ova formats. The VMware OVF Tool 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 section of VMware documentation.
You can download the utility from the Broadcom website.
Import a virtual machine into Cloud Director
-
Open the directory containing OVF Tool.
-
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.ovftemplate; -
<login>— username for accessing Cloud Director; -
<password>— password for accessing Cloud Director; -
<vcd>— virtual data center address:- Saint Petersburg —
vcd.selectel.ru - Moscow —
vcd-msk.selectel.ru
- Saint Petersburg —
-
<organization>— organization name, can be viewed in Cloud Director under Administration → General tab; -
<s-xxxx>— organization name, 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
-
Open the directory containing OVF Tool.
d <path_catalog>Specify
<path_catalog>— path to the catalog. -
Convert the virtual machine to an OVF template:
Windows
Linux
ovftool.exe "<path_vm>" "<path_ovf>"Specify:
<path_vm>— path to the virtual machine configuration file;<path_ovf>— path to the directory for the.ovftemplate.
Convert an OVF template to a virtual machine
-
Open the directory containing OVF Tool.
-
Convert the virtual machine to an OVF template:
Windows
Linux
ovftool.exe "<path_ovf>" "<path_vm>"Specify:
<path_ovf>— path to the.ovftemplate;<path_vm>— path to the directory for the virtual machine.