CLI를 사용하여 메트로 미러, 글로벌 미러 또는 활성-활성 관계 작성
이 태스크 정보
프로시저
- 메트로 미러 관계를 작성하려면
mkrcrelationship 명령을 실행하십시오. 예를 들어, 다음을 입력하십시오.
mkrcrelationship -master master_volume_id -aux aux_volume_id -cluster system_id여기서 master_volume_id는 마스터 볼륨의 ID이고, aux_volume_id는 보조 볼륨의 ID이며, system_id는 원격 클러스터형 시스템의 ID입니다.
- 새 글로벌 미러 관계를 작성하려면
-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입니다.
- 순환이 사용 가능한 새 관계를 작성하려면 다음을 수행하십시오.
mkrcrelationship -master books_volume -aux books_volume -cluster DR_cluster -global -cyclingmode multi참고: chrcrelationship -auxchange 또는 chrcrelationship -masterchange를 실행하여 관계에 변경 볼륨을 추가하십시오. - 새 활성-활성 관계를 작성하려면
-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입니다.
상위 주제: 메트로 미러, 글로벌 미러, 활성-활성 관계 관리