VMware Cloud Community
NikunjB
Contributor
Contributor

Creating MyvApp.ova from VM1.ova and VM2.ova

Hi All,

I have two .ova's with me. Both are SLES based and are highly customised. Designed to work togethar.

1) Is it possible using ovftool to create a vApp containing these two vms.? 

2) And also adding custom vApp properties to it.?

I can do this manually using vsphere client. And also using powercli scripts.

But I wanted to do it in an offline manner i.e. not involving any running esx host.

Please share your thoughts.

Thanks

Nikunj

0 Kudos
2 Replies
NikunjB
Contributor
Contributor

Anybody with ideas?

0 Kudos
NikunjB
Contributor
Contributor

For so long I have not seen any useful reply to this post.!

The method which I am using is a script to edit ovf files. Here is how it goes.

Once the vm1.ova and vm2.ova files are present, convert them into .ovf format using ovftool. The script will start writing a new ovf(xml only) file. This file will have contents dumped from vm1.ovf and vm2.ovf xml files. Disk sections inside the xml file will point to same vmdk files. This new ovx xml file can again be converted into ova file using ovftool.

This method is tried manually once and it worked fine. The vApp was successfully deployed on the esx server.

The main advantage of using this method is that it doesnt require a running ESX host to generate the vApp.

Thoughts on this method anyone ?

Thanks,

Nikunj

0 Kudos