Skip to main content
ONTAP MetroCluster
본 한국어 번역은 사용자 편의를 위해 제공되는 기계 번역입니다. 영어 버전과 한국어 버전이 서로 어긋나는 경우에는 언제나 영어 버전이 우선합니다.

MetroCluster 구성에서 DR 그룹 제거

기여자 netapp-aoife netapp-folivia netapp-cgoff netapp-martyh netapp-thomi netapp-pcarriga netapp-ivanad

ONTAP 9.8부터 8노드 MetroCluster 구성에서 재해 복구(DR) 그룹을 제거하여 4노드 MetroCluster 구성을 생성할 수 있습니다.

참고 전환 및 시스템 새로 고침 워크플로 중에 이러한 단계를 사용합니다. 이러한 워크플로의 일부로 이 절차의 일부 단계를 이미 완료했을 수 있습니다.

콘솔 로깅을 활성화합니다

NetApp은 사용 중인 장치에서 콘솔 로깅을 사용하도록 설정하고 이 절차를 수행할 때 다음 작업을 수행할 것을 적극 권장합니다.

각 클러스터에서 DR 그룹 노드를 제거합니다.

이 절차는 ONTAP 9.8부터 지원됩니다. ONTAP 9.7 이하 버전을 실행하는 시스템의 경우 기술 자료 문서를 참조하세요."MetroCluster 구성에서 DR 그룹을 제거하는 방법" .

이 작업에 대해
  • 두 클러스터 모두에서 이 작업을 수행해야 합니다.

  • 8노드 구성에는 2개의 4노드 DR 그룹으로 구성된 8개 노드가 포함됩니다.

    2개의 DR 그룹에 8개의 노드가 있는 MetroCluster 구성

    DR 그룹을 제거하면 구성에 4개의 노드가 남습니다.

    DR 그룹 제거 후 4개 노드가 있는 MetroCluster 구성
