Rman Error on RAC

Hi all I have a problem. We have a 2 node rac with ASM. The archives goes to ASM. I would like to backup the archives from ASM to a filesystem. But i was given a filesystem that is only mounted on one node and it is not accessbile to the other node. When i run the following rman command i get the error on one of the channel that connect to node 2.
My question:
Can i use on channel that is connecting to node1 to backup all the archivelogs generated by node1 and node2 aswell since both the nodes have access to archive logs.
Please assist.
connect target /
connect catalog rmanrep/[email protected]
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/opt/oracle/archive/orcl/rman/cf_%d_%T_%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
CONFIGURE CHANNEL 1 DEVICE TYPE DISK CONNECT 'SYS/oass@orcl1;
CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS/oass@orcl2';
BACKUP CURRENT CONTROLFILE;
backup archivelog all format '/opt/oracle/archive/orcl/arch_bkup/%d_AL_%T_%u_s%s_p%p' delete input;
EXIT;
RMAN-03009: failure of backup command on ORA_DISK_2 channel at 03/17/2009 21:00:25
ORA-19504: failed to create file "/opt/oracle/archive/orcl/arch_bkup/SPTDEV_AL_20090317_2kka60j6_s84_p1"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
channel ORA_DISK_2 disabled, job failed on it will be run on another channel
Thanks
Kart

Thanks. But i'm not able to understand why rman fails with the error, because i ran the script from node 1 which has access to the filesystem, so the channel to makes a tns connection to node2 and get the data via net services... why does it complain that the file or folder doesn't exist...

