You can specify certain options that affect what happens to the virtual machines when a vApp is started and stopped.
You are at least a vApp user.
- Click My Cloud.
- In the left pane, click vApps.
- Select a vApp, right-click, and select Properties.
- On the Starting and Stopping VMs tab, specify the options.
Option Description Order For vApps with multiple virtual machines, you can specify the order in which the machines start and stop by typing numbers in the text box. Virtual machines with lower numbers start first and stop last. You cannot enter negative numbers. Virtual machines with the same order are started and stopped at the same time. Start Action Determines what happens to virtual machines when you start the vApp that contains them. By default, this option is set to Power On. Boot Delay How many seconds vCloud Director waits after starting the virtual machine before starting the next virtual machine. 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.
- 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.
|Virtual Machine||Order||Boot Delay||Stop Delay|
- VM1, VM2, and VM3 start at the same time.
- After 20 seconds (the longest boot delay from the order 1 virtual machines), VM4 and VM5 start.
- After 30 seconds (the longest boot delay from the order 2 virtual machines) VM6 starts.
- VM6 stops.
- After 10 seconds, VM5 and VM4 stop.
- After 60 seconds, VM3, VM2, and VM1 stop.