vCloud Director: How to Preserve Network settings when deploying from a template

I got an inquiry a few weeks ago on how to deploy a vAPP from a vAPP template that will preserve the preconfigured network settings. I knew this can be done so I fired up my lab and did a quick test.

As I found out, this can be easily achieved when adding a vAPP template into the catalog. When adding a vAPP to a catalog, ensure you select “Make Identical Copy” . This will preserve all the settings

vcd1

In this example, below is my preconfigured vAPP template. Take note of the network settings from vAPP diagram.

test

Then I deployed  a vAPP from this template:

vcd3

This is what it looks like after deployment. The network settings are preserved.

vcd6

A few things to consider when using “Make Identical Copy“. From vCloud Director documentation, If you select Make Identical Copy on the vApp template Properties page, and select Add to My Cloud, the settings in the vApp Template are applied to the new vApp, regardless of whether customization is enabled.

These are the default values of guest customization settings.

The Enable guest customization check box is deselected.

In Windows guest virtual machines, the Change SID check box is deselected.

The password reset setting is deselected.

This means the vAPP will be exactly the same after deployment. You may encounter conflict in MAC Address/IP address when multiple vAPPs from this template is powered on since the vAPPs are exact clones of the template. You may choose to customize the vAPP after deployment or you can “FENCE” the vAPP. Fencing basically adds an edge device which will do Proxy-ARP and NAT.

I’ve found good blog on vAPP fencing as follows: http://www.vfrank.org/2012/03/01/vcloud-fencing/

Advertisements

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