copying archivelogs from ASM of praimary RAC to ASM of standby RAC
Primary database - 2 node RAC cluster on ASM
Standby database - 2 node RAC cluster on ASM with dataguard
Version - 126.96.36.199.0
I have to copy some archivelogs which are on ASM to the ASM location of the standby node. can you please help.
Here's what I have so far ...
logged into RMAN
copy archivelog '+FRA_PROD/2012_10_26/thread_2_seq_6664.6373.79999999' to /u50/thread_2_seq_6664.6373.79999999' ;
The above command copied it to a f/s on the OS level.
then I scp'd the file to the standby node.
on the standby node :
i logged into rman
cataloged the file -- catalog start with "/u050/thread2-seq_6664.6373.79999999' ; - completed successfully
then i tried to copy the file into ASM as follows
copy archivelog '/u050/thread2-seq_6664.6373.79999999' to '+FRA_STANDBY/2012_10_26/thread2-seq_6664.6373.79999999' '
but got the error - ORA-01276: cannot add file +FRA+STANDBY/2012_10_26/thread2-seq_6664.6373.79999999. File has an Oracle managed Files file name.
Please suggest if there is any other way to accompolish copying files from one ASM node to another ASM node.
Appreciate your help.
Since you are in 188.8.131.52 you can cp command in asmcmd
I logged into the target server where the archives are copied over (by scp) and did the following .. still getting errors
cp '/u50/thread_2_seq_6664.6373.79999999' '+FRA_STANDBY/2012_10_26/thread_2_seq_6664.6373.79999999'
ASMCMD- 0816 copy source->'/u50/thread_2_seq_6664.6373.79999999' ' and target->'+FRA_STANDBY/2012_10_26/thread_2_seq_6664.6373.79999999'
ORA-15406: ASM file name '+FRA_STANDBY/2012_10_26/thread_2_seq_6664.6373.79999999' is not in single-file creation form
ORA-6512: at "SYS.X$DBMS_DISKGROUP", line 410
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)
try cp '/u50/thread_2_seq_6664.6373.79999999' '+FRA_STANDBY/2012_10_26/ since you are using OMF
Click Here to Expand Forum to Full Width