Problem creating a logical standby DB [message #393631] |
Mon, 23 March 2009 15:06 |
Orna
Messages: 62 Registered: November 2008
|
Member |
|
|
Hi
I followed the Oracle® Data Guard Concepts and Administration 10g Release 1 (10.1) document on how to create a logical standby DB. ( chapter 4 )
1. I created a physical standby DB - OK
2. I prepared the init.ora file changes for the logical standby as documented
3. shutdown the soon to be logica lstandby DB
4. created a logical control file copy from the primary and transferred to the standby site ( into the control files destinations )
ALTER DATABASE CREATE LOGICAL STANDBY CONTROLFILE AS '/tmp/boston.ctl';
5. I mounted the standby with the nre control file - ok
6. I issued : ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
Its hanging indefinitely
I tried canceling it and issued :
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
That seem to work , but then when I run the next command :
SQL> ALTER DATABASE ACTIVATE STANDBY DATABASE;
ALTER DATABASE ACTIVATE STANDBY DATABASE
*
ERROR at line 1:
ORA-16228: Insufficient recovery for logical standby
Can someone help me troubleshoot/understand the problem ?
Thanks
Orna
|
|
|
|
|
|
|
Re: Problem creating a logical standby DB [message #393763 is a reply to message #393759] |
Tue, 24 March 2009 05:24 |
Orna
Messages: 62 Registered: November 2008
|
Member |
|
|
I know
the strange thing is that my pfile was perfectly ok, it was just when I converted it to an spfile - it got distorted somehow
So when I verified my init.ora it was ok. it was just by chance that I took a look at my spfile.
Once I started with pfile and stayed with pfile all worked ok
Once I figure out why my spfile looks different then my pfile I will post a followup
Thanks
Orna
|
|
|