You can configure the start and stop order of virtual machines within your vApp. You may want to do this if you have functions on different virtual machines that need to start and stop in a particular order.

About this task

These settings are useful if you need to start and stop your virtual machines in a particular order. For example, one virtual machine houses a database server, another houses an application server, and the last houses a web server. In order for the related functions to work properly, the database server must start first, the application server must start second, and the web server must start last.

Prerequisites

Verify that the vApp is powered off.

Procedure

  1. From the Navigator, select Compute > vApps.
  2. Select the vApp you want to edit, and click Details and navigate to the vApp advanced properties.
  3. Set the following values for each virtual machine, and click Save.

    Option

    Description

    Start order

    Enter the order in which you want the virtual machine to start. Enter a value for each machine in the sequence.

    Start action

    Enter the start action you want to use when starting the machine. The default action is Power on.

    Start wait

    Enter the start wait time. This is the amount of time you want to wait before you start the next machine in the sequence.

    Stop action

    Enter the stop action. This is action the machine should take upon stopping. If you choose Power off, the machine powers off without performing shutdown actions that ensure stability (this is the equivalent of pulling a plug out of a socket). Select this action if you have not installed VMware tools. Otherwise, choose shut down, which ensures stability upon shutting down.

    Stop wait

    Enter the stop wait time. This is the amount of time to wait before you shut down the next virtual machine in the sequence.

  4. Click Save.