Oracle Data Guard용 Sun Cluster Geographic Edition 데이터 복제 안내서

Oracle Data Guard 데이터 복제의 런타임 상태 확인

복제 자원 그룹의 상태로부터 Oracle Data Guard 소프트웨어의 더욱 자세한 런타임 상태뿐만 아니라 복제 상태의 전체 보기를 얻을 수 있습니다. 다음 절에서는 복제의 런타임 상태를 확인하는 방법에 대해 설명합니다.

Oracle Data Guard 런타임 상태 개요 표시

각 Oracle Data Guard 데이터 복제 자원의 상태는 특정 Oracle Data Guard Broker 구성의 복제 상태를 나타냅니다. 보호 그룹 아래의 모든 자원의 상태가 복제 상태에 누적됩니다.

복제의 전체 상태를 보려면 다음 절차에서 설명하는 대로 복제 그룹 상태를 확인합니다.

Procedure복제의 전체 런타임 상태 점검 방법

  1. 보호 그룹이 정의된 클러스터의 노드에 로그인합니다.

    이 단계를 완료하려면 Basic Solaris User RBAC 권한 프로파일이 할당되어야 합니다. RBAC에 대한 자세한 내용은 Sun Cluster Geographic Edition 시스템 관리 설명서Sun Cluster Geographic Edition 소프트웨어와 RBAC를 참조하십시오.

  2. 복제의 런타임 상태를 점검합니다.


    phys-paris-1# geoadm status
    

    복제 정보에 대해서는 출력의 Protection Group 섹션을 참조하십시오. 이 명령의 출력에는 다음 정보가 포함됩니다.

    • 로컬 클러스터가 파트너쉽에 참여할 수 있는지 여부

    • 로컬 클러스터가 파트너쉽에 포함되는지 여부

    • 하트비트 구성의 상태

    • 정의된 보호 그룹의 상태

    • 현재 트랜잭션의 상태

  3. 각 Oracle Data Guard 보호 그룹에 대한 데이터 복제의 런타임 상태를 확인합니다.


    phys-paris-1 clresource status -v ODGConfigurationName-odg-rep-rs
    

    확인하려는 Oracle Data Guard Broker 구성 데이터 복제에 대해 제공되는 StatusStatusMessage 필드를 참조하십시오. 이 필드에 대한 자세한 내용은 표 2–1을 참조하십시오.

자세한 Oracle Data Guard 런타임 상태 표시

각 보호 그룹에 대한 하나의 복제 자원 그룹이 있습니다. 복제 자원 그룹의 이름은 다음 형식을 따릅니다.


ODGprotectiongroupname-odg-rep-rg

Oracle Data Guard Broker 구성을 보호 그룹에 추가하는 경우 Sun Cluster Geographic Edition 소프트웨어에서 해당 구성에 대한 자원을 작성합니다. 이 자원은 Oracle Data Guard Broker 구성에 대한 복제 상태를 모니터하고 표시합니다. 각 자원의 이름은 다음 형식을 따릅니다.


ODGConfigurationName-odg-rep-rs

복제 자원의 상태를 모니터링하여 복제의 전체 상태를 알 수 있습니다. Oracle Data Guard Broker 구성의 복제 상태에 대한 StateStatus Message 값을 얻으려면 다음과 같이 clresource status 명령을 사용합니다.


phys-node-n# clresource status -v ODGConfigurationName-odg-rep-rs

자원이 온라인일 때 StateOnline입니다.

다음 표에서는 Oracle Data Guard 복제 자원 그룹의 StateOnline일 때 clresource status 명령에 의해 반환되는 StatusStatus Message에 대해 설명합니다.

표 2–1 온라인 Oracle Data Guard 복제 자원 그룹의 상태 및 상태 메시지

상태 

상태 메시지 

가능한 원인 

Faulted

Program program-name returned a nonzero exit code

 

Faulted

Protection mode "replication-mode" given for local database database does not match configured value "replication-mode"

