원래 1차 클러스터의 보호 그룹을 비활성화합니다.
phys-paris-1# geopg stop -e Local tcpg |
보호 그룹의 구성을 재동기화합니다.
이 명령은 cluster-newyork의 보호 그룹의 구성 정보로 cluster-paris 의 보호 그룹의 구성을 업데이트합니다.
phys-paris-1# geopg update tcpg |
geopg update 명령이 성공적으로 실행된 후 tcpg는 각 클러스터에서 다음 역할을 갖습니다.
cluster-paris: tcpg role: Primary cluster-newyork: tcpg role: secondary |
파트너쉽의 두 클러스터 모두에서 보호 그룹을 활성화합니다.
phys-paris-1# geopg start -e Global tcpg |
이 명령은 cluster-paris의 응용 프로그램을 작동시킵니다. cluster-paris에서 cluster-newyork 로 데이터 복제가 시작됩니다.