포인트 인 타임 스냅샷 수행 방법의 모든 단계를 완료했는지 확인합니다.
기본 클러스터가 복제 모드에 있고 자동 동기화가 켜져 있는지 확인합니다.
nodeA# /usr/opt/SUNWesm/sbin/sndradm -P |
출력 내용이 다음과 같이 표시됩니다.
/dev/vx/rdsk/devicegroup/vol01 -> lhost-reprg-sec:/dev/vx/rdsk/devicegroup/vol01 autosync: on, max q writes:4194304, max q fbas:16384, mode:sync,ctag: devicegroup, state: replicating |
복제 모드에서 상태는 replicating이고 자동 동기화의 활성 상태는 on입니다. 기본 볼륨을 쓸 경우 Sun StorEdge Availability Suite 소프트웨어에서 보조 볼륨이 업데이트됩니다.
기본 클러스터가 복제 모드에 있지 않으면 복제 모드로 변경합니다.
nodeA# /usr/opt/SUNWesm/sbin/sndradm -n -u lhost-reprg-prim \ /dev/vx/rdsk/devicegroup/vol01 \ /dev/vx/rdsk/devicegroup/vol04 lhost-reprg-sec \ /dev/vx/rdsk/devicegroup/vol01 \ /dev/vx/rdsk/devicegroup/vol04 ip sync |
클라이언트 시스템에 디렉토리를 만듭니다.
기본 클러스터에서 응용 프로그램으로 디렉토리를 마운트하고 마운트된 디렉토리를 표시합니다.
보조 클러스터에서 응용 프로그램으로 디렉토리를 마운트하고 마운트된 디렉토리를 표시합니다.
기본 클러스터에서 응용 프로그램으로 디렉토리를 마운트 해제합니다.
client-machine# umount /dir |
기본 클러스터에서 응용 프로그램 자원 그룹을 오프라인화합니다.
nodeA# /usr/cluster/bin/scswitch -n -j nfs-rs nodeA# /usr/cluster/bin/scswitch -n -j nfs-dg-rs nodeA# /usr/cluster/bin/scswitch -n -j lhost-nfsrg-prim nodeA# /usr/cluster/bin/scswitch -z -g nfs-rg -h "" |
기본 클러스터를 로깅 모드로 변경합니다.
nodeA# /usr/opt/SUNWesm/sbin/sndradm -n -l lhost-reprg-prim \ /dev/vx/rdsk/devicegroup/vol01 \ /dev/vx/rdsk/devicegroup/vol04 lhost-reprg-sec \ /dev/vx/rdsk/devicegroup/vol01 \ /dev/vx/rdsk/devicegroup/vol04 ip sync |
디스크의 데이터 볼륨에 기록될 때 동일한 디스크의 비트맵 파일이 업데이트됩니다. 복제는 수행되지 않습니다.
PathPrefix 디렉토리를 사용할 수 있는지 확인합니다.
nodeC# mount | grep /global/etc |
보조 클러스터에서 응용 프로그램 자원 그룹을 온라인화합니다.
nodeC# /usr/cluster/bin/scswitch -Z -g nfs-rg |
수퍼유저로 클라이언트 시스템에 액세스합니다.
다음과 같은 메시지가 표시됩니다.
client-machine# |
단계 3에서 만든 디렉토리를 보조 클러스터의 응용 프로그램으로 마운트합니다.
client-machine# mount -o rw lhost-nfsrg-sec:/global/mountpoint /dir |
마운트된 디렉토리를 표시합니다.
client-machine# ls /dir |
기본 클러스터의 응용 프로그램을 마운트된 디렉토리로 반환합니다.
보조 클러스터에서 응용 프로그램 자원 그룹을 오프라인화합니다.
nodeC# /usr/cluster/bin/scswitch -n -j nfs-rs nodeC# /usr/cluster/bin/scswitch -n -j nfs-dg-rs nodeC# /usr/cluster/bin/scswitch -n -j lhost-nfsrg-sec nodeC# /usr/cluster/bin/scswitch -z -g nfs-rg -h "" |
전역 볼륨이 보조 클러스터에서 마운트 해제되도록 합니다.
nodeC# umount /global/mountpoint |
기본 클러스터에서 응용 프로그램 자원 그룹을 온라인화합니다.
nodeA# /usr/cluster/bin/scswitch -Z -g nfs-rg |
기본 클러스터를 복제 모드로 변경합니다.
nodeA# /usr/opt/SUNWesm/sbin/sndradm -n -u lhost-reprg-prim \ /dev/vx/rdsk/devicegroup/vol01 \ /dev/vx/rdsk/devicegroup/vol04 lhost-reprg-sec \ /dev/vx/rdsk/devicegroup/vol01 \ /dev/vx/rdsk/devicegroup/vol04 ip sync |
기본 볼륨을 쓸 경우 Sun StorEdge Availability Suite 소프트웨어에서 보조 볼륨이 업데이트됩니다.