跳转到主内容

与 ONTAP 中的 halt 或 reboot 命令相比, storage failover takeover 命令有何区别?

Views:
114
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

适用场景

  • ONTAP 9
  • AFF 型号
  • FAS 型号

问题解答

使用storage failover takeover命令(首选方法)时,系统会执行多项检查和验证以确保成功接管。  如果任何检查或验证失败,接管将被否决,直到更正问题描述并尝试新的接管为止。

使用system node haltsystem node reboot命令时, HA 对中的默认操作是接管暂停或重新启动的节点。  但是,这些命令假定没有任何问题会阻止正常的无中断接管事件。  此处不会执行通常在存储故障转移接管期间运行的检查和验证。  因此,接管可能无法成功完成,并且系统会发出警告,并使用这些命令记录这种情况。

双节点集群的示例输出:

cluster1::> system node reboot -node cluster1-01 -inhibit-takeover false

Warning: Rebooting or halting node "cluster1-01" in an HA-enabled cluster
     may result in client disruption or data access failure. To ensure
     continuity of service, use the "storage failover takeover" command.
     Are you sure you want to reboot node "cluster1-01"?
      {y|n}: 

包含 2 个以上节点的集群的示例输出:

cluster2::> system node halt -node cluster2-04 -inhibit-takeover false

Warning: This operation will cause node "cluster2-04" to be marked as
     unhealthy. Unhealthy nodes do not participate in quorum voting. If the
     node goes out of service and one more node goes out of service there
     will be a data serving failure for the entire cluster. This will cause
     a client disruption. Use "cluster show" to verify cluster state. If
     possible bring other nodes online to improve the resiliency of this
     cluster.
Do you want to continue? {y|n}:

追加信息

附加信息 _text

 

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.