> 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/hi-gio-user-guide-vn/compute/2.-thao-tac-voi-vapp/cau-hinh-thu-tu-khoi-dong-va-tat-may-cua-vm-trong-vapp.md).

# Cấu hình thứ tự khởi động và tắt máy của VM trong vApp

## <mark style="color:green;">**Tổng quan**</mark>

* Bạn có thể cấu hình thứ tự khởi động và tắt máy của các máy ảo (VM) trong vApp. Cấu hình thứ tự khởi động và tắt máy này rất hữu ích nếu bạn có các ứng dụng được cài đặt trong các máy ảo cần phải khởi động và tắt theo thứ tự cụ thể.
* Những cài đặt này hỗ trợ khi bạn cần khởi động và tắt các máy ảo theo một trình tự nhất định.

{% hint style="warning" %}
**Chú ý:** Đảm bảo rằng vApp đang tắt
{% endhint %}

## <mark style="color:green;">Quy trình</mark>

{% stepper %}
{% step %}
**Bước 1:** Trên màn hình **Virtual Data Center dashboard**, nhấn vào thẻ của **virtual data center** mà bạn muốn khám phá, và từ bảng bên trái, chọn **vApps**.

<figure><img src="/files/I9Vil2t3fl4UZ0t3CSMm" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 2:** Trong trang **vApps**, chọn **card view**.

{% endstep %}

{% step %}
**Bước 3:** Trên thẻ của **vApp**, nhấn **Details**.

<figure><img src="/files/ShRyaDYrQgvrKC0ruobP" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4:** Nhấn vào tab **Start and Stop Order** và chọn **Edit**.

<figure><img src="/files/6LYwp1nwTmRdvFeBFqNA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 5:** Chỉnh sửa thuộc tính thứ tự khởi động và tắt máy của từng máy ảo và nhấn **OK**.

* ***Start Order**:* Nhập thứ tự khởi động (0, 1, 2, 3 ...) cho từng máy ảo.
* ***Start Action**:* Chọn **Power On** (mặc định) hoặc **None**.
* ***Start Wait**:* Thời gian chờ (tính bằng giây) trước khi VMware Cloud Director khởi động máy tiếp theo trong trình tự.
* ***Stop Action**:* Chọn **Power Off** để tắt nguồn mà không thực hiện shutdown. Hoặc chọn **Shut Down** (yêu cầu đã cài đặt VMware Tools) để đảm bảo hệ thống ổn định khi tắt.
* ***Stop Wait**:* Thời gian chờ (tính bằng giây) trước khi VMware Cloud Director tắt máy tiếp theo trong trình tự.

<figure><img src="/files/oqVN2Be8IXXxziUs9AuL" alt=""><figcaption></figcaption></figure>

Khi tắt vApp, hệ thống sẽ tự động khởi động các máy ảo theo thứ tự khởi động đã thiết lập. (Thứ tự ngược lại sẽ được sử dụng để tắt chúng).
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.higiocloud.vn/hi-gio-user-guide-vn/compute/2.-thao-tac-voi-vapp/cau-hinh-thu-tu-khoi-dong-va-tat-may-cua-vm-trong-vapp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
