Making a vCloud multi VM vApp template

As you’ve read by now I’m making my first steps into vCloud Director 5.1 and stumble across some simple things. One of these is the quest on how to create a multi VM vApp template. Had been searching for this and was afraid it wasn’t even possible, but luckily it is possible, you just have to look where you don’t expect it to be :-)

What I wanted is a vApp with a two Ubuntu VMs in a single vApp template. One will function as LDAP Server and one as Zimbra Server. A vCloud user can then select the vApp template from the catalog and instantly deploy a small Mail environment. So I went into the Cloud Catalog and created a vApp template. But when running through the wizard you can only select a single VM to be imported from your non-vCloud vSphere environment. Even after the vApp Template is created, you can’t add another VM to it. (See both Screenshots)

The solution however is very simple, you just have to know it. First import both VMs as single VMs into single vApp Templates into your catalog. Then create a new vApp from the first vApp Template. Next add the second VM to this vApp. Make sure the vApp is shutdown and then right click and choose “Add to catalog”. A small wizard will ask you for a name for this vApp template and you’re done. Thank you Chris Colotti for your tips! Visit his blog ChrisColotti.us for more in-depth vCloud stuff.

  • JL

    Hi

    This only work in the vCloud 5.1 right?? Because in 1.5 I dont see any options to do this.

    Thanks

    JL

  • http://www.GabesVirtualWorld.com Gabrie van Zanten

    Hi,
    I’m not sure if this is NOT possible in 1.5. I tested this in 5.x.

    Gabrie

  • JL

    Hi Thank you for the reply

    I cannot choose more than one VM to import into a vApp. Only one by one.

    If I go to my vCloud, VMs I cannot(no options to do that), in my vCloud vApp I can add to catalog one be one only.

    Or I am doing in the wrong place, or is not possible.

    JL

  • http://www.GabesVirtualWorld.com Gabrie van Zanten

    I will contact you by private email.

  • JL

    in that case, please use this email that is on the reply

    Thank You

  • JL

    Found it finally :(

    I need to choose the option open in the vApp, if not I will never get the option add VMs. I was using only the tab for vApp, not open the vApp itself aff