High Availability Data Guard, Sharding and Global Data Services (MOSC)

MOSC Banner

How to connect to standby database after switchover

After switching over from primary to standby, how can I connect my application to standby with the db_name of the primary? What needs to be in the listener.ora and tnsnames.ora files on both hosts? I was always under the impression that you could connect to whichever side was primary with the "normal" primary name of the database.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center