DATA GUARD
BROKER
FAILOVER
Crash the primary
Let us simulate failure. We will kill the PMON process at OS level.
Failover to proddb_st
connect to standby database proddb_st (as primary crashed or not
available) and failover to standby proddb_st
Rebuild primary after failover
Post failover, there are two methods of rebuilding your failed primary:
Method 1: Rebuild from scratch –> RMAN duplicate
Method 2: Flashback database –> only if Flashback was enabled
Reinstate failed primary
When you use data guard broker, with just one command, the
primary can be rebuilt. Start the failed primary server, in this
case start proddb server
Verify proddb post reinstate
The best part is broker will automatically recover earlier failed primary
proddb, mount the database and start MRP too
Switchover to get original configuration
At this stage, you can perform switchover to again get back original
configuration
Courses | Projects | Bootcamps

Data Guard Broker Failover

  • 1.
  • 2.
    Crash the primary Letus simulate failure. We will kill the PMON process at OS level.
  • 3.
    Failover to proddb_st connectto standby database proddb_st (as primary crashed or not available) and failover to standby proddb_st
  • 4.
    Rebuild primary afterfailover Post failover, there are two methods of rebuilding your failed primary: Method 1: Rebuild from scratch –> RMAN duplicate Method 2: Flashback database –> only if Flashback was enabled Reinstate failed primary When you use data guard broker, with just one command, the primary can be rebuilt. Start the failed primary server, in this case start proddb server
  • 6.
    Verify proddb postreinstate The best part is broker will automatically recover earlier failed primary proddb, mount the database and start MRP too
  • 7.
    Switchover to getoriginal configuration At this stage, you can perform switchover to again get back original configuration
  • 8.
    Courses | Projects| Bootcamps