Rman cloning on RAC

Hello all,
My environment
OS: LINUX
ORACLE: 10.2.0.2
my question are
1) configured crs_home,oracle_home with asm now i have to clone from proda to prodb.
all configurations are working fine.
backup pieces are copied to prodb.
if i have backupsets in prodb location. is it possible to clone?
or backups should be in proda? then we have to duplicate?
can anyone tell me please.

If you not using RECOVERY CATALOG , you have to copy the backup sets or copies to the clone database server.
RMAN checks for the backup to restore. if it is not available in the machine, it gives an error.
RMAN> backup full database format '/u01/app/oracle/backup/%d_%U.bckp' plus archivelog format '/u01/app/oracle/backup/%d_%U.bckp';
[oracle@rac2 ~]$ cd /u01/app/oracle/backup
[oracle@rac2 backup]$ ls -lart
total 636080
drwxrwxr-x 9 oracle oinstall 4096 Jan 20 18:42 ..
-rw-r----- 1 oracle oinstall 50418176 Jan 20 18:43 WHITE_01l3v1uv_1_1.bckp
-rw-r----- 1 oracle oinstall 531472384 Jan 20 18:54 WHITE_02l3v203_1_1.bckp
-rw-r----- 1 oracle oinstall 7143424 Jan 20 18:54 WHITE_03l3v2jf_1_1.bckp
-rw-r----- 1 oracle oinstall 1346560 Jan 20 18:54 WHITE_04l3v2jv_1_1.bckp
-rw-r----- 1 oracle oinstall 7110656 Jan 20 19:19 05l3v41r_1_1
drwxr-xr-x 2 oracle oinstall 4096 Jan 20 19:20 .
-rw-r----- 1 oracle oinstall 53174272 Jan 20 19:21 06l3v448_1_1
[oracle@rac2 backup]$ scp * oracle@rac1:/u01/app/oracle/backup/
05l3v41r_1_1 100% 6944KB 6.8MB/s 00:00
06l3v448_1_1 100% 51MB 16.9MB/s 00:03
WHITE_01l3v1uv_1_1.bckp 100% 48MB 2.7MB/s 00:18
WHITE_02l3v203_1_1.bckp 100% 507MB 1.5MB/s 05:47
WHITE_03l3v2jf_1_1.bckp 100% 6976KB 996.6KB/s 00:07
WHITE_04l3v2jv_1_1.bckp 100% 1315KB 1.3MB/s 00:01
NOTE:
The target and clone database location for RMAN backup folder must be same.
for eg: /u01/app/oracle/backup folder
check the below link to clone database in different server.
http://www.akadia.com/services/ora_duplicate_database_rman.html