Oracle Data Guard Broker 구성이 Oracle Data Guard 명령줄 인터페이스(dgmgrl)를 사용하여 변경되었으며 Sun Cluster Geographic Edition에서 업데이트되지 않았습니다.

Faulted

Database database does not exist in the configured Oracle Data Guard database list "List-of-databases "

데이터베이스가 Oracle Data Guard 명령줄 인터페이스(dgmgrl)를 사용하여 Oracle Data Guard Broker 구성에서 삭제되었습니다.

Faulted

Oracle errors "List-of-ORA-xxxxx-errors" were found in the Oracle Data Guard broker (dgmgrl) output when connecting by using "connect-string"

 

Faulted

Role "role" given for database database does not match role "role" configured for Oracle Data Guard

데이터베이스가 물리 대기에서 논리 대기로 변경되거나 그 반대로 변경되었을 수 있습니다. 

Unknown

Unexpected error - unexpected-error

 

Unknown

Oracle Data Guard broker (dgmgrl connect-string) did not complete a response to the command "command-string" within "number" seconds and was timed out.

Oracle Data Guard 명령줄 인터페이스(dgmgrl)가 지정된 시간 내에 show configuration 명령에 응답하지 않았거나, Oracle Data Guard Broker가 이 기간 동안 상태 검사를 수행하고 있었습니다.

Unknown

Password or connect name (connect-string) for remote cluster is incorrect

sysdba_username, sysdba_password, local_db_service_name 또는 remote_db_service_name 매개 변수가 Sun Cluster Geographic Edition 소프트웨어에서 유지 관리되는 정보와 일치하지 않습니다.

Unknown

File filename does not exist

Oracle Data Guard 모듈에서 사용하는 임시 내부 파일이 읽기 전에 삭제되었습니다. 

Degraded

Program program-name failed to read the Cluster Configuration Repository (CCR)

CCR에서 정보를 검색하는 데 사용된 프로그램 중 하나가 실패했습니다. 

Degraded

Failed to get password for sysdba user name for Oracle Data Guard configuration ODGConfigurationName in protection group ODGprotectiongroupname

sysdba_password에 대한 필드가 CCR(Cluster Configuration Repository)에 없거나 예상보다 더 길었습니다.

Degraded

Local cluster cluster-name is not primary for Oracle Data Guard configuration ODGConfigurationName

Oracle Data Guard Broker에서 Oracle Data Guard 명령줄 인터페이스( dgmgrl)의 명령을 사용하여 전환 또는 장애 조치가 수행되었으며 Sun Cluster Geographic Edition 구성이 업데이트되지 않았습니다.

Degraded

Oracle Data Guard configuration name ODGConfigurationName found does not match ODGConfigurationName

 

Degraded

Database database-name is in the disabled state

Oracle Data Guard Broker에서 Oracle Data Guard 명령줄 인터페이스(dgmgrl)의 명령을 사용하여 데이터베이스가 사용 불가하게 되었으며 Sun Cluster Geographic Edition 구성이 업데이트되지 않았습니다.

Degraded

Oracle Data Guard configuration ODGConfigurationName is disabled on cluster cluster-name

Oracle Data Guard Broker 구성의 대기 데이터베이스가 Oracle Data Guard 명령줄 인터페이스(dgmgrl)의 명령을 사용하여 사용 불가하게 되었으며 Sun Cluster Geographic Edition 구성이 업데이트되지 않았습니다.

Degraded

Oracle Data Guard configuration ODGConfigurationName is disabled

Oracle Data Guard Broker 구성이 Oracle Data Guard 명령줄 인터페이스(dgmgrl)의 명령을 사용하여 사용 불가하게 되었으며 Sun Cluster Geographic Edition 구성이 업데이트되지 않았습니다.

Online

Online or replicating in replication-mode mode

 

clresource 명령에 대한 자세한 내용은 clresource(1CL) 매뉴얼 페이지를 참조하십시오.