跳转到主内容

如何执行接管/回馈

Views:
331
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • ONTAP 9
  • 存储接管/交还

说明

操作步骤

System Manager
  • 使用 System Manager 对节点执行重新启动
  • 当节点重新启动时,HA 伙伴自动执行接管
  • 重新启动完成后,可以通过 System Manager 执行回馈选项
ONTAP 命令行界面
  1. 使用 storage failover show 命令检查两个节点是否均已连接

cluster1::>storage failover show
 Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01 cluster1-02 true Connected to cluster1-02
cluster1-02 cluster1-01 true Connected to cluster1-01
2 entries were displayed.

  1. 如果该Possible字段为 false,请在继续之前 启用存储故障转移 。
  2. 开始接管要接管的节点:

cluster1::>storage failover takeover -ofnode <nodename>

以下示例导致名为 cluster1-02 的节点被接管

cluster1::>storage failover takeover -ofnode cluster1-02
Warning: A takeover will be initiated. Once the partner node reboots, a giveback will be automatically initiated. Do you want to continue? {y|n}: y

  1. 检查接管进度:

cluster1::>storage failover show
 Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01    cluster1-02   true     Takeover scheduled. cluster1-02
                    has relocated its SFO aggregates in
                    preparation of takeover.
cluster1-02   cluster1-01   false   Pending shutdown
2 entries were displayed.

  1. 检查接管是否已完成,然后回馈将自动执行,或者您可以手动回馈:

cluster1::>storage failover show
Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01   cluster1-02   false   In takeover, Auto giveback will be
                    initiated in 416 seconds
cluster1-02   cluster1-01   -     Waiting for giveback
2 entries were displayed.

  • 如果交还未自动启动,则可以执行手动交还:

cluster1::>storage failover giveback -ofnode <nodename>

  1. 运行 storage failover show 以确保两个节点均已连接:

cluster1::>storage failover show
 Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01 cluster1-02 true Connected to cluster1-02
cluster1-02 cluster1-01 true Connected to cluster1-01
2 entries were displayed.

  1. 交还完成后,可能需要将所有 LIF 还原到其主端口 [1]

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.