> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/zh/system-administration/proper-power-sequence-for-vergeos.md).

# 正确的上电顺序

### VergeOS 环境的正确关机顺序

要关闭一个集群（两个或更多节点组成的集合），请按照以下步骤操作：

1. 检查集群中每个节点上正在运行的工作负载。导航到每个节点的节点仪表板并查看 **运行中的机器** 部分。
2. 如果任何节点上有租户在运行，请登录这些租户环境，并平稳地关闭所有正在运行的工作负载。
3. 关闭每个节点上所有正在运行的工作负载，包括 VM、租户节点、VMware 备份服务以及 NAS 服务（如适用）。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>vNet 容器</strong></p><p>无需手动停止任何正在运行的 vNet 容器；它们将在后续步骤中自动平稳停止。</p></div>
4. 在停止所有正在运行的工作负载后，前往 **集群仪表板** ，对应你希望关闭电源的集群。
5. 选择 **关闭电源** 从左侧菜单开始关闭集群中的每个节点。
6. 最后，前往 **系统 → 集群** 并在 **关闭电源** 左侧菜单中选择，以关闭整个集群的电源。

{% hint style="warning" %}
**重要**

如果一个环境包含多个集群， ***始终*** 最后关闭包含控制器节点（Node1 和 Node2）的集群 **最后**.
{% endhint %}

***

### VergeOS 环境的正确开机顺序

要正确启动 VergeOS 环境，请执行以下步骤：

1. 开启 **Node1**.
2. **等待 30 秒到 1 分钟。**
   * 这段短暂的暂停可让 Node1 在其余集群节点加入之前开始初始化。
3. **开启集群中的所有其他节点。** 所有其他集群节点都可以立即开启——节点之间无需等待。
4. **多集群环境：** 在开启其他集群之前，先让控制器集群完全上线。
5. 系统将自动执行每个存储层的完整性检查。

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p><strong>存储层完整性检查</strong></p><p>参见 <a href="/pages/f4ae733307cec577241594dd15ea597d4803b35d">vSAN 层状态（日志遍历）</a> 了解与这些自动完整性检查（日志遍历）相关的信息。</p></div>
6. **验证系统健康状态。**
   * 在主仪表板上，确认所有节点和 vSAN 层都显示绿色状态。
   * 检查是否有任何新告警。

{% hint style="warning" %}
**非受控关机后的开机**

在非受控关机后（例如突然断电、UPS 电量耗尽或机房故障）启动集群时，应格外谨慎。请参阅 [完全断电后的集群恢复](/knowledge-base/zh/system-administration/cluster-recovery-after-power-outage.md) 以获取完整的恢复流程，包括开机前检查、vSAN 完整性验证以及预防指导。
{% endhint %}

***

{% hint style="info" %}
**文档信息**

* 最后更新：2024-08-29
* vergeOS 版本：4.12.6
  {% endhint %}


---

# 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.verge.io/knowledge-base/zh/system-administration/proper-power-sequence-for-vergeos.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.
