Identify vApp settings
- Options Tab
- Resources – A vAPP works much like a resource pool in the fact that you can assign it cpu and memory shares.
- Properties – you can globally set the time zone for a vAPP
- IP Allocation Policy – defines how IPs are assigned to the VM. There are three further options
- Fixed – simple right, hard coded address
- Transient – IPs will be automatically allocated from the managed IP network range in vCenter. Assigned upon power on, and released on power off.
- DHCP – DHCP Server is used.
- Advanced – can assign product name, version, url, vendor, application URL, and properties of the ovf.
- Start Order
- Controls the startup and shutdown options of VMs in the vApp.
- VMs in the same group will start concurently with each other. However, each group subsequently waits for the group above it to be started before proceding with its own startup.
- Can set the startup option (power on, none) and shutdown action (None, power off, guest shutdown, suspend)
- Can set an interval to wait before moving between groups (in seconds).
- Can also specify if the interval should wait till VMware tools are ready.
- Essentially allows you to set a certain service within a VM as a dependency for another VM.
Create/Clone/Export a vApp
- vApps can be created on a standalone host selected in the inventory running ESX 3.0 or greater
- A cluster enabled with DRS is selected in the inventory.
Cloning a vApp
Cloning a vApp is similar to that of cloning a VM. To do so, select the vApp and go to Inventory->vApp->Clone. Follow the wizard providing the following information.
- Destination – Host or cluster
- Name and location
- Disk format
Exporting a vApp
Exporting a vApp to an ovf Template allows you to capture the state of the VMs into a self contained package.
In order to export the vApp do the following
- Select vApp then select File->Export->OVF Template
- The template should read the name from your vApp
- Select a format
- OVA – Single File – great for transporting. All disks are compressed into one file
- OVF – Folder of Files – contains .ovf, .vmdk, and .mf files. Great if you plan to publish on a web server or image library.
Add objects to an existing vApp