UPLOADING vmS TO VcLOUD WITH OVFtool

June 11, 2013

Table of Contents

VMware’s OVFtool is a command line tool that allows you to convert VMware Virtual machines to Open virtualization Format (OVF). There have been some update in the latest version that enables the to upload VMs to vCloud Director.it is actually a simple procedure, OVFtool requires a source (VMF or OVF) and a destination (vCloud locator ). The vCloud locator appears like this:

vcloud://username:password@host:port?

org=name_of_org&vapp=name_of_deployed_vapp&catalog=name_of_catalog&vappTemplate=name_of_vapp_template_in_catalog&vdc=name_of_vdc

the vCloud locator resembles a URL with all of the information required to upload your OVF. Many people who use windows tend to use the command prompt, though this will result in an error. There are a few reasons that can be the cause of this error like the special characters OVFtool uses in the URL  but to save time just use the poweshell.

$vCloudLocator” = vcloud://tom:[email protected]:443?

org=tom&vappTemplate=MyTemplate&catalog=private”

$sourceFile = “C:tomMyVM.vmx”

$ovftool = “C:Program FilesVMwareVMware OVF Toolovftool.exe”

& $ovftool $sourceFile $vCloudLocator

This is because powershell handles the characters as part of the string, so the string is passed like a parameter to OVFtool.

Home

Share on
Facebook
Twitter
LinkedIn
Pinterest
More posts

Dedicated Servers Quick Guide

What is a Dedicated Servers? Why bother using a dedicated server over a VPS or Shared Hosting?A dedicated server is a server 100% dedicated to your website/project or business needs.

Easy Website Creation Software

At 247Rack, we want to help you understand how easy it can be to create online shops, media streaming websites, education. Any kinds of websites you would like to setup

Get 90% Discount

First 3 People gets the Bonus!
Don't Miss Out Our Big Sale

Get 0-90% On All
247Rack Services

247Rack

The Sale Is Until The End Of March