단계
  1. 아직 DR 그룹을 제거하지 않았다면 제거할 준비를 하세요.

    1. 모든 데이터 볼륨을 다른 DR 그룹으로 이동합니다.

    2. 제거할 DR 그룹에 부하 공유 미러 볼륨이 있는 경우 다른 DR 그룹에 모든 부하 공유 미러 볼륨을 다시 만들고 제거할 DR 그룹에서 해당 볼륨을 삭제합니다.

    3. 에 따라 모든 MDV_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. NFS 및 CIFS(SMB)에 사용하는 모든 NAS 데이터 LIF를 다른 DR 그룹의 홈 노드로 마이그레이션합니다.
      network interface show -home-node <old_node>

      network interface migrate -vserver <svm_name> -lif <data_lif> -destination-node <new_node> -destination-port <port>

    7. 데이터 LIF를 다른 DR 그룹의 새 홈 노드로 이동합니다. network interface modify -vserver <svm-name> -lif <data-lif> -home-node <new_node> -home-port <port>

    8. 클러스터 관리 LIF를 다른 DR 그룹의 홈 노드로 마이그레이션합니다.

      네트워크 인터페이스 show-role cluster-mgmt

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

    참고
    • 노드 관리 및 클러스터 간 LIF는 마이그레이션되지 않습니다. 필요에 따라 DR 그룹의 노드에 새로운 노드 관리 및 클러스터 간 LIF를 만듭니다.

    • 노드 간 블록 액세스(SAN)에 사용되는 FCP 인터페이스는 마이그레이션하거나 이동할 수 없습니다. 필요에 따라 새로운 FCP 인터페이스를 만듭니다.

    • 홈 노드와 홈 포트를 업데이트하려면 iSCSI SAN LIF가 다운되어야 합니다.

    1. 필요한 경우 epsilon을 다른 DR 그룹의 노드로 전송합니다.

      ClusterA::> set advanced -prompt-timestamp above
      ClusterA::*> cluster show
      Move epsilon if needed
      ClusterA::*> cluster modify -node nodename -epsilon false
      ClusterA::*> cluster modify -node nodename -epsilon true
      
      ClusterB::> set advanced -prompt-timestamp above
      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'

      참고 MetroCluster remove-dr-group 명령은 ONTAP 9.8 이상에서만 지원됩니다.

      다음 예에서는 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. 이전 DR 그룹의 노드에서 스토리지 장애 조치를 비활성화합니다.

    storage failover modify -node <node-name> -enable false

  5. MetroCluster IP 구성을 사용하는 경우 다음 단계를 수행하여 루트 집계의 원격 플렉스를 삭제하고 이전 DR 그룹의 노드에서 디스크 소유권을 제거합니다.

    MetroCluster FC 구성에서 기존 DR 그룹 노드 제거 단계로 이동합니다.

    이러한 단계는 각 사이트의 HA 쌍에 있는 두 노드 모두에 대해 수행되어야 합니다.

    1. 삭제할 DR 그룹의 노드에 있는 루트 집계의 원격 플렉스를 표시합니다.

      storage aggregate plex show -aggregate <root_aggr_name> -pool 1

    2. 원격 플렉스를 삭제합니다.

      storage aggregate plex delete -aggregate <root_aggr_name> -plex <plex_from_previous_step>

    3. DR 그룹의 노드가 소유한 원격 디스크를 식별합니다.

      사용하는 명령은 분할/공유 디스크를 사용하는지 또는 전체 디스크를 사용하는지에 따라 달라집니다.

      참고 쉼표로 구분된 목록을 사용하세요. -owner <node_names> 삭제할 DR 그룹의 노드 이름을 지정하는 필드입니다.
      분할/공유 디스크:
      1. 권한 수준을 고급으로 설정합니다.

        set advanced -prompt-timestamp above

      2. 원격 디스크를 표시합니다.

        storage disk show -pool Pool1 -owner <node_names> -partition-ownership

      전체 디스크:
      1. 권한 수준을 고급으로 설정합니다.

        set advanced -prompt-timestamp above

      2. 원격 디스크를 표시합니다.

        storage disk show -pool Pool1 -owner <node_names>

    4. 디스크 자동 할당 비활성화:

      disk option modify -node <node_names_in_the_DR_group_to_be_deleted> -autoassign off

    5. 삭제할 각 DR 그룹 노드에서 pool1 디스크의 소유권을 제거합니다. 삭제할 각 노드에 대해 다음 단계를 수행하십시오. 이 단계의 예에서는 node_A_1을 삭제합니다.

      1. 노드셸로 이동합니다.

        run -node <node_name>

      2. pool1 디스크를 식별합니다.

        '디스크 쇼'

        노드가 소유한 Pool1 디스크를 포함하여 모든 디스크가 표시됩니다. 다음 예는 디스크 0n.4와 해당 파티션이 Pool1에 할당된 경우의 축약된 출력입니다. 출력은 구성에 따라 달라집니다.

          DISK       OWNER                 POOL   SERIAL NUMBER         HOME                    DR HOME
        ------------ -------------         -----  -------------         -------------           -------------
        0n.4         node_A1(537102267)    Pool1  S3N9NX0J500267        node_A1(537102267)
        0n.4P1       node_A1(537102267)    Pool1  S3N9NX0J500267NP001   node_A1(537102267)
        0n.4P2       node_A1(537102267)    Pool1  S3N9NX0J500267NP002   node_A1(537102267)
        0n.4P3       node_A1(537102267)    Pool1  S3N9NX0J500267NP003   node_A1(537102267)
      3. 권한 수준을 고급으로 설정합니다.

        set -privilege advanced -prompt-timestamp above

      4. 각 pool1 디스크에 대한 디스크 소유권을 제거합니다.

        구성에 파티션된 디스크가 포함된 경우 먼저 각 파티션된 디스크의 소유권을 제거한 다음 컨테이너 디스크 소유권을 제거합니다.

        disk remove_ownership <disk_name>

      다음 예에서는 컨테이너 디스크 `0n.4`의 소유권이 제거되기 전에 파티션된 디스크의 소유권이 제거됩니다.

    *> disk remove_ownership 0n.4P1
    Volumes must be taken offline. Are all impacted volumes offline(y/n)?? y
    Removing the ownership of aggregate disks may lead to partition of aggregates between high-availability pair.
    Do you want to continue(y/n)? y
    *> disk remove_ownership 0n.4P2
    Volumes must be taken offline. Are all impacted volumes offline(y/n)?? y
    Removing the ownership of aggregate disks may lead to partition of aggregates between high-availability pair.
    Do you want to continue(y/n)? y
    *> disk remove_ownership 0n.4P3
    Volumes must be taken offline. Are all impacted volumes offline(y/n)?? y
    Removing the ownership of aggregate disks may lead to partition of aggregates between high-availability pair.
    Do you want to continue(y/n)? y
    *> disk remove_ownership 0n.4
    Volumes must be taken offline. Are all impacted volumes offline(y/n)?? y
    *>
  6. MetroCluster IP 구성을 사용하는 경우 이전 DR 그룹의 노드에서 MetroCluster 연결을 제거합니다.

    MetroCluster FC 구성에서 기존 DR 그룹 노드 제거 단계로 이동합니다.

    이러한 명령은 두 클러스터 중 하나에서 발행될 수 있으며 두 클러스터 모두에 걸쳐 있는 전체 DR 그룹에 적용됩니다.

    1. 다음 연결부를 분리하십시오.

      metrocluster configuration-settings connection disconnect -dr-group-id <dr_group_id>

      cluster_A::*> metrocluster configuration-settings connection disconnect -dr-group-id 1
      
      Warning: For the nodes in the DR group 1, this command will remove the existing connections that are used to mirror NV logs and access remote storage.
      Do you want to continue? {y|n}: y
      
      Warning: Before proceeding with disconnect, you must verify the following:
            1. Unmirrored aggregates do not have disks in remote plexes.
            2. Aggregates are not mirrored.
            3. No disks are assigned in Pool1.
            4. Storage failover is not enabled.
            Follow the "MetroCluster Installation and Configuration guide" for detailed instructions to verify this.
      Do you want to continue? {y|n}: y
    2. 이전 DR 그룹의 노드에서 MetroCluster 인터페이스를 삭제합니다.

      참고 이 단계는 DR 그룹의 각 노드에서 반복되어야 합니다.

    'MetroCluster configuration-settings interface delete

    1. 이전 DR 그룹의 구성을 삭제합니다. + 'MetroCluster configuration-settings dr-group delete

  7. 이전 DR 그룹의 노드를 제거합니다.

    각 클러스터에서 이 단계를 수행합니다.

    1. 고급 권한 수준 설정:

      set -privilege advanced -prompt-timestamp above

    2. 노드 제거:
      cluster remove-node -node <node-name>

      이전 DR 그룹의 다른 로컬 노드에 대해 이 단계를 반복합니다.

    3. 관리자 권한 수준을 설정합니다.

      'Set-Privilege admin'입니다

  8. 새 DR 그룹에서 클러스터 HA가 활성화되어 있는지 확인하세요. 필요한 경우 클러스터 HA를 다시 활성화합니다.

    군산하수정-구성 진실

    각 클러스터에서 이 단계를 수행합니다.

  9. 이전 컨트롤러 모듈 및 스토리지 쉘프를 중지하고 전원을 끄고 분리합니다.

관련 정보

이 절차에서 사용된 명령에 대한 자세한 내용은 "ONTAP 명령 참조"에서 확인할 수 있습니다.