RMAN backup and Oracle RAC

Hello,
I am newbie with Oracle RAC 11g.
So, I do the following steps to configure RMAN to back up the Oracle RAC:
- Create a tablespace to RMAN User;
- Create the user rman;
- Connect to catalog (the databsae RAC itself);
- Register the database;
- Create the "complete_backup" script on catalog.
So, when I enter on Enterprise Manager, I can see
the "Availability" tab and the "Recovery Catalog Settings" link.
I setup the user rman that I've created with the host RAC1.
Is this really necessary on EM? The "Backup Setting" on EM
is equals to rman (database user) catalog?
When I go to "Schedule backup", I want to use the "complete_backup" script
that I've created. What the best way to schedule this script
to run each sunday, for example?
Thank you.

Hi,
To perfom a test you can create a new single database (RCVCAT) in one of the hosts that you have.
Create a database without any option with and use minimum of memory (don't use memory_target) set pga (50M) and sga(400M).
Create a user RMAN; with Grant connect,resource,recovery_catalog_owner.
Tablespace RCVCAT;
With RMAN connect on RCVCAT and create your catalog.
Levi Pereira

Similar Messages

  • 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                                                                                                                                                                                                                               

  • Configuring rman backup for oracle on rac cluster

    Hi GURUS
    We are buying installation oracle rac on a two node server. We do backup our db using rman and TSM .
    Does anyone have any guidance on using TSM scheduled TDP backups with
    Oracle RAC multi-node?
    More to that, is it possible to have multiple archive log destination?
    Any advice would be appreciated.
    David

    While you can have archives going to different destinations, on different nodes, it is not advisable because if these destinations are not reachable in case of a node/system failure, you have no access to these archive logs.
    Actually for easy accesibility it would be better to place the archive logs of all instnaces on shared storage. If you are using ASM and using a FRA disk group, you may want to have your archives go into this location.
    NFS mounting filesystems could be slower and may have certain perforamance implications.

  • RMAN backup and restore for Disaster Recovery

    Hi Guys,
    I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaster recovery db (one that will be made primary when disaster occurs). My goal is to backup production db using RMAN and restore it on the other machine. For some reason when I restore the db on hostb, the command restores the previous backup but not the most recent one e.g. I took a backup yesterday (09/20) and applied it to the hostb that worked fine, but when I try to apply a fresh backup from today (09/21) it always picks up the old backup. Here's a dump of the screen:
    Starting restore at 21-SEP-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /oracle/app/dev/oradata/forums/s
    ystem01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /oracle/app/dev/oradata/forums/s
    ysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /oracle/app/dev/oradata/forums/u
    ndotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /oracle/app/dev/oradata/forums/u
    sers01.dbf
    channel ORA_DISK_1: reading from backup piece /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp
    channel ORA_DISK_1: piece handle=/oracle/app/dev/flash_recovery_area/FORUMS/back
    upset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp tag=TAG20110920T040950
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
    Finished restore at 21-SEP-11
    Notice that it reads the backup piece from this location /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/
    whereas my latest backups are stored at a different location.
    I am executing following steps at the RMAN prompt on hosta and hostb:
    hosta (production site)
    backup as compressed backupset database plus archivelog
    backup current controlfile format'/oracle/oracle_bkup/ctl_%U'
    backup spfile
    hostb (Disaster site)
    set dbid=13732232063
    startup force nomount
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/2011_09_21/o1_mf_nnsnf_TAG20110921T114945_77ndg9ys_.bkp'
    shutdown immediate
    /* create a init<db_name>.ora file with SPFILE= /oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora */
    startup force pfile='/export/home/dev/restore_db/initforums.ora' nomount
    restore controlfile from '/export/home/dev/restore_db/backupset/2011_09_21/ctl_1hmn3mic_1_1'
    /* restart rman here */
    quit
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/2011_09_21' noprompt;
    /* call the next two commands on run */
    restore database;
    recover database;
    alter database open resetlogs
    quit
    Any help will be greatly appreciated.
    Thanks,
    Rajesh

    Thanks guys, I really appreciate all your help here. I redid everything all over again to get all the information you guys wanted. Since I noticed that more eyes are looking into this I am going to reiterate my steps one more time followed by specific answers to questions. My first backup on Host B is located under ..../restore_db/backupset whereas the subsequent one is under .../restore_db/backupset/backupset2.
    I take backup on Host A using:
    rman target /
    backup as compressed backupset database plus archivelog;
    backup spfile;
    quit;
    I restore the backup on Host B using:
    set dbid=13732232063;
    startup force nomount;
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/o1_mf_nnsnf_TAG20110928T171830_787gbpxh_.bkp'
    shutdown immediate;
    startup force nomount;
    restore controlfile from '/export/home/dev/restore_db/backupset/o1_mf_ncsnf_TAG20110928T171638_787gbkxn_.bkp'
    quit;
    /* restart rman here */
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset' noprompt;
    restore database;
    recover database;
    alter database open resetlogs;
    quit;
    I take another backup on Host A using (notice no spfile backup this time):
    backup as compressed backupset database plus archivelog;
    quit;
    I restore the database on Host B using:
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/backupset2' noprompt;
    recover database;
    alter database open;
    quit;
    Output of List Backup of database (I have done this after I recovered the second time, also note that it is referring to backupset2 which is were my second backup is stored)
    RMAN> list backup of database;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 91 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /export/home/dev/restore_db/backupset/o1_mf_nnndf_TAG2011092
    8T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    97 Full 259.16M DISK 00:00:00 28-SEP-11
    BP Key: 100 Status: AVAILABLE Compressed: YES Tag: TAG20110928T18352
    7
    Piece Name: /export/home/dev/restore_db/backupset/backupset2/o1_mf_nnndf
    TAG20110928T183527787lv0nb_.bkp
    List of Datafiles in backup set 97
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    Output of list backup (done after restoring the control file)
    RMAN> list backup;
    BS Key Size Device Type Elapsed Time Completion Time
    87 89.20M DISK 00:00:26 28-SEP-11
    BP Key: 87 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g50bm_.bkp
    List of Archived Logs in backup set 87
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 34 1302253 20-SEP-11 1306439 20-SEP-11
    1 35 1306439 20-SEP-11 1307647 20-SEP-11
    1 36 1307647 20-SEP-11 1307701 20-SEP-11
    1 37 1307701 20-SEP-11 1311393 20-SEP-11
    1 38 1311393 20-SEP-11 1311511 20-SEP-11
    1 39 1311511 20-SEP-11 1332479 20-SEP-11
    1 40 1332479 20-SEP-11 1344418 20-SEP-11
    1 41 1344418 20-SEP-11 1350409 20-SEP-11
    1 42 1350409 20-SEP-11 1350449 20-SEP-11
    1 43 1350449 20-SEP-11 1350854 21-SEP-11
    1 44 1350854 21-SEP-11 1350895 21-SEP-11
    1 45 1350895 21-SEP-11 1353114 21-SEP-11
    1 46 1353114 21-SEP-11 1353254 21-SEP-11
    1 47 1353254 21-SEP-11 1353865 21-SEP-11
    1 48 1353865 21-SEP-11 1353988 21-SEP-11
    1 49 1353988 21-SEP-11 1375403 21-SEP-11
    1 50 1375403 21-SEP-11 1376149 21-SEP-11
    1 51 1376149 21-SEP-11 1376206 21-SEP-11
    1 52 1376206 21-SEP-11 1376246 21-SEP-11
    1 53 1376246 21-SEP-11 1379990 21-SEP-11
    1 54 1379990 21-SEP-11 1380229 21-SEP-11
    1 55 1380229 21-SEP-11 1380266 21-SEP-11
    1 56 1380266 21-SEP-11 1380528 21-SEP-11
    1 57 1380528 21-SEP-11 1380724 21-SEP-11
    1 58 1380724 21-SEP-11 1380861 21-SEP-11
    1 59 1380861 21-SEP-11 1381033 21-SEP-11
    1 60 1381033 21-SEP-11 1381077 21-SEP-11
    1 61 1381077 21-SEP-11 1402243 22-SEP-11
    1 62 1402243 22-SEP-11 1423341 22-SEP-11
    1 63 1423341 22-SEP-11 1435456 22-SEP-11
    1 64 1435456 22-SEP-11 1454415 23-SEP-11
    1 65 1454415 23-SEP-11 1490903 23-SEP-11
    1 66 1490903 23-SEP-11 1491266 23-SEP-11
    1 67 1491266 23-SEP-11 1491347 23-SEP-11
    1 68 1491347 23-SEP-11 1492761 23-SEP-11
    1 69 1492761 23-SEP-11 1492891 23-SEP-11
    1 70 1492891 23-SEP-11 1493678 23-SEP-11
    1 71 1493678 23-SEP-11 1493704 23-SEP-11
    1 72 1493704 23-SEP-11 1494741 23-SEP-11
    1 73 1494741 23-SEP-11 1494790 23-SEP-11
    1 74 1494790 23-SEP-11 1510154 23-SEP-11
    1 75 1510154 23-SEP-11 1514286 23-SEP-11
    1 76 1514286 23-SEP-11 1531967 24-SEP-11
    1 77 1531967 24-SEP-11 1543266 24-SEP-11
    1 78 1543266 24-SEP-11 1558427 24-SEP-11
    1 79 1558427 24-SEP-11 1566924 24-SEP-11
    1 80 1566924 24-SEP-11 1578292 24-SEP-11
    1 81 1578292 24-SEP-11 1596894 25-SEP-11
    BS Key Size Device Type Elapsed Time Completion Time
    88 84.03M DISK 00:00:30 28-SEP-11
    BP Key: 88 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g63s9_.bkp
    List of Archived Logs in backup set 88
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 82 1596894 25-SEP-11 1609028 25-SEP-11
    1 83 1609028 25-SEP-11 1622303 25-SEP-11
    1 84 1622303 25-SEP-11 1626430 25-SEP-11
    1 85 1626430 25-SEP-11 1634486 25-SEP-11
    1 86 1634486 25-SEP-11 1648398 25-SEP-11
    1 87 1648398 25-SEP-11 1669259 26-SEP-11
    1 88 1669259 26-SEP-11 1686820 26-SEP-11
    1 89 1686820 26-SEP-11 1686959 26-SEP-11
    1 90 1686959 26-SEP-11 1689168 26-SEP-11
    1 91 1689168 26-SEP-11 1704759 26-SEP-11
    1 92 1704759 26-SEP-11 1719597 27-SEP-11
    1 93 1719597 27-SEP-11 1740407 27-SEP-11
    1 94 1740407 27-SEP-11 1750125 27-SEP-11
    1 95 1750125 27-SEP-11 1765592 27-SEP-11
    1 96 1765592 27-SEP-11 1781498 28-SEP-11
    1 97 1781498 28-SEP-11 1802311 28-SEP-11
    1 98 1802311 28-SEP-11 1811009 28-SEP-11
    1 99 1811009 28-SEP-11 1813811 28-SEP-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 89 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_nnndf_TAG20110928T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf

  • RMAN / backup.  oracle 9 vs. oracle 10

    My colleague mentioned a while ago that we had to investigate RMAN &/or a backup client, "because in oracle 10, when doing an export of a live db, oracle does not switch into "single user mode" like it did in 9. So we couldn't have 100% faith in our .dmp file."
    I'd like to do some further research on this, but looking through the "Oracle 10 Complete reference" and googling - I don't see any information about it. Has anyone here dealt with this or know of a link I should see?
    Finally... Does anyone know if an RMAN backup for Oracle 10 accounts for any "in progres" transactions?
    Thanks in advance,
    Mike.

    Oracle, itself, doesn't switch to single user mode.
    Your colleague might have been talking of scripts which shutdown and restart the
    database in restricted mode to run an export of the database.
    RMAN backups as in 8.0/8i/9i/10g (or EBU in Oracle 7) and scripted (aka
    "user managed") backups are all physical backups. They take database blocks
    "as they are". Conceptually, the datafile backups aren't aware of active transactions.
    It is the redo stream in the archivelogs that is required for you to be able to restore
    and recreate a consistent database image.

  • Rman backup and restore from ASM env to Non ASM Environment

    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response

    874152 wrote:
    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response
    Hi,
    You can follow this procedure
    1. take the backup to destination host
    2. restore spfile and controlfile
    3. catalog the backup with command 'catalog start with <location of backup>'
    4. use "set newname for datafile" to restore the datafile to non asm disk
    5. restore database
    6. recover database until point in time
    7. rename redolog and tempfile
    8. open database with resetlogs
    9. remove redolog group from another instance
    10. you might want to drop undo tablespace from another instance too
    11. task complete
    Cheers

  • RMAN BACKUPS AND ARCHIVED LOG ISSUES

    제품 : RMAN
    작성날짜 : 2004-02-17
    RMAN BACKUPS AND ARCHIVED LOG ISSUES
    =====================================
    Scenario #1:
    1)RMAN이 모든 archived log들을 삭제할 때 실패하는 경우.
    database는 두 개의 archive destination에 archive file을 생성한다.
    다음과 같은 스크립트를 수행하여 백업후에 archived redo logfile을 삭제한다.
    run {
    allocate channel c1 type 'sbt_tape';
    backup database;
    backup archivelog all delete input;
    Archived redo logfile 삭제 유무를 확인하기 위해 CROSSCHECK 수행시 다음과
    같은 메시지가 발생함.
    RMAN> change archivelog all crosscheck;
    RMAN-03022: compiling command: change
    RMAN-06158: validation succeeded for archived log
    RMAN-08514: archivelog filename=
    /oracle/arch/dest2/arcr_1_964.arc recid=19 stamp=368726072
    2) 원인분석
    이 문제는 에러가 아니다. RMAN은 여러 개의 arhive directory중 하나의
    directoy안에 있는 archived file들만 삭제한다. 그래서 나머지 directory안의
    archived log file들은 삭제되지 않고 남게 되는 것이다.
    3) 해결책
    RMAN이 강제로 모든 directory안의 archived log file들을 삭제하게 하기 위해서는
    여러 개의 채널을 할당하여 각 채널이 각 archive destination안의 archived file을
    백업하고 삭제하도록 해야 한다.
    이것은 아래와 같이 구현될 수 있다.
    run {
    allocate channel t1 type 'sbt_tape';
    allocate channel t2 type 'sbt_tape';
    backup
    archivelog like '/oracle/arch/dest1/%' channel t1 delete input
    archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
    Scenario #2:
    1)RMAN이 archived log를 찾을 수 없어 백업이 실패하는 경우.
    이 시나리오에서 database를 incremental backup한다고 가정한다.
    이 경우 RMAN은 recover시 archived redo log대신에 incremental backup을 사용할
    수 있기 때문에 백업 후 모든 archived redo log를 삭제하기 위해 OS utility를 사용한다.
    그러나 다음 번 backup시 다음과 같은 Error를 만나게 된다.
    RMAN-6089: archive log NAME not found or out of sync with catalog
    2) 원인분석
    이 문제는 OS 명령을 사용하여 archived log를 삭제하였을 경우 발생한다. 이때 RMAN은
    archived log가 삭제되었다는 것을 알지 못한다. RMAN-6089는 RMAN이 OS 명령에 의해
    삭제된 archived log가 여전히 존재하다고 생각하고 백업하려고 시도하였을 때 발생하게 된다.
    3) 해결책
    가장 쉬운 해결책은 archived log를 백업할 때 DELETE INPUT option을 사용하는 것이다.
    예를 들면
    run {
    allocate channel c1 type 'sbt_tape';
    backup archivelog all delete input;
    두 번째로 가장 쉬운 해결책은 OS utility를 사용하여 archived log를 삭제한 후에
    다음과 같은 명령어를 RMAN prompt상에서 수행하는 것이다.
    RMAN>allocate channel for maintenance type disk;
    RMAN>change archivelog all crosscheck;
    Oracle 8.0:
         RMAN> change archivelog '/disk/path/archivelog_name' validate;
    Oracle 8i:
    RMAN> change archivelog all crosscheck ;
    Oracle 9i:
    RMAN> crosscheck archivelog all ;
    catalog의 COMPATIBLE 파라미터가 8.1.5이하로 설정되어 있으면 RMAN은 찾을 수 없는
    모든 archived log의 status를 "DELETED" 로 셋팅한다. 만약에 COMPATIBLE이 8.1.6이상으로
    설정되어 있으면 RMAN은 Repository에서 record를 삭제한다.

    Very strange, I issue following command in RMAN on both primary and standby machine, but it they don't delete the 1_55_758646076.dbf, I find in v$archived_log, this "/home/oracle/app/oracle/dataguard/1_55_758646076.dbf" had already been applied.
    RMAN> connect target /
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    old RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters are successfully stored
    RMAN>
    ----------------------------------------------------------------------------------

  • Restoring RMAN Backup from ASM RAC env to Non ASM standalone environment

    Hi,
    Can anyone please tell me how to restore database using RMAN in a Non ASM environment as my backup file with ASM RAC environment.
    i was also looking for some documentation which provides clear explanation about RMAN backup and Restore in ASM and Non ASM environment.
    Thanks

    You can set the parameter db_file_name_convert in init.ora in you new database with [ID 47325.1]
    or
    you can set parameter "set newname" in your script rman. [ID 549972.1]
    if you have one or two destinations of dbfiles in ASM I seggest to you set parameter db_file_name_convert in init.
    example:
    db_file_name_convert=('+DGDATA','/u01/oradata/');
    remenber you need set log_file_name_convert to.
    log_file_name_convert=('+DGREDO','/u01/redo/');
    if you use "set newname" commands you need set this lines in your script rman.
    set newname for datafile 1 to '/u01/oradata/system01.dbf';
    set newname for datafile 2 to '/u01/oradata/undotbs01.dbf';
    set newname for datafile 3 to '/u01/oradata/sysaux01.dbf';
    set newname for datafile 4 to '/u01/oradata/users01.dbf';
    and every datafiles you need set!
    Edited by: user1107977 on 21/07/2011 13:47

  • BODS and Oracle RAC

    Do we know of any problems with BODS and Oracle Real Application Clusters architecture? For example, a RAC TNS entry would specify one service name but multiple hosts for load balancing and failover. In BODS the connections are specified in many places (web console, datastores, job server). As far as I remember in some of those places we do have to enter the host name. Would this disqualify BODS from benefiting from RAC or would it (even worse) cause problems? Any official note by SAP on BODS and Oracle RAC?
    Thanks.

    Hi Mahir,
    As far as I know it's only the web console that requires the hostname, however I am using DS XI 3.1 and when selecting database type Oracle in the web console there is a checkbox for 'Oracle RAC'. If you check this box then you do not require to enter the hostname.

  • Install SAP ERP 6.0 with Linux and Oracle RAC

    Hi Guru,
    I want to install SAP ERP 6.0 with Linux and Oracle RAC. Is this possible?
    Where do I find information?
    Thanks,
    Hugo.

    Hello Hugo,
    You can use either RAC or dataguard. On note [105047|http://service.sap.com/sap/support/notes/105047]:
    14. Data Guard
        o  You can use "Physical Standby".
        o  You cannot use "Logical Standby".
        o  You can use Data Guard Broker.
        o  You can use Maximum Performance Mode, Maximum Availability Mode and Maximum Protection Mode.
        o  In the case of Maximum Availability and Maximum Protection, you must pay particular attention to a fast network connection in order to avoid performance problems.
        o  Maximum Protection causes the primary database to terminate if problems occur in the standby database.
    60. Real Application Cluster (RAC)
        o  You can use this feature in accordance with Note 527843.
    Regards,
    Eduardo Rezende

  • RMAN Backup in ORacle Apps R12

    Hi All,
    We have oracle Apps 12.0.4 installed.Ours is a small application and we are in implementation stage.
    As of now, we are taking regular backup of db (datafiles) using RMAN by scheduled cron jobs.
    I am looking for options to schedule the backups through enterprise manager in oracle apps.
    Please provide me some pointers for the same.
    Our db is NON RAC and also single databse .. so i am not looking for grid control installation?
    What all needs to be installed to monitor and schedule backups through enterprise manager.
    Thanks,
    Kishore

    Hi,
    You can use the backup options present on the DB console. There are two options present on the DB console that is Oracle Suggested Backup and Customized Backup;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/backrest003.htm#i1006298
    You can select the type of backup based on your needs.
    Saad

  • SOS: The Scenario of how to backup and recover RAC database

    Hello,
    I am using the RAC system, but backup and recovery of the RAC system, still are implemented so far.
    Who know how to use RMAN to realize the backup function for the RAC system? Please help me, thanks a lot first.

    The fact your database is RAC has no practical effect on the backup procedures. There is only one database; you backup it up the same way you back up an exclusive database. Recovery is affected in that you will need to provide Oracle access to both archived log destinations or copy the logs for one instance over to the other instance archive log directory so Oracle can find them.
    HTH -- Mark D Powell --

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

    You will need to setup an NFS share such that both nodes can access each other's archived redo logs area. You also need to ensure your LOG_ARCHIVE_DEST_n parameter settings are properly set. Once setup correctly, either node will be able to run the backup and include each other's archived redo log files. Since this is RAC, the data files are shared by design and either node can already backup these files.
    Multiple channels would allow 'simultaneous' backup of the archived redo logs.
    I would highly recommend using a CFS (single shared file system where all nodes store their archived redo logs distinguished by thread) to store the archived redo logs, this reduces administration and configuration especially when you get ready to scale.
    Hope this helps.

  • Create standby DB with RMAN backup in Oracle 9.2.0.6

    I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow:
    (in the primary server side)
    RUN
    ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK;
    DUPLICATE TARGET DATABASE FOR STANDBY
    NOFILENAMECHECK
    DORECOVER;
    but RMAN give me this error:
    Starting restore at 18-FEB-08
    channel DUP1: starting datafile backupset restore
    channel DUP1: restoring controlfile
    output filename=/opferi/oradata/oradata01/data01/cntrl01.dbf
    released channel: DUP1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/18/2008 17:57:20
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19505: failed to identify file "/opferi/oracle/product/9.2.0/dbs/l4j9127p_1_1"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    The standby database is in a different host with the same directory structure. I started (with nomount option) with the same init file that the primary database.
    I read solution like the backupset must be copied manually to the standby host, but for me is not a solution.
    The RMAN backup script is the follow (like
    RUN {
    CROSSCHECK BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    DELETE NOPROMPT EXPIRED BACKUPSET;
    crosscheck archivelog all;
    ALLOCATE CHANNEL ch00 TYPE disk;
    BACKUP
    $BACKUP_TYPE
    FORMAT '/rman/opferi2/df_sipd_%d_%u_%s_%p'
    DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY;
    sql 'alter system archive log current';
    backup format '/rman/opferi2/archive_log_%d_t%t_s%s_p%p' (archivelog all);
    RELEASE CHANNEL ch00;
    when $BACKUP_TYPE=0
    Can anyone help my with this problem?? Thaks
    Cristian.
    PS. Sorry my bad english because I am from Latin America

    Requirements are:
    1 the backup should be accessible to both target and auxiliary database in the same location.
    2 On Unix this can be arranged through NFS, provided you set the read and write buffer to 32k.
    Obviously the backup can not be located in $ORACLE_HOME/dbs, as you can not mount a NFS directory over $ORACLE_HOME/dbs without loosing functionality.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • How to make an encrypted compressed RMAN backup and recovery

    Hallo!I am trying to make an RMAN backup that is compressed (definitely use compressed backup set in OEM).
    But my emphasis is to make the backup encrypted with a key (hoping to use Public Key Infrastructure )such that the database data can be sent via the network and the recepient can use a decryption key to decrypt the data.
    The recepient must also use a password to access the encrypted file for decryption.
    Is it possible to do this?If so please give the steps.
    Thanks.

    You can encrypt the backupset with RMAN Encrypted Backups, however Oracle Advanced Security Option (additional cost) is required.

Maybe you are looking for

  • My 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort

    my 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort ... ran CleanMyMac and freed up about 30GB of space but didn't help ... ran AdwareMedic so that's be

  • Itunes 10.7 wont open in windows 7

    Hi just downloaded 10.7 and when I double click on itunes icon both in start menu and desktop icon wont run I have deleted bonjour, reinstalled nothing working any help greatly appreciated

  • DATE and TIME and PATH stamps

    I'm a relative newbie still having issues with getting date and time stamps on my printed documents. I use Preview, Pages, Numbers and also tend to print to PDF a lot, which I am opening in Preview. I have found an "Insert" ability in Pages but for s

  • Find Finder Items duplicating items

    I am trying to select files from a folder based on date created. I am being able to do it with Find Finder Items but the result is duplicting files on folders and files itself. How can I filter to have just 1 copy of each file? Thanks

  • Report Errors REP-1051 and REP-1070 when saving

    I just created a new report. I'm now getting errors REP-1051 and REP-1070 when I attempt to save the .rdf to my local hard drive (or anywhere else for that matter). Permissions where I try to save it are OK, in fact if I remove the SQL and insert "se