RMAN restore of primary database – impact on standby database

dataguardoracle-11g-r2restorerman

I've just restored an 11g primary DB that was destroyed. Restored the controlfile from tape and performed a full restore, recovery, and open resetlogs. Looks fine now. How will my physical standby (using dataguard) handle this? When I 'show configuration' in dgmgrl I see:

Configuration - DG_Config

  Protection Mode: MaxPerformance
  Databases:
    TESTDB11  - Primary database
    TESTDB11A - Physical standby database
      Error: ORA-16810: multiple errors or warnings detected for the database

Fast-Start Failover: DISABLED

Configuration Status:
ERROR

How can I repair this standby after a restore of the primary?
Thanks.

Best Answer

You should be able to use Flashback Database to get the standby back to the point in time (i.e. SCN) to which the primary was restored (Flashback Database is a requirement for automated failover). If you can do this, then Data Guard should be able to wire things back up together again.

Have a look at these:

If in doubt, though, or if you don't have Flashback Database enabled, then trash the standby and recreate it from scratch.