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

Similar Messages

  • 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

    Dear DBAs,
    Is there a V$VIEW that maintains information about the node that was used for taking RMAN backup.
    I have a 3 node RAC database, and would like to know which node db backup was run from? These are OEM scheduled backup jobs.
    Thanks

    Hi;
    1. There is seeded RMAN forum site:
    Forum Home » High Availability » RMAN
    2. Please see:
    LIST and REPORT Commands in RMAN [ID 114284.1]
    http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcviews001.htm
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • 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.

  • Rman backup for rac by oem

    Br,Hi,
    DB : 10.2 and 11.2
    How to schedule rman backup for cluster  in OEM?How to schedule without OEM?
    If one of the node failed,Is it possible to  run in another node automatcially?
    How to schduel export/datadump in rac by oem?
    Br,
    Raj

    I Am not using oem, without oem you should write several scripts....
    for linux hot backup(archive log enabled):
    bck.sh
    set ORACLE_SID=mydb
    set ORACLE_HOME=....
    rman target sys/.... @'.../bck.ora'
    bck.ora
    run
    BACKUP AS COMPRESSED BACKUPSET FORMAT "..../db_%d_%T_%s_%p_%U.bak" INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG DELETE INPUT FORMAT "...../archivelogBackup/arch_%d_%T_%s_%p_%U.bak";
    delete force noprompt obsolete redundancy 3;
    backup FORMAT '..../ctl_%d_%T_%s_%p_%U' current controlfile spfile;
    And create executable job which instance_id=1 and will run your bck.sh script and create schedule for this job, when first node will down you must change instance_id attribute to second one, and be sure that all backup paths exists in all nodes.
    Ramin Hashimzade

  • Copy RMAN backups from RAC ASM

    Hi, I have 2-node (RHEL 5.8) RAC database with ASM shared storage. RMAN is doing daily backups on this ASM storage too. How could I copy backups from ASM to another place ? I'm using version 10gR2 db, and there is no "cp" command in asmcmd.

    How could I copy backups from ASM to another place ? I'm using version 10gR2 db, and there is no "cp" command in asmcmd.You can use RMAN to accomplish it.
    Use command
    RMAN>  backup backupset from ... format '<new_location>' ;Example here:
    Re: Move Backups from ASM to Disks
    Using Tag:
    Re: RMAN to both ASM and Network File system
    Edited by: Levi Pereira on Apr 4, 2013 11:39 AM

  • Restore single instance rman backup to rac database

    Hello all. I have a 10gR2 single instance database that I have been taking backups using the oracle's suggested backup strategy, that is, once full database backup and incremental backups here and there. That's is all fine as I have (many times) being requested to rollback the database resulting in all operations being sucessfull.
    However, since this is somehow a pre-certification database, I am now being tasked to restore this database to what is going to be our production database, which is a 10gR2 rac database. I have already set up the RAC database sucessfull.
    Now, my question is: How can I take one of the backups that I have on the single-instance database and restore onto my RAC database ?
    Some information about the infraestructure:
    Both operating systems are HP-UX. Single instance is 11.23, RAC database is 11.31.
    Both database are using ASM as datafiles storage and flash recovery area storage.
    Any help will be appreciated!
    Thanks!

    In general terms, there are several ways you can convert a single instance into a rac intance, and it involves much more activities than just adding redo threads.
    Use of DBCA
    Enterprise Manager Grid Control
    rconfig utility
    Considering your case, if you don't currently have Grid Control, the first option is rconfig.
    1. Migrate your database from the current environment to the target environment by a regular cloning procedure, this will create a single instance into your rac environment. Your regular rdbms rac installation allows you to manage both, single instance and rac instances. Use this procedure to clone your database to the target RAC environment using recovery manager --> http://madrid9999.googlepages.com/rmancloneadatabase
    2. Once you have started your database in the RAC environment proceed with the rconfig tool, this requires some files to perform the conversion, the ConvertToRAC.xml file which is located at $ORACLE_HOME/assistants/rconfig/sampleXMLs
    3. Once you copied/edited the ConvertToRAC.xml file, you have to run the rconfig. Save the ConvertToRAC.xml under a different file name.
    rconfig editedConvertToRAC.xml
    4. For further reference on the rconfig command, you may refer to this page Oracle® Real Application Clusters Installation Guide
    11g Release 1 (11.1) for Linux and UNIX
    ~ Madrid

  • RMAN backup restore from RAC to single instance ASM

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We need to restore RMAN backup from RAC to single instance ASM,
    Im new to RAC & ASM, What will be the changes
    What will be steps involved into it.
    Thanks

    Hello,
    Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
    On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
    Handle:      user10745179
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Feb 24, 2009
    Total Posts:      168
    Total Questions:      74 (52 unresolved)
    Name      Devesh
    Location      Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
    Regards,
    Shivananda

  • RMAN backup in ORACLE RAC database

    Hi there,
    We are using RMAN backup strategy for taking backups from one node(eg.node1).Database is RAC database, version 9.2.3. and OS is Solaris 5.10.
    this is the configuration which we use, as follows:
    Connecting to Prod.Database using catalog database.
    rman catalog=rman/rman@CATDB target=sys/oracle@PRODDB(node 2).
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 30;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanback/_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/CMWPROD_%s.bak';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS/oracle@PRODDB(node2)';
    CONFIGURE MAXSETSIZE TO 7 G;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/9.2.3/dbs/snapcf_CMWPROD1.f';
    As the above config shows RMAN is connecting to PROD DB (node 2). But we need to take backups (datafiles and as well as archive logs) from two nodes (i.e from node 1 and as well as node 2).
    Is there any possibility for taking backups from two nodes?
    Thanks,
    Balu.

    Duplicate thread
    RMAN configuration in ORACLE RAC database
    Khurram                                                                                                                                                                                                                               

  • Best practice for RAC RMAN backup

    I have a 10gR2 RAC db that is 3.5TB. It is a 2 node cluster on AIX. Each instance is db1 on node1, and db2 on node2, the "world" database name is db.
    Currently we are doing our backup from 1 node of the cluster, specifying that it connect to to db2, so this instance is doing all of the backup work. We allocate 14 channels to back this database up to tape (yes, we have plenty of tape resources, connecting to a tape machine with > 20 physical tape drives). Would it be better to have our rman script connect to the general database db and let the listener decide which instance to send the channel allocation to, or keep all the work on one node.

    I seem to remember that when I was reading up on RAC and RMAN a couple of years ago (maybe up to 4 years ago) that there was something about always doing backups from the same node in a RAC configuration i.e. you have logically 'db' in your network configuration and also direct names of 'db1' and 'db2', and you should always use one of 'db1' or 'db2' but never 'db'. And I also mean do not alternate between 'db1' and 'db2'. Pick one of them and always do your backups from that instance.
    I think this was to do with things like the database identifier, and the instance identifier too, which RMAN reads and puts into the backup. It also affects things like reading the archive logs, which must be cross mounted to both nodes. I have this feeling that using the same node kept a kind of consistency within the backups, and meant that Oracle was getting all of the block images from one node i.e. from one of the SGAs. If you used both nodes simultaneously you could run into issues with their SGAs being out of sync. I know this does not make much sense, given that RAC is all about keeping the SGAs consistent with each other. But at the end of the day I do remember something about always using one node all the time to do your RMAN backups.
    Not sure if these rules hold true if you are using ASM, which itself is shared in a RAC environment.
    Things may have moved on since then, but that was still 10g Release 2 documentation, so I would guess it is still true. At the end of the day, it is not the backup that is important, but the recovery. You don't want to create any kind of inconsistent backup that RMAN cannot successfully recover, even though the backup may look good when you create it.
    I'd check out the RMAN and RAC documentation further to see if this is supported.
    John

  • Rman backup error in 10g rac

    hi,
    I am backup 10g rac with rman,but there is some error when backup:
    input datafile fno=00006 name=+DG1/orcl/datafile/undotbs3.265.623622323
    channel c3: starting piece 1 at 13-JUN-07
    RMAN-03009: failure of backup command on c1 channel at 06/13/2007 08:40:50
    ORA-19504: failed to create file "/oracle/rman/db_ORCL_20070613_0fik5ji0_1_1_L0"
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    channel c1 disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on c3 channel at 06/13/2007 08:40:51
    ORA-19504: failed to create file "/oracle/rman/db_ORCL_20070613_0hik5jna_1_1_L0"
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    channel c3 disabled, job failed on it will be run on another channel
    released channel: c1
    released channel: c2
    released channel: c3
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of release command at 06/13/2007 08:49:22
    RMAN-06012: channel: c1 not allocated

    Hi all I have the same 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

  • RAC RMAN BACKUP Recovery FOR  Oracle APPS Application

    Hi,
    We have an Application which is similar to Oracle APPs application and We have a RAC Database at Backend.
    As I am a Oracle RAC DBA and never worked as an Oracle apps DBA.
    Each Week or month We have to deploy a patch on Our Database which are kind of sql changes to Database and before we applying we need to backup our Database.
    I am very comfortable while applying patches on Single instance Database:-
    I Usually shutdown my database and backing up My Database(Conistent\cold Backup) before applying patch.
    and I have a Flash back on both option I am having for my Database.
    Problem:-
    But in Production I have RAC Database, on which I already configured Hot Backup.
    FlashBackup Feature is there with me, but Not reliable.
    I want cold backup along with my existing hot backup, and want to restore same if something goes wrong.
    Since ASM is configured so we have only option RMAN backup.
    IF possible kindly Share your knowledge and Experience of your to handle Such Problem.

    Sir,
    RMAN is already configured for backing up database online.
    My only intention is to have cold or consistent backup before applying application patch, So that at the time of crisis I will resotre my Cold/Conistent backup.
    Because I am using 11gr2 RAC with ASM, so only option is there for me to use rman as backup tool.
    But I never tried to Have Cold backup in RAC environment in my previous jobs, and I am new to this Oracle APPS DBA technology. So Here I am looking for a Strategy that Normally oracle apps dba use while applying patch to Oracle Database and kind of backup strategy they use.
    Regards
    Gaurav

  • Building RAC database thru RMAN backup

    Hi Guys,
    I am having ERP PROD database on 2 nodes 116 and 117(RAC) server. We have a scheduled RMAN HOT backup of this database
    WE also have ASM implemented.
    We have another 2 servers named 36 and 37(RAC and ASM) which has ERP Test Database and the thing is that we want to refresh this
    test database using ERP PROD RMAN backup.
    Can someone please post the proper steps to restore the RMAN backup to ERP Test database as ADM is alos there.
    As it is little urgent for us.
    help will be appreciated.
    Regards,
    Milan Rathod

    1. take the backup of production database
    rman connect target /
    backup as compressed backupset database plus archivelog format '/u01/db/backup/%d_%I_%s_%T';
    move the backup to test server (same location /u01/db/backup/ bcoz rman checks for backupset in the same location only)
    add the below two lines in the test database-- initTEST.ora file
    comment cluster_ parameters in initTEST.ora file
    eg:-
    DB_FILE_NAME_CONVERT = (+EBAOUATDATADG1/prod/,/u01/db/app/admin/test/)
    LOG_FILE_NAME_CONVERT = (+EBAOUATDATADG1/prod/,/u01/db/app/admin/test/)
    check the connectivity between prod and test database.
    from test
    $tnsping PROD
    from prod machine
    $tnsping TEST
    in test server
    startup nomount
    rman target sys@proddb auxiliary /
    duplicate target database to test;
    after completion of duplicate/clone step convert the single instance test to rac instance by uncomment the cluster_ parameters in initTEST.ora parameter
    startup mount the second node in TEST
    ALTER DATABASE ENABLE PUBLIC THREAD 2 ;
    alter database open;
    hope, this will helps you.
    Good Luck

  • RMAN backup node in RAC

    We have three node RAC database. I want to know about the backup from which node it runs daily. We schedule the backup using cron. However, is there any view can provide the details of node name from which server the backup runs daily?.

    You can try to adapt following scripts http://docs.oracle.com/cd/B19306_01/backup.102/b14191/advmaint.htm#i1008121 to use GV$SESSION/GV$PROCESS with INST_ID column instead of V$SESSION/V$PROCESS but you should run these scripts when RMAN backup is running.

  • Restore RMAN Backup in Different Database on Same RAC

    We have 11gR2 2 node RAC on Linux. ASM and OMF is used for database. The database on it is backedup using RMAN.
    We want to test the RMAN backup by restoring it to a new database on same server.
    Can someone guide me to steps on how this can be achieved. I'm afraid this should not affect the actual database.
    Thanks a lot.

    Hi,
    Yes, this can be done without disturbing your source db. Need more information on your DB structure (datafile asm diskgroups), all you need to do is restore as single node and convert to rac, since you want to test rman restore, you can restore to single node to prove your RMAN backups are intact.
    Changes in init.ora
    ==============
    db_file_name_convert= ("source dir structure","target dir structure")
    log_file_name_convert=("source dir structure","target dir structure")
    cluster_database=false
    event="10298 trace name context forever, level 32"
    _no_recovery_through_resetlogs=TRUE
    Set new database sid (export ORACLE_SID=NEW_SID)
    sql>startup nomount;
    rman auxiliary /
    rman>duplicate database to "NEW_SID" backup location "Your RMAN Backup location";
    The above are very high level general steps, please do take other steps into consideration as per your environment.

