You can configure virtual machines' start and stop orders within your vApp. Configure the start and stop order if you have applications installed in the virtual machines that must start and stop in a particular order.
These settings are helpful if you need to start and stop your virtual machines in a particular order.
Attention: Verify that the vApp is powered off.
Step 1: On the Virtual Data Cnter dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select vApps.
Step 2: In the vApps page, select card view.
Step 3: On the vApp card, click Details.
Step 4: Click the Start and Stop Order tab and click Edit.
Step 5: Edit each virtual machine's start and stop order properties and click OK.
Start Order: Enter the order (0, 1, 2, 3 ...) where you want the virtual machine to start.
Start Action: Select
vApp consists of one or more virtual machines communicating over a network and using resources and services in a deployed environment. vApp can contain multiple virtual machines.
Instead of creating a vApp based on a vApp template, you can make a vApp using virtual machines from catalogs, new virtual machines, or a combination of both.
Building a vApp requires you to provide a name and, optionally, a description of the vApp. You can go back and add the virtual machines to the vApp later.
Start Wait: The start wait time is the time (in seconds) you want to wait before VMware Cloud Director starts the next machine in the sequence.
Stop Action: Select Power Off; the VM powers off without performing shutdown. Otherwise, select Shut Down (required VMware tool installed), which ensures stability upon shutting down.
Stop Wait: The stop wait time is the time (in seconds) you want to wait before VMware Cloud Director shuts down the next virtual machine in the sequence.
So we can power off the vApp. It will automatically start the VMs based on the startup order (The reverse order is used to power them off).



Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select vApps.
Step 2: In the vApps page, click New, then select New vApp.
Step 3: Enter a Name and a Description (optionally) for the vApp.
Step 4:
#Optional: If you want the vApp to power on upon deployment, select the Power on the check box.
Attention: The vApp can power on only if virtual machines exist.
Step 5: Click Add Virtual Machine.
Step 6: In the New VM dialog box, select:
New to create a VM from scratch Create a New Standalone Virtual Machine
From Template to create a VM from an existing template Create a Virtual Machine from a Template
Step 7:
#Optional: Repeat for each additional virtual machine you want to create within the vApp.
Step 8: To complete the creation of the vApp, click Create.
You can add a network to a vApp to make the network available to the virtual machines in the vApp. You can add a virtual data center network to a vApp.
Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select vApps.
Step 2: On vApps page, select Card View to view vApp in card view.
Step 3: Click Actions menu of the vApp to which you want to add a network, select Add > Add Network.
Step 4: On the Add Network page:
Check type: Direct and select the network that you want to add.
Step 5: Click ADD
Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.
Step 2: Select Card View to view Virtual Machine in Card View on Virtual Machines Windows.
Step 3: Click Actions menu of the Virtual Machine which you want to Move, select Move
Step 4: Select Destination vApp, then click Next
Step 5: On Configure Resource:
Enter & validate the information: Name, Computer Name, Target VM storage Policy, Network, IP Mode for Virtual Machine, then click Next
Step 6: Validate and click Done
Attention: vApp can contain multiple VMs, so Shut down\Stop vApp, it will affect all VMs inside vApp.

Attention: You can click Create at this point to create an empty vApp and add VMs to it later.










