CLI를 사용하여 메트로 미러, 글로벌 미러 또는 활성-활성 관계 작성

이 태스크 정보

프로시저

  1. 메트로 미러 관계를 작성하려면 mkrcrelationship 명령을 실행하십시오. 예를 들어, 다음을 입력하십시오.
    mkrcrelationship -master master_volume_id 
    -aux aux_volume_id -cluster system_id

    여기서 master_volume_id는 마스터 볼륨의 ID이고, aux_volume_id는 보조 볼륨의 ID이며, system_id는 원격 클러스터형 시스템의 ID입니다.

  2. 글로벌 미러 관계를 작성하려면 -global 매개변수와 함께 mkrcrelationship 명령을 실행하십시오. 예를 들어, 다음을 입력하십시오.
    mkrcrelationship -master master_volume_id 
    -aux aux_volume_id -cluster system_id -global

    여기서 master_volume_id는 마스터 볼륨의 ID이고, aux_volume_id는 보조 볼륨의 ID이며, system_id는 원격 시스템의 ID입니다.

  3. 순환이 사용 가능한 새 관계를 작성하려면 다음을 수행하십시오.
    mkrcrelationship -master books_volume -aux books_volume -cluster DR_cluster -global -cyclingmode multi
    참고: chrcrelationship -auxchange 또는 chrcrelationship -masterchange를 실행하여 관계에 변경 볼륨을 추가하십시오.
  4. 새 활성-활성 관계를 작성하려면 -activeactive 매개변수와 함께 mkrcrelationship 명령을 실행하십시오. 예를 들면, 다음 명령을 입력하십시오.
    mkrcrelationship -master master_volume_id -aux aux_volume_id -cluster system_id -activeactive

    여기서 master_volume_id는 마스터 볼륨의 ID이고, aux_volume_id는 보조 볼륨의 ID이며, system_id는 원격 시스템의 ID입니다.