跳转到主内容

两个节点集群的 ONTAP 法定注意事项是什么?

Views:
67
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
core
Last Updated:

可不使用  

适用于

  • 集群模式 Data ONTAP 8
  • ONTAP 9

解答

在双节点集群中、节点查看是否可以提供数据的默认确定是验证其伙伴是否可通过互连获得或接管。如果合作伙伴既不通过互连进行响应、也不接管,则即使已联机、节点仍将停止提供数据。此确定称为“集群 HA ”和默认支持的配置。

可以禁用此选项、在这种情况下,节点使用法定投票来确定其在集群中的状态并避免脑分裂。禁用集群 HA 后、无论是否接管合作伙伴、节点都将在无法与合作伙伴通信时停止提供数据。只有当节点具有 Epsilon 时、它才会在伙伴不能通过集群网络或被接管时仍提供数据。

在启用集群 HA 时没有 Epsilon 概念、只有对合作伙伴进行接管才能保证在与合作伙伴进行通信时出现问题时能够访问正常的节点。

示例

  • 集群中有 2 个节点、两个节点都可以与合作伙伴通信、启用集群 HA 、还可以进行存储故障转移。
    两个节点都应该可以正常提供数据。
  • 在集群上启用了集群 HA 、节点 2 会因出现紧急情况而被接管。
  • 在集群上禁用了集群 HA 、由于维护而接管节点 2 。没有节点具有 epsilon 。
  • 已启用集群 HA 、已关闭节点 2 以便使用进行维护 halt-inhibit-takeover true
  • 已禁用集群 HA 、节点 2 为 Epsilon 并由节点 1 接管。
  • 已禁用集群 HA 、节点 1 为 Epsilon 、节点 1 已接管。
  • 已禁用集群 HA 、节点 1 为 Epsilon 、节点 2 在未接管的情况下暂停。

在上述哪种情况下,节点 1 提供数据?
在上述哪种情况下、节点 2 的数据也可用?

以下是一个具有中断互连的双节点群集示例。您需要重新拔插主板,并且无法执行接管。
通过在集群模式 Data ONTAP 8.2 中执行存储聚合重新定位,您可以将要接管的节点中的所有数据移动到双节点集群中的伙伴节点:

::> storage aggregate relocation start -node node0 -destination node1 -aggregate-list aggr1, aggr2

或者使用卷移动来重新定位数据。 

::> volume move start -vserver vs0 -volume volume_test -destination-aggregate dest_aggr -perform-validation-only true

移动所有数据后、需要将集群 HA 设置为 false 、您可以通过运行以下命令确认该数据设置为 true :

::> cluster ha show
High Availability Configured: true

要将 HA 更改为 false ,请运行以下命令:

cluster::> cluster ha modify -configured false

禁用集群 HA 后、通过运行以下命令在应存在的节点上将 epsilon 设置为 true :

::> set -privilege diagnostic

::*> cluster show
Node           Health Eligibility   Epsilon
-------------------- ------- ------------ ------------
node0          true   true      false
node1          true   true      false

::*> cluster modify -node node1 -epsilon true

::*> cluster show
Node           Health Eligibility   Epsilon
-------------------- ------- ------------ ------------
node0          true   true      false
node1          true   true      true

将 Epsilon 设置为节点 1 、停止节点 0 并重新拔插主板。

其他信息

在此处添加您的文本。

 

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.