5.5

Table Of Contents
Option Description
Stop Action
Determines what happens to virtual machines when you stop the vApp
that contains them. By default, this option is set to Power Off, but you can
also set it to Shutdown.
Stop Delay
How many seconds vCloud Director waits after stopping the virtual
machine before stopping the next virtual machine.
5 Click OK.
Example: Starting and Stopping Virtual Machines
This example shows a the order, boot delay, and stop delay options for the virtual machines in a vApp and
how those options affect when each virtual machine starts and stops.
Table 71. Virtual Machine Start and Stop Options on vApp1
Virtual Machine Order Boot Delay Stop Delay
VM1 1 0 10
VM2 1 10 10
VM3 1 20 30
VM4 2 0 20
VM5 2 30 60
VM6 3 40 10
When vApp1 is started, the virtual machines start as follows.
1 VM1, VM2, and VM3 start at the same time.
2 After 20 seconds (the longest boot delay from the order 1 virtual machines), VM4 and VM5 start.
3 After 30 seconds (the longest boot delay from the order 2 virtual machines) VM6 starts.
When vApp1 is stopped, the virtual machines stop as follows.
1 VM6 stops.
2 After 10 seconds, VM5 and VM4 stop.
3 After 60 seconds, VM3, VM2, and VM1 stop.
Working with Networks in a vApp
The virtual machines in a vApp can connect to vApp networks (isolated or routed) and organization virtual
datacenter networks (direct or fenced). You can add networks of different types to a vApp to address
multiple networking scenarios.
Select the Networking tab in a vApp and select the Show networking details check box to view a list of the
networks that are available to the vApp. Virtual machines in the vApp can connect to these networks. If you
want to connect a virtual machine to a different network, you must first add it to the vApp.
A vApp can include vApp networks and organization virtual datacenter networks. A vApp network can be
isolated by selecting None in the Connection drop-down menu. An isolated vApp network is totally
contained within the vApp. You can also route a vApp network to an organization virtual datacenter
network to provide connectivity to virtual machines outside of the vApp. For routed vApp networks, you
can configure network services, such as a firewall and static routing.
You can connect a vApp directly to an organization virtual datacenter network. If you have multiple vApps
that contain identical virtual machines connected to the same organization virtual datacenter network and
you want to start the vApps at the same time, you can fence the vApp. This allows you to power on the
virtual machines without conflict, by isolating their MAC and IP addresses.
Chapter 7 Working with vApps
VMware, Inc. 71