> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/cn/ip-transit/high-availability/manage-high-availability/change-ha-mode.md).

# 变更容灾模式

您可以随时在\*\*主备容灾（Active-Standby）**与**负载均衡（Active-Active）\*\*之间切换，变更即时下发，不影响业务连通性。

## 操作步骤

通过以下任一入口发起变更：

* **入口一**：列表页鼠标悬停实例行 → **⋯** 菜单 → **变更容灾模式**
* **入口二**：实例详情页 → **模式配置** → **变更**

<figure><img src="/files/EOyMsQfG0p1P1PIyUrGi" alt=""><figcaption><p>变更容灾模式入口</p></figcaption></figure>

在弹窗中选择目标模式：

| 模式                       | 说明                                   |
| ------------------------ | ------------------------------------ |
| **主备容灾（Active-Standby）** | 主端口承担全部业务，故障时秒级切换至备端口；适合需要确定路径的业务。   |
| **负载均衡（Active-Active）**  | 两条二层链路同时转发，按 ECMP 策略分担流量；获得更高可用性与吞吐。 |

<figure><img src="/files/92Evl4ZKO0Chdxp7zBTG" alt=""><figcaption><p>选择目标容灾模式</p></figcaption></figure>

点击**确认**，变更即时生效。

{% hint style="info" %} <mark style="color:blue;">**提示**</mark>

<mark style="color:blue;">切换容灾模式不会影响业务连通性，变更期间服务不中断。</mark>
{% endhint %}
