Skip to main content
ONTAP MetroCluster
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

删除灾难恢复组

贡献者

从 ONTAP 9.8 开始,您可以从八节点 MetroCluster 配置中删除 DR 组,以创建四节点 MetroCluster 配置。

ONTAP 9.8 及更高版本支持此操作步骤。对于运行ONTAP 9.7或更早版本的系统、请参见知识库文章

八节点配置包括八个节点,这些节点按两个四节点 DR 组进行组织。

MCC DR 组 8 个节点

通过删除 DR 组,配置中仍保留四个节点。

MCC DR 组 4 节点

从每个集群中删除 DR 组节点

开始之前
  • 您必须在两个集群上执行此步骤。

  • 只有 ONTAP 9.8 及更高版本才支持 MetroCluster remove-dr-group 命令。

步骤
  1. 如果尚未删除 DR 组,请做好删除准备。

    1. 将所有数据卷移动到另一个 DR 组。

    2. 如果要删除的DR组包含负载共享镜像卷、则无法移动这些卷。 在另一个DR组中重新创建所有负载共享镜像卷、然后删除要删除的DR组中的负载共享镜像卷。

    3. 按照将所有MV_CRS元数据卷移动到另一个DR组 "在 MetroCluster 配置中移动元数据卷" 操作步骤

    4. 删除要删除的 DR 组中可能存在的所有 MDV_aud 元数据卷。

    5. 删除 DR 组中要删除的所有数据聚合,如以下示例所示:

      ClusterA::> storage aggregate show -node ClusterA-01, ClusterA-02 -fields aggregate ,node
      ClusterA::> aggr delete -aggregate aggregate_name
      ClusterB::> storage aggregate show -node ClusterB-01, ClusterB-02 -fields aggregate ,node
      ClusterB::> aggr delete -aggregate aggregate_name
      备注 不会删除根聚合。
    6. 将数据LIF置于脱机状态。 network interface modify -vserver svm-name -lif data-lif -status-admin down

    7. 将所有数据 LIF 迁移到另一个 DR 组中的主节点。+ network interface show -home-node _old_node_s

      network interface modify -vserver svm-name -lif data-lif -home-node new_node -home-port port-id

    8. 将数据LIF重新联机。 network interface modify -vserver svm-name -lif data-lif -status-admin up

    9. 将集群管理 LIF 迁移到另一个 DR 组中的主节点。

      network interface show -role cluster-mgmt

      network interface modify -vserver svm-name -lif cluster_mgmt -home-node new_node -home-port port-id

    节点管理和集群间 LIF 不会迁移。

    1. 如果需要,将 epsilon 传输到另一个 DR 组中的节点。

      ClusterA::> set advanced
      ClusterA::*> cluster show
      Move epsilon if needed
      ClusterA::*> cluster modify -node nodename -epsilon false
      ClusterA::*> cluster modify -node nodename -epsilon true
      
      ClusterB::> set advanced
      ClusterB::*> cluster show
      ClusterB::*> cluster modify -node nodename -epsilon false
      ClusterB::*> cluster modify -node nodename -epsilon true
      ClusterB::*> set admin
  2. 确定并删除 DR 组。

    1. 确定要删除的正确 DR 组:

      MetroCluster node show

    2. 删除 DR 组节点: + MetroCluster remove-dr-group -dr-group-id 1`

      以下示例显示了如何删除 cluster_A 上的 DR 组配置

    cluster_A::*>
    
    Warning: Nodes in the DR group that are removed from the MetroCluster
             configuration will lose their disaster recovery protection.
    
             Local nodes "node_A_1-FC, node_A_2-FC"will be removed from the
             MetroCluster configuration. You must repeat the operation on the
             partner cluster "cluster_B"to remove the remote nodes in the DR group.
    Do you want to continue? {y|n}: y
    
    Info: The following preparation steps must be completed on the local and partner
          clusters before removing a DR group.
    
          1. Move all data volumes to another DR group.
          2. Move all MDV_CRS metadata volumes to another DR group.
          3. Delete all MDV_aud metadata volumes that may exist in the DR group to
          be removed.
          4. Delete all data aggregates in the DR group to be removed. Root
          aggregates are not deleted.
          5. Migrate all data LIFs to home nodes in another DR group.
          6. Migrate the cluster management LIF to a home node in another DR group.
          Node management and inter-cluster LIFs are not migrated.
          7. Transfer epsilon to a node in another DR group.
    
          The command is vetoed if the preparation steps are not completed on the
          local and partner clusters.
    Do you want to continue? {y|n}: y
    [Job 513] Job succeeded: Remove DR Group is successful.
    
    cluster_A::*>
  3. 在配对集群上重复上述步骤。

  4. 如果采用 MetroCluster IP 配置,请删除旧 DR 组节点上的 MetroCluster 连接。

    这些命令可以从任一集群发出,并应用于跨越两个集群的整个 DR 组。

    1. 断开连接:

      MetroCluster configuration-settings connection disconnect dr-group-id`

    2. 删除旧 DR 组节点上的 MetroCluster 接口:

      MetroCluster configuration-settings interface delete`

    3. 删除旧 DR 组的配置。+ MetroCluster configuration-settings dr-group delete`

  5. 取消加入旧 DR 组中的节点。

    您必须在每个集群上执行此步骤。

    1. 设置高级权限级别:

      set -privilege advanced

    2. 禁用存储故障转移:

      storage failover modify -node node-name-enable false

    3. Unjoin the node : + cluster unjoin -node node-name

      对旧 DR 组中的另一个本地节点重复此步骤。

    4. 设置管理员权限级别: + set -privilege admin

  6. 在新 DR 组中重新启用集群 HA :

    cluster ha modify -configured true

    您必须在每个集群上执行此步骤。

  7. 暂停,关闭并卸下旧控制器模块和存储架。