상황
Oracle 19c 환경에서 Data Guard + Broker가 구성된 상태에서 테스트 목적으로 SQL 기반 수동 Switchover를 수행했음
이후 기존 Primary DB는 재기동이 되어야 하는데 안되고 있는 상황에서 수동 open 후 아래와 같은 장애 발생
Configuration - dg_orcl
Protection Mode: MaxPerformance
Members:
orcl - Primary database
Error: ORA-16816: incorrect database role
orcl_stby - Physical standby database
Error: ORA-16816: incorrect database role
Fast-Start Failover: Disabled
Configuration Status:
ERROR (status updated 22 seconds ago)
수동 Switchover를 하여 Broker는 인식하지 못하고 있는 상태
해결
01. 기존 Primary 및 Standby Open
startup
또는
alter database nomount;
alter database mount;
alter database open;
02. Broker 재기동
Broker가 DB를 다시 읽을수 있게 재기동
dgmgrl /
disable configuration
enable configuration
03. 상태 확인
DGMGRL> show configuration
Configuration - dg_orcl
Protection Mode: MaxPerformance
Members:
orcl_stby - Primary database
orcl - Physical standby database
Fast-Start Failover: Disabled
Configuration Status:
SUCCESS (status updated 37 seconds ago)'🗄️ DB_이야기 > # 🛢️ Oracle' 카테고리의 다른 글
| [Oracle] RMAN 환경설정 (0) | 2026.02.02 |
|---|---|
| [Oracle] RMAN 개념 및 아키텍처 정리 (0) | 2026.01.30 |
| [Oracle] Data Guard 점검 & 운영 명령어 정리 (1) | 2026.01.20 |
| [Oracle] ORA-16810 / ORA-16826 (1) | 2026.01.19 |
| [Oracle] Data Guard 상태 및 장애 분석 (0) | 2026.01.18 |