DGMGRL Switchover Issue: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

After switchover using DGMGRL standby database is not starting automatically.

Showing error like below,

DGMGRL> switchover to TEST;

Performing switchover NOW, please wait…
New primary database “test” is opening…
Operation requires shutdown of instance “prod” on database “prod”
Shutting down instance “prod”…
ORACLE instance shut down.
Operation requires startup of instance “prod” on database “prod”
Starting instance “prod”…
Unable to connect to database
ORA-12514: TNS:listener does not currently know of service requested in connect

Warning: You are no longer connected to ORACLE.

Please complete the following steps to finish switchover:
start up instance “prod” of database “prod”


check the value of staticConnectIdentifier for primary & standby database

DGMGRL> show database PROD ‘StaticConnectIdentifier’;


DGMGRL> show database TEST ‘StaticConnectIdentifier’;


Edit the service name value like below

edit database STHRDR set property ‘StaticConnectIdentifier’='(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.oracle.com)(PORT=1527))(CONNECT_DATA=(SERVICE_NAME=PROD)(INSTANCE_NAME=prod)(SERVER=DEDICATED)))’;

edit database HRDR set property ‘StaticConnectIdentifier’='(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testdb.oracle.com)(PORT=1527))(CONNECT_DATA=(SERVICE_NAME=TEST)(INSTANCE_NAME=test)(SERVER=DEDICATED)))’;

Retest the issue.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s