Maybe you are looking for

  • Dynamic view object

    Hello, I need to have a view object which should work for both parameterized and non parameterized. It works fine with parameterized using setWhereClauseParam, but in the case of returning all items, can I use the same view object? Thanks, Setareh

  • Apple care works in cyprus ?!

    Does apple care works in cyprus ?! I have iPhone for almost 8 months now and my wifi button grey for 4 times they change my phone 4 times since I bought it i have no idea why that always happening with my phone !! So my warranty it gonna end in oct a

  • Rail in SAP ECC 6.0

    I would like to talk with someone who has implemented shipping in ECC 6.0 and includes rail shipments, rail routes and stages, preferrably RGX route determination, freight condition records, Rail EDI 404 and Rail Shipment Cost Document.  We are curre

  • Dynamic text in Data elements

    Hi all,           Can we populate the data element text dynamically.          For eg: we have field  TXT whose data element is ZTEXT and the short text that appears in the table is TEXT.         Now we want to create two other fields TXT1 and TXT2 an

  • NMH305 unable to browse folders DLNA apps

    Hello all Bit of a strange one.  Recently upgraded the firmware to 3.18.15. I use a couple of iphone apps to stream music from the hub, namely 8player and buzz player.  They always had an option to browse / play the hub content by folder ( as well as