Hi there,
I hope someone has some insight into an issue I am having with replicating an Oracle 7.3.4.3 database using BCV on HP's XP-256 SAN. I seem to have some trouble recovering the database on the target machine (the source is fine)
To start off with, I am replicating a production system to another machien for reporting purposes. Both machines have HP-UX 11 and Oracle 7.3.4.3.0 (I have verified this).
1) on the target machine, if I have a database up and running I shutdown it down. I remove the control files.
2) on the source machine, I place the production database in backup mode
3) I resync the disks between the two machines
4) I split the pair
5) I fsck the target disk to make sure it's fine
6) I mount the disk/filesystem
7) I take the source database out of backup mode
8) I check the SCN number from the source database (select first_change#-1 from v$log where sequence#=(select max(sequence#) from v$log))
9) I do a switch logfile statement 3 times (alter system switch logfile)
10) I backup the controlfile to trace to get my create control file scripts and I copy this to the target machine and modify it
11) I copy the archive logs to the target machine
12) I startup the target database in nomount
13) I run the create controlfile script from step 10
15) Oracle needs recovery at this point and I issue a backup controlfile to trace statement
14) I am now into recovering the database and I recover the database from until change using backup controlfile
15) logs get applied and I cancel this recovery then I issue a 'recover automatic until cancel using backup controlfile' statement and immediately cancel this recovery
16) do an alter database open resetlogs statement
17) database fails to open - file 1 (system datafile) needs more recovery
Is there some step that I am missing or do I have something out of order? I read in a thread on Technet Michael Ault's suggestion about using the _allow_resetlogs_corruption=true parameter in the init file but I would like to use this if there is nothing wrong with my steps or I have no other choice (I do realize that if I use this then Oracle will not support this database which I think is fine because it would only be a reporting database that gets refreshed daily anyway - it's not a production system).
If anyone can shed some light or suggest an extra step that would be great.
NOTE: I use this procedure on two other systems (Oracle 8.1.6.2 on HP-UX 11 and it works fine which suggests that I may be missing something).
Thanks everyone
Rui Amaral
I hope someone has some insight into an issue I am having with replicating an Oracle 7.3.4.3 database using BCV on HP's XP-256 SAN. I seem to have some trouble recovering the database on the target machine (the source is fine)
To start off with, I am replicating a production system to another machien for reporting purposes. Both machines have HP-UX 11 and Oracle 7.3.4.3.0 (I have verified this).
1) on the target machine, if I have a database up and running I shutdown it down. I remove the control files.
2) on the source machine, I place the production database in backup mode
3) I resync the disks between the two machines
4) I split the pair
5) I fsck the target disk to make sure it's fine
6) I mount the disk/filesystem
7) I take the source database out of backup mode
8) I check the SCN number from the source database (select first_change#-1 from v$log where sequence#=(select max(sequence#) from v$log))
9) I do a switch logfile statement 3 times (alter system switch logfile)
10) I backup the controlfile to trace to get my create control file scripts and I copy this to the target machine and modify it
11) I copy the archive logs to the target machine
12) I startup the target database in nomount
13) I run the create controlfile script from step 10
15) Oracle needs recovery at this point and I issue a backup controlfile to trace statement
14) I am now into recovering the database and I recover the database from until change using backup controlfile
15) logs get applied and I cancel this recovery then I issue a 'recover automatic until cancel using backup controlfile' statement and immediately cancel this recovery
16) do an alter database open resetlogs statement
17) database fails to open - file 1 (system datafile) needs more recovery
Is there some step that I am missing or do I have something out of order? I read in a thread on Technet Michael Ault's suggestion about using the _allow_resetlogs_corruption=true parameter in the init file but I would like to use this if there is nothing wrong with my steps or I have no other choice (I do realize that if I use this then Oracle will not support this database which I think is fine because it would only be a reporting database that gets refreshed daily anyway - it's not a production system).
If anyone can shed some light or suggest an extra step that would be great.
NOTE: I use this procedure on two other systems (Oracle 8.1.6.2 on HP-UX 11 and it works fine which suggests that I may be missing something).
Thanks everyone
Rui Amaral