Similar Messages

  • RMAN cloning from RAC to Non-RAC

    Hi Gurus,
    I had successfully cloned my DB from RAC to Non-RAC environment via RMAN. Below was the configuration
    RAC
    - 2 nodes
    - 11gR2 (Compatible 11.0.1.6 as per Application Requirement)
    - ASM (2 diskgroups DATA and FRA)
    - OS RHEL 6.3
    Non - RAC
    - 1 node
    - Stand alone11gR2 (Compatible 11.0.1.6 as per Application Requirement)
    - ASM (2 diskgroups DATA and FRA)
    - OS RHEL 6.3
    My approach was to clone DB and then change SID with nid utility. My understanding was that nid utility will also replace ASM file paths from CRAMPRD to CRAMSIT but that didnt happen.
    So issue is when I am checking my file paths on CRAMSIT it still refelect CRAMPRD eg - +DATA1/CRAMPRD. Is there any way to rename this directory paths in ASM so that it should reflect my SID.
    Regards,
    Nikhil Mehta.

    No, NID wouldn't change the ASM paths.
    I presume that you did set the ORACLE_SID to CRAMSIT on the non-RAC server before the restore.
    What you should have done is to set DB_UNIQUE_NAME='CRAMSIT'   (even with DB_NAME='CRAMPRD') on the non-RAC server before the restore.  Oracle would have used the DB_UNIQUE_NAME to set the ASM PAth  (note that during the restore it would have shown "restoring to +DATA1/CRAMPRD" but would have actually been restoring to "+DATA1/CRAMSIT").
    You will now have to use Oracle Support Note
      How to rename/move a datafile in the same ASM diskgroup [ID 564993.1]
    to rename the paths in ASM.
    Hemant K Chitale

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

  • Problem while cloning From RAC to Non RAC

    Hi
    Can any body help me to solve this problem occured while cloning my RAC database of EBS 12.06 to Non RAC
    APPS Password : Log file located at /dump/rmsbkp/db/tech_st/10.2.0/appsutil/log/RMS_devmdb1/ApplyDBTier_03240738.log
    - 50% completed Determining Source system database type ("single" or "rac").
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    error in opening zip file
    ERROR while running Apply...
    Wed Mar 24 10:42:07 2010
    ERROR: Failed to execute /dump/rmsbkp/rac/oracle/product/10.2.0/rac/appsutil/clone/bin/adclone.pl
    Please check logfile.
    oradev@devmdb1/dump/rmsbkp/rac/oracle/product/10.2.0/rac/appsutil/clone/bin$>
    I Passed the following parameters :
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [devmdb1] :
    Target Instance is RAC (y/n) [y] : n
    Target System Database SID : RMS
    Target System Base Directory : /dump/rmsbkp/rac/oracle/product/10.2.0/rac
    Target System utl_file_dir Directory List : /usr/tmp
    Number of DATA_TOP's on the Target System [2] : 1
    Target System DATA_TOP Directory 1 : /dump/rmsbkp/db/apps_st/data/RMS/datafile
    Target System RDBMS ORACLE_HOME Directory [dump/rmsbkp/rac/oracle/product/10.2.0/rac/db/tech_st/10.2.0] : /dump/rmsbkp/db/tech_st/10.2.0
    Do you want to preserve the Display [rmsmdb1:0.0] (y/n) ? : n
    Target System Display [devmdb1:0.0] :
    Do you want the the target system to have the same port values as the source system (y/n) [y] ? : y
    RC-50220: Warning: Database Port: 1525 is not free. Unable to preserve the port settings from source system.
    Target System Port Pool [0-99] : 7
    and here are the errors from logfile:
    /dump/rmsbkp/db/tech_st/10.2.0/appsutil/scripts/RMS_devmdb1/addlnctl.sh start RMS
    You are running addlnctl.sh version 120.1
    Logfile: /dump/rmsbkp/db/tech_st/10.2.0/appsutil/log/RMS_devmdb1/addlnctl.txt
    Starting listener process RMS ...
    Listener RMS has already been started.
    addlnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    checking DB Connection...
    DEBUG: checkDBConnection in()
    ADX Database Utility
    getConnection() -->
    sDbHost : devmdb1
    sDbDomain : mof.gov.kw
    sDbPort : 1528
    sDbSid : RMS
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@devmdb1.mof.gov.kw:1528:RMS
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devmdb1.mof.gov.kw)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=RMS)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devmdb1.mof.gov.kw)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=RMS.mof.gov.kw)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    DEBUG: checkDBConnection out()
    Thanks for your help
    Mohamed

    Hi I passed the correct parameters and i reached the following:
    / 50% completed Determining Source system database type ("single" or "rac").
    | 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    Wed Mar 24 12:53:05 2010
    ERROR: Failed to execute /dump/rmsbkp/RMS/rac/oracle/product/10.2.0/rac/appsutil/clone/bin/adclone.pl
    Please check logfile.
    In the logfile:
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : devmdb1
    sDbDomain : mof.gov.kw
    sDbPort : 1525
    sDbSid : RMS
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@devmdb1.mof.gov.kw:1525:RMS
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HPUX-ia64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devmdb1.mof.gov.kw)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=RMS)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HPUX-ia64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devmdb1.mof.gov.kw)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=RMS.mof.gov.kw)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devmdb1.mof.gov.kw)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=RMS.mof.gov.kw)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    Thanks
    Mohamed

  • 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

  • R12 cloning on RAC windows 2003 R2.

    Dear All Gurus,
    I'm facing this issue with R12 cloning on RAC environment in windows 2003 R2..
    Steps Followed:
    After preclone steps completed in Source servers
    then on Target server..
    1, On DB being in D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin>perl adcfgclone.pl dbTier
    error: perl is not recognized as internal or external command,
    so we made changes in .env (.cmd) file like,
    ORACLE_HOME:to new copied home
    ORACLE_SID; test2
    after we run the .env (.cmd) file.
    now again i run the perl adcfgclone.pl dbTier
    It is started, but then throw's an error like
    D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin>perl adcfgclone.pl dbTier 
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                            Oracle Applications Rapid Clone
                                     Version 12.0.0
                          adcfgclone Version 120.20.12000000.12
    Enter the APPS password : apps
    Running:
    D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre\bin\java.exe -Xmx6
    00M -cp D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\jlib\java;D:\oracle\p
    roduct\TEST2\10.2.0\db_1\appsutil\clone\jlib\xmlparserv2.jar;D:\oracle\product\T
    EST2\10.2.0\db_1\appsutil\clone\jlib\ojdbc14.jar oracle.apps.ad.context.CloneCon
    text -e D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\context\db\CTX
    ORIG.xml -validate -pairsfile C:\TEMP\adpairsfile_5128.lst -stage D:\oracle\prod
    uct\TEST2\10.2.0\db_1\appsutil\clone  2> C:\TEMP\adcfgclone_5128.err && echo %ER
    RORLEVEL% > C:\TEMP\adcfgclone_5128.res
    Log file located at D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\Clone
    Context_0622124927.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [testdb1] :
    Target Instance is RAC (y/n) [y] : y
    Target System Database Name : TEST2
    Do you want the the target system to have the same port values as the source sys
    tem (y/n) [y] ? : n
    Target System Port Pool [0-99] : 10
    Checking the port pool 10
    done: Port Pool 10 is free
    RC-50004: Error occurred in CloneContext:
    null
    Check Clone Context logfile D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\b
    in\CloneContext_0622124927.log for details.
    Running Rapid Clone with command:
    perl D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\adclone.pl java=D:\o
    racle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre mode=apply stage=D:\or
    acle\product\TEST2\10.2.0\db_1\appsutil\clone component=dbTier method=CUSTOM dbc
    txtg= showProgress contextValidated=true
    Running:
    perl D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\adclone.pl java=D:\o
    racle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre mode=apply stage=D:\or
    acle\product\TEST2\10.2.0\db_1\appsutil\clone component=dbTier method=CUSTOM dbc
    txtg= showProgress contextValidated=true
    APPS Password :
    You must define the target database context to use
            dbctxtg=<applications context file>
    Restart adclone.pl after performing required corrections.
    ERROR: Failed to execute D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin
    \adclone.pl

    Please follow the steps in (Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]) for the supported method to clone RAC-to-RAC.
    Thanks,
    Hussein

  • RMAN Cloning Hangs

    Hi, in RMAN cloning when i tried to execute the below script
    run{
    2> allocate auxiliary channel aux1 device type disk;
    3> allocate auxiliary channel aux2 device type disk;
    4> allocate auxiliary channel aux3 device type disk;
    5> duplicate target database to auxclone;
    6> }
    It hangs at the below point
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    after a long time i got the following error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/14/2010 18:34:18
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested cancel of current operation
    Any suggestions plsss...........
    Regards
    Balaji
    Edited by: user13254016 on Jun 20, 2010 12:08 PM

    user13254016 wrote:
    Hi, in RMAN cloning when i tried to execute the below script
    run{
    2> allocate auxiliary channel aux1 device type disk;
    3> allocate auxiliary channel aux2 device type disk;
    4> allocate auxiliary channel aux3 device type disk;
    5> duplicate target database to auxclone;
    6> }
    It hangs at the below point
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    after a long time i got the following error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/14/2010 18:34:18
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested cancel of current operation
    Any suggestions plsss...........
    Regards
    Balaji
    Edited by: user13254016 on Jun 20, 2010 12:08 PMhave you paused in between the process of rman cloning?
    RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested cancel of current operation
    then only you will get the above error. startup in nomount and then execute the script. of duplicate.

  • RMAN Cloning Sun to Linux?

    Hi All,
    Can I do a 10g RMAN cloning from Sun Solaris SPARC to Linux 4/5 ?
    If it possible please let me know the process as well.
    Thanks

    http://www.oracle-base.com/articles/10g/RMANEnhancements10g.php#cross_platform_tablespace_conversion
    How To Use RMAN CONVERT DATABASE for Cross Platform Migration - Note:413586.1
    10g : Transportable Tablespaces Across Different Platforms - Note:243304.1

  • 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 cloning rac+asm_cold backup

    Hi
    i have a RAC db v11.2 ,which uses asm and backed up using rman (cold backup, back'd up to asm diskgroup).
    is there any document on how to clone this db on the same cluster or remote cluster?
    if I clone on the same cluster then I guess I need to give it a new name too...
    can cloning change db characterset as well?
    Edited by: user9198889 on Jan 6, 2011 8:49 AM

    Hopes the below documents will help,
    Need Document/Steps for Cloning RAC 11g.
    http://download.oracle.com/docs/cd/E14072_01/rac.112/e10718/clonerac.htm
    http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf
    Thanks

  • RMAN duplicate from RAC with ASM to RAC with ASM

    I'm still reading and trying to figure out how to duplicate...and I'm finding that there are some extra considerations you have to work with with doing a RAC system.
    Does anyone have any good links to articles/docs that spell out what to do in this scenario?
    I'm wanting to duplicate from tape backups, using NO connectivity to the source/target....
    My tape backups do include the spfile and control files (autobackup) from the source.
    Thank you in advance,
    cayenne

    damorgan wrote:
    Possibly you are confusing a database with a database.
    A RAC database is a just a database. What is different is the instances, the clusterware, and the storage: For example ASM.
    A backup is a backup is a backup.
    Can you be more specific about what you are trying to do, on what hardware, operating system, version, and edition.
    RMAN can not create an instance either RAC or stand-alone.Thank you for the reply.
    I have my source system, OS = RHEL5, running Oracle 11Gr2...5 node RAC cluster.
    I'm doing RMAN backups to tape...hourly arch. logs, Daily incremental lvl=1 backups and weekly incremental lvl=0
    None of the tape backups have ever been tested for restoring...and I've never restored a database myself before, total noob here.
    I have a test area I've set up. I have a 2 node RAC cluster, running 11Gr2 and OS=RHEL5.
    The tape is accessible from both systems.
    I am wanting to test the tape backups...and thought the RMAN DUPLICATE process would be the way to go.
    I am wanting to NOT connect to the source database...trying to simulate somewhat of a disaster recovery scenario. I'm only wanting to use tape backup, and the test area for the auxiliary instance.
    So far what I've seen I need to learn to do is something like:
    1. Create a password file for new aux database to be duplicated to
    2. Establish Net connectivity...
    3. Create initial parameter file for aux instance
         Due to a bug in note:334899.1, add this (because of RAC system)
         norecovery_through_resetlogs=TRUE
    4. Start aux instance NOMOUNT
    Everything I'm reading though...is basically doing this from single instance to single instance...and what little info I've seen on doing it from RAC, indicates there are some differences. The "_no_recovery_through_resetlogs=TRUE" is one thing I found...but wondering what else.
    Also, so many of the examples I'm finding...are doing the duplication connecting to the target/source...and also doing backups to disk rather than tape...
    Right now, I'm at #1...trying to figure what to put into an init pfile...I'm seeing DB_name, which will be the same as the one I'm cloning from.
    I'm not sure what else....
    I'm wondering if this is necessary..since on the tape backups from the source...I backup the SPFILE...can that not be used somehow in this?
    I'm seeing for the init file, examples show that I need to put in entries for control files and redo logs....if the source system was down and gone...how would I know where these were on the old system? This isn't documented anywhere....is there a way to do this if you didn't know.
    If not..guess I need to go through all systems and document the layouts of where everything is located.
    Also...most examples I'm finding, in addition to being single instance backup and restore/duplication...they are all using regular file systems....not much to go on with using ASM.
    Anyway, I'm trying to learn here...and am having trouble finding examples to go from that match my setup.
    Thank you in advance,
    cayenne

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

Maybe you are looking for

  • Dynamically Change icon (like iCal icon) (iPhone OS 3.1)

    I'd like to be able to change the icon in a tab bar to reflect the current date...rather, I'd like to have a background image, with the date as a number on top of that-basically what the iCal icon on OS X does. Is there a way to create the number on

  • Lightroom educational order

    Can I send document proof of educational status after having placed an order?

  • SAPbouiCOM.DBDataSource.Query and Date fields

    When I try to add a Condition that uses an Alias for a database field of type datetime, the Query method crashes. Is there a specific Date format that I am supposed to use? I am currently using the SAP date format and I also tried the database date f

  • Doubt in Extended Syntax check

    Hi all ,               I am facing a problem when i do a Extended Syntax check for a program . The message i am getting is as follows : Messages for CALL FUNCTION interfaces(Todo Prio3) Program:  SAPLZC_BWSPI  Include:  LZC_BWSPIF01  Row:    496  [Pr

  • Need of MQ series and AQ (Oracle Advanced Queues)

    I had wroked on a project where we implemented jms [point to point approach ] on oracle9IAS [orion] . There was a queuing mechanism for the same . Now I want to ask, where arise the need for MQ and AQ. Are they just APIs for implementing JMS in Websp