> 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/learn-the-platform/zh/mo-kuai-3-an-zhuang/lab.md).

# 实验：2 节点 VergeOS 安装

## 目标

在一个 2 节点集群上执行完整的 VergeOS 安装，包括硬件准备、节点 1 引导、节点 2 加入以及安装后验证。

## 前置条件

* 已完成模块 1：架构基础
* 已完成模块 2：容量规划与设计
* 已完成模块 3 阅读（安装前检查清单、安装演示、安装后验证）
* 可使用物理硬件或 VergeOS Terraform playground 进行虚拟部署

## 难度

**初级** -- 提供逐步指导

## 预计时间

**1.5 小时**

## 步骤

### 第 1 部分：安装前硬件准备

为安装准备目标硬件（或虚拟环境）。

1. 检查 BIOS 设置：
   * 已启用虚拟化扩展（VT-x / AMD-V）
   * 启动模式设置为 UEFI
   * 磁盘控制器处于 HBA/直通模式（非 RAID）
2. 识别网络接口及其 MAC 地址
3. 准备 VergeOS USB 启动介质
4. 记录核心 Fabric 和外部网络的计划 IP 地址分配

### 第 2 部分：节点 1 安装

安装第一个控制器节点，它将引导集群。

1. 使用 USB 启动介质启动节点 1
2. 按照安装提示操作：
   * 选择启动驱动器
   * 配置核心 Fabric 网络接口（名称、MTU、core=Yes、如适用则设置 VLAN —— 核心 Fabric 接口不分配 IP 地址）
   * 配置外部网络接口和 IP
   * 设置管理员凭据
3. 等待安装完成并让节点重启
4. 验证可通过 Web UI 访问节点 1

### 第 3 部分：节点 2 安装

安装第二个控制器节点，它将加入现有集群。

1. 使用 USB 启动介质启动节点 2
2. 按照安装提示操作：
   * 选择 **标准安装**，然后选择 **控制器** 作为节点角色
   * 当被问到“这是一个新系统吗？”时，回答 **否**。（回答 **是** 会创建一个单独的集群，而不是加入现有集群——这是最常见的安装错误。）
   * 输入节点 1 上的管理员/root 密码进行加入认证
   * 确认自动检测到的核心 Fabric 网络（无需手动输入核心 Fabric IP——安装程序通过监听核心 Fabric 来发现现有系统）
   * 匹配 **加密** 节点 1 上的设置
   * 选择启动/数据驱动器，并确认 Drive Tier 分配与节点 1 一致
3. 等待节点 2 加入集群并完成同步
4. 验证节点 2 是否出现在集群仪表板中

### 第 4 部分：安装后验证

确认集群健康且已准备好承载工作负载。

1. 登录 VergeOS Web UI
2. 检查仪表板，查看整体系统健康状况
3. 验证两个节点都显示为在线且角色正确
4. 确认 vSAN 存储层已初始化且运行正常
5. 测试节点之间的网络连通性（核心 Fabric）
6. 验证外部网络访问

## 验证

当你可以回答以下内容时，安装就完成了 **是** 时，你的 VMware 迁移实验就完成了：

* [ ] 两个节点都在线并在集群仪表板中可见
* [ ] vSAN 存储层显示为健康状态，并具备预期容量
* [ ] 节点之间已建立核心 Fabric 网络连通性
* [ ] 外部网络访问正常
* [ ] Web UI 可访问且响应正常
* [ ] 系统日志中未出现严重警报或错误


---

# 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/learn-the-platform/zh/mo-kuai-3-an-zhuang/lab.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.
