Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to turn redo apply back on using the DataGuard Broker

Orna WeismanJul 21 2011 — edited Jul 21 2011
Hi

I am having a strange issue :

I shutdown the redo apply and log shipping on my 10.2.0.4 dataguard configuration for some maintenance window :

edit database <primary> set state='LOG-TRANSPORT-OFF';
edit database <standby> set state='LOG-APPLY-OFF';

At the end of the maintenance period , I tried to resume all :

So I mounted the standby :

startup nomount
alter database mount standby database.

then resumed log shipping :

edit database <primary> set state=’ONLINE’;

and then tried to resume redo apply via the Broker.
But no matter which command I gave , the 'Intended State' ramains : LOG-APPLY-OFF

I tried ( among others ) to set the state to ONLINE , to PHYSICAL-APPLY-ON , to APPLY-ON etc..
Nothing works.

I then resumed the redo apply via sql :

ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION;

and it worked fine.
the redo is applied.

However - the broker now reports an 'error ' :

Current status for "rmandg":
Error: ORA-16765: Redo Apply is unexpectedly online


What do I do to 'sync' my beoker with the real state ?

thanks
Orna
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2011
Added on Jul 21 2011
9 comments
9,065 views