I have 2 primary databases AUTH and LIVE. I have them configured for DataGuard and I have the dgmgrl
To begin with everything shows success in dgmgrl But when I execute a switchover it always fails due to one issue or another but much of it appears to be due to either listener.ora or tnsnames.ora issues during the flip. I am also using a Wallet. The wallet is configured for autologin on both nodes.
Mostly what I am looking for is an example of the listener.ora or tnsnames.ora that can survive a switchover.
Auth node:
Listener
(GLOBAL_DBNAME = LIVE_DGMGRL) (SID_NAME = LIVE)
(GLOBAL_DBNAME = LIVESTBY_DGMGRL) (SID_NAME = LIVE)
(GLOBAL_DBNAME = LIVE_STBY) (SID_NAME = LIVE)