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.

Storage Center 5.6 Released

There is a release of the storage center 5.6 and it comes with some features and platform support currently built into storage center 6.x as well as a large number

A Look at vCenter 5.5 SSO RC Installation

vCenter single sign on (SSO)  vsphere 5.5  release has several improvements, like the following: Completely re-written from the ground Multi-master architecture Native replication mechanism SSO now has site awareness (think