Similar Messages

  • Please help with RMAN dup for RAC db

    Happy Holidays!! All,
    I need help with the following issue:
    Both target and auxiliary databases are:
    Database version is 10.2.0.3 with 2-node RAC db
    Servers are MS 2003
    Oracle Clusterware 10.2.0.3
    Oracle ASM for storage
    I have run the rman dup from RAC to a single instance db for a while. This is the first time I ran from RAC to RAC. This auxiliary db was refreshed before and was up for a while and was managed by server control tool. Now I am trying to refresh it with new backup files from production. I did the following as people suggested:
    1)     shutdown instance in the second node.
    2)     Startup nomount mode in the first node
    3)     Run RMAN dup
    It failed in the same place with slightly different errors. I pasted error messages at the bottom. I already created a TAR with Oracle but would like to know if anybody has any info related to this. Also I have several questions to ask:
    1)     Should I stop all services related to Oracle in node-2
    2)     Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
    3)     Is there any way I can finish the dup manually from the place I failed? What going to happen if I don’t finish the rest of the dup and go ahead with “alter database open resetlogs”?
    4)     How do I remove the database from under Server control – I already run “srvctl remove database -d atlrac” successfully. Is this all?
    Thanks a lot for your help and have a great holiday season!!!
    First time run:
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ====================================================
    RMAN-00569: ======= ERROR MESSAGE STACK FOLLOWS ==============
    RMAN-00571: =============================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2009 20:24:47
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-00610: Internal error code
    Second time run:
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===================================================
    RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ==========
    RMAN-00571: ===================================================
    RMAN-03002: failure of Duplicate Db command at 12/22/2009 15:53:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-03113: end-of-file on communication channel
    Shirley

    1) Should I stop all services related to Oracle in node-2
    No, you just need to stop the second instance.
    2) Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
    No, you don't need to stop anything. Just have the instance startup nomount.
    3) Is there any way I can finish the dup manually from the place I failed? What going to happen if I don’t finish the rest of the dup and go ahead with “alter database open resetlogs”?
    You have not shown enough information. Did the restore succeed ? Did the recover succeed ? What was it doing when it failed ?
    4) How do I remove the database from under Server control – I already run “srvctl remove database -d atlrac” successfully. Is this all?
    Yes, srvctl remove database is all you need. (unless you also want to remove from listener.ora, tnsnames.ora, oratab etc)

  • RMAN backup on RAC

    Hi,
    DB=10.2.0.4 OS=RHL (RAC with 2 nodes db01,db02). Following are the types of automated RMAN backups taken on db01.
    - OCR
    - Voting Disk
    - Talespaces Snapshot
    - Archivelog (every hour)
    - Backup Incremental level 0 (SUNDAY)
    -- backup incrementa level 1 (Mon-SAT)
    - Autobackup of Control file and SPFILE (CONTROLFILE AUTOBACKUP ON)
    Two main questions please. First, are these backups/backup types are enough FOR FULL RESTORE when talking about RMAN backup on RAC environment with 2 nodes? If not please suggest what else I need to backup?
    Secondly, backup home location is /rman which I can see on db01 ONLY. This /rman directory I cannot see on db02. My question is that In case of db02 failure can I restore from this /rman directory? or do I need to automate backup schedules also on db02 separately?
    [root@db01~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  2.9G  814M  79% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  225M  3.5G   6% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  379M  3.4G  11% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  8.7G  2.6G  78% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    /dev/mapper/36001ec9000d5ea810000061349015d98
                          1.3T  551G  665G  46% /rman
    [root@db02~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  887M  2.9G  24% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  261M  3.5G   7% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  355M  3.4G  10% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  6.5G  4.8G  58% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    [oracle@db01~]$ rman target /
    Recovery Manager: Release 10.2.0.5.0 - Production on Fri Feb 24 11:49:59 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: F1 (DBID=1245145263)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 28 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/f1/fullbackup/%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_f11.f'; # default
    # Script for backup
    level0 ()
    run {
      allocate channel c1 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/fullbackup/$ORACLE_SID-data-%U-%t';
      allocate channel c2 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/archive/$ORACLE_SID-arch-%U-%t';
      backup incremental level 0 tag = weeklyfull database channel c1
      plus archivelog tag = ARCH_$TODAY delete all input channel c2;
      release channel c1;
      release channel c2;
    run {
      allocate channel c1 type disk;
      delete noprompt obsolete;
      release channel c1;
    }Bundle of thanks.
    Regards,
    Edited by: 910385 on Feb 24, 2012 3:00 AM

    Hi,
    THanks alot for your feedback. Makes my life easier :) . But actually I started studying this all subject because of the following error message in the log file. I found out about this error that doesn't seem to harm. Just wait for the job to finish or it will sort out automatically. Here are the lines from the log file.
    Fehler in Backuplogs gefunden:/oracle/log/fcp11-backup-2300.log: RMAN-00571:
    ===========================================================brRMAN-00569: ===============
    ERROR MESSAGE STACK FOLLOWS ===============brRMAN-00571:
    ===========================================================brRMAN-03009: failure of
    Control File and SPFILE Autobackup command on c1 channel at 02/08/2012
    06:10:41brORA-00230: operation disallowed: snapshot control file enqueue unavailableI studied few important lines from one of my book, Oracle 11g RMAN backup and recovery (Roberg G Freeman) that I am going to write after the following MAIN ISSUE:
    Node 1
    RMAN> show all;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp11.f'; # default
    Node 2
    RMAN> show all;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp12.f'; # default
    Thing which I just noticed regarding the above RMAN error is that snapcf_fp11.f can be seen on the Node 1 on todays date but snapcf_fp12.f was only on 10th jan.
    [oracle@db01dbs]$ ls -lrth
    -rw-r----- 1 oracle oinstall  20M Feb 27 15:10 snapcf_fcp11.f
    [oracle@db02dbs]$ ls -lrth
    -rw-r----- 1 oracle oinstall  20M Jan 10 13:28 snapcf_fcp12.fTHe few lines from the book which I mentioned above are: (Though you might not need to read those lines):
    "You need to move the snapshot control file to a shared location if you plan to run backups from more than one node. If you do not move the snapshot control file to a shared file system such as OCFS or an ASM disk group, then you must make sure that the local destination is identical on all nodes."
    My question is of course, how to sort out the above log file error. Becuse in our case, backups are run only from one node, and snaphost control file is not being moved to ASM disk groups. Local destination is also same on both the Nodes, isn't it (with different names). Why on Node 2 last snapshot was taken on 10th jan while on Node 1 it is todays date which seems fine.
    Control file and SPFILE which I noticed are stored on ASM disk groups also, so being shared between the two Nodes.
    (Sanme names/same location for control file and SPFILE on Node 1 and Node 2)
    Control file:
    +REDO1/fp1/controlfile/current.256.652803827
    +DATA1/fp1/controlfile/current.441.652869697
    SPFILE:
    +DATA1/fp1/spfilefcp1.oraPlease suggest.
    Thank you.
    Regards,
    Edited by: 910385 on Feb 27, 2012 7:43 AM

  • Rman error when i am doing backup archivelog delete input

    archive log filename=+FRA01/osondemand/archivelog/2012_02_27/thread_2_seq_15028.7182.776323223 recid=122876 stamp=77
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 02/27/2012 05:23:14
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 3: ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 272 bytes (PL/SQL DIANA,PTG: No
    10.2.04
    windows
    two node rac
    please help me with above error
    thanks for help

    Hi;
    Duplicate post:
    rman error when taking backup archivelog all delete input
    Please close your othere thread as answered and keep updating your other thread here
    Regard
    Helios

  • Rman error when taking backup archivelog all delete input

    archive log filename=+FRA01/osondemand/archivelog/2012_02_27/thread_2_seq_15028.7182.776323223 recid=122876 stamp=77
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 02/27/2012 05:23:14
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 3: ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 272 bytes (PL/SQL DIANA,PTG: No
    10.2.04
    windows
    two node rac
    please help me with above error
    thanks for help

    Hi;
    Duplicate post
    Re: rman error when i am doing backup archivelog delete input
    Regard
    Helios

  • Problem about tdp for sap rman error

    I installed tdp for sap and scheduled a online backup , after the backup finished, I checked the log.
    all data files were backuped successfully. but there is an error about rman. I do not know how to do about that? Could you help me? I think the backup could be successful without rman, why in the backup log, it shows a rman error .
    I checked the initDEV.sap and initDEV.utl, there is no entry about rman, I do not use rman_util.
    BR0530I Cataloging backups of all database files...
    BR0278E Command output of 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog':
    Recovery Manager: Release 10.2.0.4.0 - Production on Sun Mar 8 13:34:21 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: DEV (DBID=3672496816)
    using target database control file instead of recovery catalog
    RMAN> *end-of-file*
    RMAN>
    host command complete
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 03/08/2009 13:34:23
    ORA-19564: error occurred writing 8192 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 3
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
    BR0279E Return code from 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog': 1
    BR0536E RMAN call for database instance DEV failed
    BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
    BR0532E Cataloging backups of all database files failed

    Hello Victor,
    we need the RMAN commands that were executed and at which step this error occurs.
    Maybe it is a problem with the snap controlfile for the AUTOBACKUP or many other scenarios are possible.
    We are also using the TDP for mySAP, but without RMAN support.
    If you want to use just RMAN (like we do for non-SAP systems / no BR*Tools) you can save a lot of license/service costs, if you are using TDP for Oracle, but keep in mind that you are losing the support for that by SAP. You can directly open a call by oracle for these situations.
    If you want this scenario as described we need more detailed information. Maybe a "LIST BACKUP" would also be nice.
    Regards
    Stefan

  • Shared server error in RAC ?

    _I changed my RAC database from dedicated to shared server . Then I changed client tnsnames.ora to meet shared server and tried to connect  . It worked fine and I could do my job as normal.
    But when I connected as sysdba and used (select server from v$session) to verify , there were 1 session NONE and no session SHARED . I tried to connect 5 more session from clients and there were 5 more NONE .
    Then I used (select circuit,dispatcher from v$circuit) and there were exact 6 circuits.
    _Is this an error in RAC ? Did I fail to convert from dedicated to shared server ?Please help.
    My system : RAC10g , OracleEnterpriseLinux5

    _This is my tnsnames.ora in client
    HTI =
    (DESCRIPTION =     
    (LOAD_BALANCE=yes)          
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataht1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataht2-vip)(PORT = 1521))      
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = HTI)
    _Clients can connect and work as normal with this tnsnames.ora . But when I try to find out how many sessions are in SHARED mode using (select server from v$session) there is 0 SHARED session althought there are about 20 client connections with the tnsnames.ora . There are 2 type of session when I use (select server from v$session) : NONE and DEDICATED . The more clients connect with the tnsnames , the more NONE sessions are created and no more DEDICATED sessions are created.
    _I really don't understand what NONE means !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • RMAN errors full list . . .

    Dears,,
    I know web site for ora errors http://www.ora-code.com/
    But i need web site or documentation for RMAN errors that have full list for errors,discription and solution like the above web site.
    Thanks & Best regards,,

    Oracle has a general error messages manual:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31189/ch13.htm#CIHGGEEC
    Errors not covered here are product-specific, your product is sqlplus, so you have to search in the sqlplus manual:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31189/ch13.htm#CIHGGEEC
    Werner

  • RMAN errors sent to shell script calling RMAN sequence?

    Hello,
    I have a Korn shell script run on Solaris as the root user that launches RMAN sequences similar to this one:
    #!/bin/ksh
    su - oracle -c "export ORACLE_SID=ORCL; rman target / << !
    <rman sequence>
    I am wondering if there is a way to catch the RMAN errors in the shell script?
    If I call SQLplus instead of RMAN, I can use "whenever sqlerror exit sql.sqlcode" and I will retrieve the error code in the shell script from $? - can I do such a thing with RMAN?
    Thank you,
    Adrian

    You could capture the return code *$?* from your RMAN script and if it returns anything other than 0, then you could grep the RMAN log for errors and/or query
    V$RMAN_OUTPUT after the RMAN script executes.

  • RMAN for 10g RAC in windows2003

    Hello experts,
    could any one help to configure RMAN for 10g RAC in windows2003?
    thanks,

    Hi;
    Please check:
    RMAN: RAC Backup and Recovery using RMAN [ID 243760.1]
    RMAN configuration in ORACLE RAC database
    RMAN configuration in ORACLE RAC database
    RMAN and RAC
    RMAN and RAC
    Also check this search:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=RMAN+RAC&objID=f384&dateRange=all&userID=&numResults=15
    I belive those are will answer your question
    Regard
    Helios

  • How to RMAN backup in RAC with OCFS

    hi,
    Iam using RAC 10.2.0 in windows 2003 server with OCFS .. i want to take backup using RMAN utility. can any sugest me how take RMAN backup..
    Thanks
    harish

    The only real consideration in RMAN on RAC is a one-off configuration issue as to whether the snapshot controlfile is written to the shared disk or not (it needs to be on the shared disk, or on a location that is common to all nodes, otherwise a backup that includes the control file will fail at the point a node tries to write it to a destination directory that only made sense to another node).
    Otherwise, there's not a lot that's different about an RMAN backup in RAC versus non-RAC.
    Simple answer, as a result: open a DOS window, type rman target /, then type backup database;

  • RMAN backup in RAC failing with error ORA-19566

    Hi all, i have 2 node RAC and i am trying to take rman backup of the database which is in ASM filesystem.
    There is a corruption in SYSAUX file and rman is failing to take backup of the sysaux datafile and error thrown at the end like
    piece handle=/home/oracle/orabackup/BLOOM_LVL0_20120627_1qnejueh_s58_p1 tag=TAG20120627T185538 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:56
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/27/2012 18:56:17
    *ORA-19566: exceeded limit of 0 corrupt blocks for file +DATA/bloom/datafile/sysaux.257.775475317*
    Then i tried to validate the backup in rman of the datafile sysaux nad fired the following query
    SQL> SELECT * FROM v$database_block_corruption;
    FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
    3 32011 1 0 ALL ZERO
    3 32049 40 0 ALL ZERO
    3 32034 1 0 ALL ZERO
    3 28964 1 1399837 LOGICAL
    3 32015 2 0 ALL ZERO
    and found all the blocks in the table WRH$_SQL_PLAN.
    Then dropped the table, and tried to take backup of the database and it is failing again with the same error..
    ANY SOLUTION TO TAKE BACKUP OF THE DATABASE.
    anyhow we can SET MAXCORRUPT FOR DATAFILE 3 to value, but does this works all time...
    Thanks in advance,
    TEJAS

    Both are good suggestions, but
    Osama-mustafa wrote:
    RMAN> blockrecover datafile 5 block 2684; -- Fix Eror That ship has already sailed:
    TEJAS_DBA wrote:
    And Yes this is the first time i am taking backup on the database.And:
    Osama-mustafa wrote:
    Or Skip Option
    Like
    RMAN> RUN{
    2> SET MAXCORRUPT FOR DATAFILE 1,3 to 1;
    3> BACKUP DATABASE;
    4> }The OP was aware of this option and hopefully was able to get at least some sort of a backup eventually. But as for the dropped WRH$_SQL_PLAN, TEJAS is, I will use the word "braver" than most. And as often is the case, Dan Morgan offered the only bit of sensible advise.
    Open an SR.
    Good luck.

  • Another RMAN duplicate problem - RAC database to single instance

    Hi,
    I have a problem with the RMAN duplicate procedure and was hoping someone can help.
    I would like to create a duplicate of our production RAC database on a separate, stand-alone, database server on another site. This duplicate will be used for intensive querying by another business unit who I don't want to have access to our production database.
    My procedure goes like this:
    1. Create a disk (not ASM) based backup of the datafiles and any archived redo logs:
    "run {
    allocate channel d1 type disk;
    backup format '/u02/stage/df_t%t_s%s_p%p' database plus archivelog delete input;
    release channel d1;
    2. Tar and scp these files to the same location on the stand-alone database server.
    3. In the meantime, work has been happening on the production database and further archived redo logs have been generated. I don't really care about these logs for the purposes of the duplicate however, I just want to duplicate to the point of the recent backup. To do this, I run the following SQL to determine the sequence number that I should be duplicating up to:
    "select max(sequence#), thread# from v$archived_log where deleted='YES' group by thread#;"
    4. Duplicate the production database to the stand-alone database (all the SQL Net stuff is working).
    "run {
    set until sequence (value returned by above SQL statement);
    duplicate target database to XXX;
    However, my problem arises because I don't know how to handle the fact that there are two threads. I understand that each thread relates to one of the RAC instances, I just don't know which one to specify for the duplicate. We have a database service which the client application connects through, and that service runs on on or other of the instances. Should I just care about the logs from the instance where the service is currently running?
    Am I even approaching this is the correct way?
    I look forward to any help that people may be able to offer.
    Regards,
    Phil

    Hi Werner,
    Thanks again for your help, there is still something wrong though. "list backup of archivelog all;" shows:
    BS Key Size Device Type Elapsed Time Completion Time
    3784 202.34M DISK 00:00:08 28-OCT-09
    BP Key: 3784 Status: AVAILABLE Compressed: NO Tag: TAG20091028T111718
    Piece Name: /u02/stage/df_t701435838_s3820_p1
    List of Archived Logs in backup set 3784
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 9746 569095777 28-OCT-09 569150229 28-OCT-09
    1 9747 569150229 28-OCT-09 569187892 28-OCT-09
    1 9748 569187892 28-OCT-09 569231956 28-OCT-09
    1 9749 569231956 28-OCT-09 569259816 28-OCT-09
    2 7931 569095774 28-OCT-09 569187902 28-OCT-09
    2 7932 569187902 28-OCT-09 569259814 28-OCT-09
    BS Key Size Device Type Elapsed Time Completion Time
    3787 1.04M DISK 00:00:02 28-OCT-09
    BP Key: 3787 Status: AVAILABLE Compressed: NO Tag: TAG20091028T112222
    Piece Name: /u02/stage/df_t701436142_s3823_p1
    List of Archived Logs in backup set 3787
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 9750 569259816 28-OCT-09 569261110 28-OCT-09
    2 7933 569259814 28-OCT-09 569261108 28-OCT-09
    You can see that the highest sequence number is 9750 of thread 1, and that the Low and Next SCNs are 569259816 and 56926111. However, when I look at the output of the RMAN duplicate command:
    contents of Memory Script:
    set until scn 569505448;
    recover
    clone database
    delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 28-OCT-09
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=39 devtype=DISK
    starting media recovery
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 4 needs more recovery to be consistent
    ORA-01110: data file 4: '/u02/sca-standby/data/users.260.623418479'
    RMAN-03002: failure of Duplicate Db command at 10/28/2009 16:12:55
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 2 seq 7936 lowscn 569411744 found to restore
    RMAN-06025: no backup of log thread 2 seq 7935 lowscn 569321987 found to restore
    RMAN-06025: no backup of log thread 2 seq 7934 lowscn 569261108 found to restore
    RMAN-06025: no backup of log thread 1 seq 9758 lowscn 569471890 found to restore
    RMAN-06025: no backup of log thread 1 seq 9757 lowscn 569440076 found to restore
    RMAN-06025: no backup of log thread 1 seq 9756 lowscn 569411439 found to restore
    RMAN-06025: no backup of log thread 1 seq 9755 lowscn 569378529 found to restore
    RMAN-06025: no backup of log thread 1 seq 9754 lowscn 569358970 found to restore
    RMAN-06025: no backup of log thread 1 seq 9753 lowscn 569321882 found to restore
    RMAN-06025: no backup of log thread 1 seq 9752 lowscn 569284238 found to restore
    RMAN-06025: no backup of log thread 1 seq 9751 lowscn 569261110 found to restore
    you can see that something is setting the recovery SCN to 569505448 which higher even then any of the archived logs mentioned above. If I select current_scn from the production database, this gives me 569528258 which is closer to the value which RMAN is expecting to recover to than any of the archived redo logs.
    Can you think what might be causing RMAN to try to recover to this value? and why does it appear to be ignoring the SET UNTIL SEQUENCE command?
    Cheers,
    Phil

  • RMAN error

    Hi...
    When I am trying to delete the obsolete backups its giving error... like this...
    RMAN-03002: failure of delete command at 08/24/2010 13:08:42
    RMAN-06091: no channel allocated for maintenance (of an appropriate type).
    rman>RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\RAC\DATABASE\SNCFJICRACDB1.ORA'; # default
    Actually I am taking GRID level RMAN backup... And the backup location is "+FLASH"
    I tried lot to delete the obsolete backup.. and I searched good every thing... plz suggest me..

    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    Cause: A command was entered that requires a maintenance channel, and no maintenance channel is allocated, or none of the appropriate type.
    Action: Use ALLOCATE CHANNEL FOR MAINTENANCE before deleting backup pieces, or using the CROSSCHECK or DELETE EXPIRED commands. Proxy copies require a non-DISK channel.

  • Backup Error in RAC?

    Hi friends
    i have 2 node RAC running on Windows 2003 Enterprise Edition.
    when i am taking backup of archivelog from one node i got following error
    RMAN> backup archivelog all;
    Starting backup at 16-JUN-07
    current log archived
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=462 instance=gad1 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=470 instance=gad1 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 06/16/2007 13:48:54
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\GAD\ARCHIVELOG\2007_06_16\O1_MF_
    2_2965_3775WOWB_.ARC
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    the file showing error is on the other node.
    what is the problem?
    pls help me its a Live server.

    Sohil,
    In RAC you have to understand the whole purpose of is to have high availability, which meant that you should be able to run the show from either of the nodes.. Which also means that you can run backup from either of the nodes or restore the database from either of the nodes. Hence you have the option of storing your backup to tape or flash recovery area, which should be shared.
    If there is a possibility, why don't you add an ASM instance and create a flash recovery area by adding another RAW volume, which would be visible to both hosts and your problem is solved.
    Regards
    G

Maybe you are looking for

  • Purchase requisition change

    Hi Experts, I need a report for a purchase requisition, if a PO already exists against it, I need to change the flag for the purchase requisiton as closed. Is there any sample report to do this?I have checked BAPI BAPI_REQUISITION_CHANGE. Do I need t

  • PDF Page Size

    Hi, I'm using Adobe Acrobat XI Standard and converting websites to PDF.  The converted PDF Page Size seems to be always in 11 x 8.5 in, although the PDF printer paper size is set by default to A4 (11.69 x 8.26 in).  To avoid distortion of the image,

  • How to mirror my HD?

    I've have an extra internal 500GB in my G5 and I would like to mirror it to my external 500GB HD (FW400) and repeat this process once a week. Don't want backups just want to mirror. Is it possible? If so what software should I use? Thank you. Frederi

  • "Tables are not using indexes"-Please help

    We have a new database , version Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi PL/SQL Release 10.2.0.1.0 - Production CORE 10.2.0.1.0 Production TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Productio NLSRTL Version 10.2.0

  • Ringtone and slide shows

    Seriously, why did Apple not think we would not want to use our own (already purchased once) music for our ringtones, I don't like any of the silly sounds they supply, and why also can we not use a slideshow option, music and picts, it's all there, b