운영상 문제점이 발생하지 않으므로, 문제점을 갖고 그대로 갈 수도 있다.
하지만, 해결한다면 더 좋은 기회를 얻을 수 있도 있다.
문제 > switchover 시, 기존 primary database 가 physical standby database 로 재기동 되지 못하는 문제
DGMGRL> switchover to "DB2"
Performing switchover NOW, please wait...
New primary database "DB2" is opening...
Operation requires shutdown of instance "DB" on database "DB"
Shutting down instance "DB"...
ORACLE instance shut down.
Operation requires startup of instance "DB" on database "DB"
Starting instance "DB"...
Unable to connect to database
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Failed.
Warning: You are no longer connected to ORACLE.
Please complete the following steps to finish switchover:
start up instance "DB" of database "DB"
해결 > ORA- Error 에서 나타나듯이 Datagurd Broker backgroud process 가 Start 기동 도중 발생
1. 기동하려는 Database 의 listener 의 상태 확인
2. broker backgroud 가 존재하는 DB의 tnsnames.ora 확인 (양쪽 모두 확인)
3. broker 내부의 parameter 설정 확인 (양쪽 모두 확인)
-> dgmgrl > show database verbose "DB"
edit database 'DB' set property
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname1)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=SID_DGMGRL)(INSTANCE_NAME=SID)(SERVER=DEDICATED)))'
댓글 없음:
댓글 쓰기