Manual setup of Logical Standby 10g [message #411866] |
Tue, 07 July 2009 03:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
linuxos
Messages: 31 Registered: April 2009
|
Member |
|
|
I want to use generic method to create a logical standby with Oracle 10g, as there are many errors with RMAN.
After normal shutdown of primary database, can I just copy all control file, data files, redo log files and archived log file(only the last one) to standby?
What's the purpose of and when will the process "ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;" be finished?
Thanks!
|
|
|
|
|
|
Re: Manual setup of Logical Standby 10g [message #412130 is a reply to message #411866] |
Tue, 07 July 2009 22:14 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
linuxos
Messages: 31 Registered: April 2009
|
Member |
|
|
Since I've deleted the archived log files in the Primary. Even I run "crosscheck archivelog all" in RMAN, the Standby's alert log still ask for strange missing logs.
Then I export the data from primary, drop the database, recreate the database and import the data. Then I shutdown the database, and copy control files, data files, redo log files, standby redo log files to Standby. Then the error didn't show again.
Instead of deleting old archived log files manually, which RMAN command can be used for delete the archived logs?
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
DELETE ARCHIVELOG UNTIL TIME 'SYSDATE-8';
Is this example enouhg?
[Updated on: Tue, 07 July 2009 22:22] Report message to a moderator
|
|
|
|