Database Reference
In-Depth Information
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: OFF
Instance(s):
emrep2
Database Status:
SUCCESS
b.
Issue the SWITCHOVER command:
DGMGRL> switchover to emrep2;
Performing switchover NOW, please wait...
New primary database "emrep2" is opening...
Operation requires shutdown of instance "emrep" on database "emrep"
Shutting down instance "emrep"...
ORACLE instance shut down.
Operation requires startup of instance "emrep" on database "emrep"
Starting instance "emrep"...
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 "emrep" of database "emrep"
additional steps may be required after issuing the switchover command depending on the current state of the
data guard configuration. in the example shown, the new standby database should be started and mounted manually.
Note
c.
Verify the status of the Data Guard configuration to see that the roles have been
switched:
DGMGRL> connect sys/<password>
Connected.
DGMGRL> show configuration;
Configuration - emrep
Protection Mode: MaxPerformance
Databases:
emrep2 - Primary database
emrep - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL> show database emrep2;
 
Search WWH ::




Custom Search