Sun Cluster Geographic Edition 시스템 관리 설명서

Hitachi TrueCopy 보호 그룹 작성 전략

보호 그룹 작성을 시작하기 전에 다음 전략 중에서 사용자에게 가장 잘 맞는 것을 고려하십시오.

다음 절은 각 전략에 대해 취할 단계에 대해 설명합니다.

응용 프로그램이 오프라인인 상태에서 보호 그룹 작성

응용 프로그램 자원 그룹이 오프라인인 중에 보호 그룹을 작성하기 위해 취하는 단계는 다음과 같습니다.

응용 프로그램이 온라인인 상태에서 보호 그룹 작성

응용 프로그램을 오프라인으로 만들지 않고 새 보호 그룹에 기존 응용 프로그램 자원 그룹을 추가하려면 응용 프로그램 자원 그룹이 온라인인 클러스터에서 다음 단계를 완료합니다.

다른 클러스터에서 다음 단계를 완료합니다.


예 10–1 응용 프로그램이 온라인인 상태에서 Hitachi TrueCopy 보호 그룹 작성 예

이 예는 응용 프로그램을 오프라인으로 만들지 않고 보호 그룹을 작성하는 방법에 대해 설명합니다.

이 예에서 apprg1 자원 그룹은 cluster-paris 클러스터에서 온라인 상태입니다.

  1. cluster-paris에 보호 그룹을 작성합니다.


    phys-paris-1# geopg create -d tc -p Nodelist=phys-paris-1,phys-paris-2 -o Primary \
    -s paris-newyork-ps tcpg
    Protection group "tcpg" has been successfully created
  2. 보호 그룹에 장치 그룹 tcdg를 추가합니다.


    phys-paris-1# geopg add-device-group -p fence_level=async tcdg tcpg
  3. 보호 그룹을 전역으로 활성화합니다.


    phys-paris-1# geopg start-e local tcpg
    Processing operation.... this may take a while....
    Protection group "tcpg" successfully started.
  4. 이미 보호 그룹에 온라인인 응용 프로그램 자원 그룹을 추가합니다.


    phys-paris-1# geopg add-resource-group apprg1 tcpg
    Following resource groups were successfully inserted:
    			"apprg1"

    응용 프로그램 자원 그룹이 성공적으로 추가되었는지 확인합니다.


    phys-paris-1# geoadm status
    Cluster: cluster-paris
    
       Partnership "paris-newyork-ps"    : OK
          Partner clusters               : newyork
          Synchronization                : OK
    
          Heartbeat "hb_cluster-paris~cluster-newyork" monitoring \
    "paris-newyork-ps" OK
             Plug-in "ping-plugin"       : Inactive
             Plug-in "icrm_plugin"       : OK
             Plug-in "tcp_udp_plugin"    : OK
    
       Protection group "tcpg"           : Degraded
          Partnership                    : paris-newyork-ps
          Synchronization                : OK
    
          Cluster cluster-paris          : Degraded
             Role                        : Primary
             Configuration               : OK
             Data replication            : Degraded
             Resource groups             : OK
    
          Cluster cluster-newyork        : Unknown
             Role                        : Unknown
             Configuration               : Unknown
             Data Replication            : Unknown
             Resource Groups             : Unknown
  5. 파트너 클러스터의 한 노드에서 다음과 같이 보호 그룹을 검색합니다.


    phys-newyork-1# geopg get -s paris-newyork-ps tcpg
    Protection group "tcpg" has been successfully created.
  6. 파트너 클러스터에서 로컬로 보호 그룹을 활성화합니다.


    phys-newyork-1# geopg start-e local tcpg
    Processing operation.... this may take a while....
    Protection group "tcpg" successfully started.
  7. 보호 그룹이 성공적으로 작성되고 활성화되었는지 확인합니다.

    cluster-paris에서 geoadm status 명령을 실행하면 cluster-paris 다음 결과를 생성합니다.


    phys-paris-1# geoadm status
    Cluster: cluster-paris
    
       Partnership "paris-newyork-ps"        : OK
          Partner clusters                   : newyork
          Synchronization                    : OK
    
          Heartbeat "hb_cluster-paris~cluster-newyork" monitoring \
    "paris-newyork-ps": OK 			
             Plug-in "ping-plugin"           : Inactive
             Plug-in "icrm_plugin"           : OK
             Plug-in "tcp_udp_plugin"        : OK
    
       Protection group "tcpg"               : Degraded
          Partnership                        : paris-newyork-ps
          Synchronization                    : OK
    
          Cluster cluster-paris              : Degraded
             Role                            : Primary
             Configuration                   : OK
             Data replication                : Degraded
             Resource groups                 : OK
    
          Cluster cluster-newyork            : Degraded
             Role                            : Secondary
             Configuration                   : OK
             Data Replication                : Degraded
             Resource Groups                 : OK