Solved

Oracle DataGuard switchover issue

Posted on 2014-03-10
6
412 Views
Last Modified: 2014-03-11
I have registered the static entry with listener.

Oracle 11gR2

AEMF> switchover to "DRTEST";
Performing switchover NOW, please wait...
New primary database "DRTEST" is opening...
Operation requires shutdown of instance "TEST1" on database "TEST"
Shutting down instance "TEST1"...
ORACLE instance shut down.
Operation requires startup of instance "TEST1" on database "TEST"
Starting instance "TEST1"...
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 and mount instance "TEST1" of database "TEST"

AEMF> exit
0
Comment
Question by:themeeper1
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:David
ID: 39918502
Okay.... what are you asking as a question, and what have you tried on your own to solve this.
0
 

Author Comment

by:themeeper1
ID: 39918514
I have tried to reload the listener, and verified that staticconnectidentifier property is correct for both databases. Why am I still receiving this error?
0
 

Author Comment

by:themeeper1
ID: 39918517
I have tried the startup mount of test1 instance as well and it's the same error.
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 23

Accepted Solution

by:
David earned 500 total points
ID: 39918587
The ORA error suggests you may have a malformed TNSNAMES.ORA; would you please post the relevant part as a code snippet.
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 39920688
DR ...
this is a standby database setup you are trying to switchover ?

the database instance name is TEST1 on both servers ?
only the server names are different ?
0
 

Author Closing Comment

by:themeeper1
ID: 39920707
Yes this was a DR standby database. DVZ is correct, the TNSNAMES.ora was malformed.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Via a live example, show how to take different types of Oracle backups using RMAN.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question