UPLOADING vmS TO VcLOUD WITH OVFtool

Table of Contents

Facebook
Twitter
LinkedIn
Pinterest

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:[email protected]: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

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.

vCloud VM and VApp Backups with PowerCLI

It appears that at times snapshots solve it and asking the vCloud VM provider to set up backups is unrealistic, these examples will explain it: • Upgrades with testing could

SolusVM Easy Quick Install

Quick Easy Install Debian/Ubuntu apt update reboot wget https://files.soluslabs.com/install.shsh install.sh Centos yum update reboot wget https://files.soluslabs.com/install.shsh install.sh If you get an error it is because you need to install: wget Try a