> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/compute/2.-working-with-vapp/start-and-stop-order-of-virtual-machines-in-a-vapp.md).

# Start and Stop Order of Virtual Machines in a vApp

## <mark style="color:green;">**Overview**</mark>

* 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.

{% hint style="warning" %}
**Attention:** Verify that the vApp is powered off.
{% endhint %}

## <mark style="color:green;">**Procedure**</mark>

{% stepper %}
{% step %}
**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**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FPynUM1hLHXA4Nx5tG5Yi%2Fimage.png?alt=media&amp;token=c0aaa15d-7b4f-48bf-98de-da83ed7de235" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** In the vApps page, select **card view.**

{% endstep %}

{% step %}
**Step 3: On** the vApp card, click **Details.**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F1SrA3lFQK5Xn4C1Rrtiv%2Fimage.png?alt=media&amp;token=a6b5997a-2cf9-4f9a-9ecd-1d8dad5be50d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** Click the **Start and Stop Order** tab and click **Edit**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FrKbiPVJQNCwTLI3jNhrY%2Fimage.png?alt=media&amp;token=90a1f16f-c6a0-4e6c-8164-d7ee95e0b4f0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**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 **Power On (default)** or **None.**
* ***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 shutdow&#x6E;**.** Otherwise, select **Shut Down (**&#x72;equired **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.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FouRqpdvVYDj6PsSKLmm4%2Fimage.png?alt=media&amp;token=ac273a72-9ecf-4dff-bb4c-e41fe92db897" alt=""><figcaption></figcaption></figure>

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).
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.higiocloud.vn/compute/2.-working-with-vapp/start-and-stop-order-of-virtual-machines-in-a-vapp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
