在 ONTAP 中存储故障转移接管命令与停止或重新启动命令有什么区别?
适用于
- ONTAP 9
- AFF 机型
- FAS 机型
回答
使用 storage failover takeover 命令(首选方法)时,会执行多次检查和验证,以确保成功接管。 如果任何检查或验证失败,接管将被否决,直到问题得到纠正并进行新的接管尝试。
当使用 system node halt 或 system node reboot 命令时,HA 对中的默认操作是对正在停止或重新启动的节点执行接管。 但是,这些命令假设不存在会阻止正常无中断接管事件的问题。 此处不执行通常在存储故障转移接管期间运行的检查和验证。 因此,接管可能无法成功完成,并且这些命令会发出警告,指出这种情况。
2 节点集群的示例输出:
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}:
追加信息
追加信息文本