Queries arises while configuring DataGuard [message #533800] |
Thu, 01 December 2011 06:01 |
abhi_sri
Messages: 20 Registered: September 2010 Location: India
|
Junior Member |
|
|
Hello,
I have created dataguard between two intances hosted in two diffrent servers. I have done switchover from primay to standby & then again standby to primary with the help of DGMGRL utility.
I have few questions in my mind which I want to ask:
1- When I done switchover to primary & trying to open standby database in readonly mode it was giving below error-
ORA-01154: database busy. Open, close, mount, and dismount not allowed now
Why this error was coming ?
2- As I was not able to open standby database in read only mode, I have excuted below command-
alter database recover managed standby database disconnect from session;
which return an error as-
ORA-01153: an incompatible media recovery is active
After this I have executed-
alter database recover managed standby database cancel;
which executed successfully.
& then after standby database open in read only mode.
Why above error was coming ?
3- After this I had tried to check the checkpoint_change# & controlfile_change# from primary database and result shows both number were diffrent.
Why they are not matching ?
Thanks in advance for all your favours.
|
|
|
|
Re: Queries arises while configuring DataGuard [message #533814 is a reply to message #533803] |
Thu, 01 December 2011 07:07 |
abhi_sri
Messages: 20 Registered: September 2010 Location: India
|
Junior Member |
|
|
Hello Michel,
Thank for the reply. What I got is when I was opening a read only database at that time some activity might be some kind of media recovery was going on. Which was stopping the database to open it in read only mode.
Now if I am thinking in right way then which kind of recovery was going on & what was the puspose of it. Because when I check log sequence with the help of archive log list, the current log sequence were same in both production & in standby.
Thanks in Advance
|
|
|
|
|
|
|