Deploy a ESXi Appliance to vCloud Air

So, I finally decided to take advantage of my VMUG advantage subscription and create a vCloud Air account. When you sign up for VMUG Advantage, there are a lot of perks that come with it. One of the many benefits is the EVALExperience, which gives you a 1 year evaluation license to quite a few VMware products.

12-17-2015 2-51-49 PM

One of those products is vCloud Air. They give you a $600 credit ($300 every 6 months) towards vCloud Air.12-17-2015 2-54-09 PM

I wanted to try out William Lam’s ESXi appliance and see if I could deploy it there. Here’s a run down of what it takes to do it:

After logging into vCloud Air, I thought it was going to be a simple upload of the OVA file and deploy….wrong!

12-17-2015 1-21-35 PM

Enter a caption

I got smacked in the face with this!!

12-17-2015 1-21-03 PM

So off to download OVF Tools. Once you run through the quick install, you’ll ready for the next step

12-17-2015 3-08-20 PM

 

We have to upload our OVA file into vCA using ovftools and the correct command and parameters. The command we will use is as followed:

ovftool –sourceType=[SourceType][SourceUrl]” “[DestinationUrl]

[SourceType] can have any of the following values: OVF, OVA, VMX, VI, vCloud, ISO, FLP, vApprun

[SourceURL] will be the location of the file you wish to upload. Ex: “C:\Users\adminch\Downloads\Nested_ESXi_Appliance.ova”

[DestinationUrl] will be the destination on vCloud Air. Ex: “vcloud://[Account username]:[Password]@[vCALocation]?org=[OrgGuid]&vdc=[Virtual Data Center Name]&catalog=[CatalogName]&[MediaType=NameofMedia]

Our complete command should look something like this:12-17-2015 1-23-32 PM

ovftool –sourceType=OVA –acceptAllEulas –skipManifestCheck –allowAllExtraConfig “C:\Users\adminch\Downloads\Nested_ESXi_Appliance.ova” “vcloud://johndoe@yahoo.com:$3cret123@us-texas-1-12.vchs.vmware.com?org=e6e037d0-6bd4-4925-a8ef-bdc8b418c7d8&vdc=VDC1&catalog=default-catalog&vappTemplate=NestedESXiAppliance.ova”

Of course, johndoe@yahoo.com:$3cret123 would be replaced with your vCloud Air username and password. The parameter –allowAllExtraConfig is going to allow the config of the appliance to pass through, otherwise vCloud Air will skip those settings when importing. Since we are importing a OVA, our MediaType needs to be vappTemplate. If we were uploading a ISO you would use the parameter, media=filename.iso.

While the upload progresses, you can look over in vCA and see that the import has begun for the OVA12-17-2015 1-22-00 PM

Now the upload completed successfully

12-17-2015 2-25-59 PM

We can check this in vCA

12-17-2015 2-26-18 PM

Now we can begin deployment. Add a vApp from Catalog

12-17-2015 2-27-11 PM

Accept the Licenses

license

Select Name and Location

name

Configure Resources

resources

Select your Network Mappings

network

Now we will set our Custom Properties, like IP Address, DNS, Hostname, etc.

custom

Set CPU, Memory, and Disks properties

CPU

Verify the your settings are correct and click Finish

verify

Notice the VM in your Quick Access catalog

catalog

Power on the VM and check the settings

VM

Now you have a fully functioning ESXi host running in vCloud Air!

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s