ASM database cloning

Oracle 10.2 is running on Unix ASM file system. I want to clone this database to another Unix server using cold backup and recreate the controlfile with new db name
from ASM file system to non-asm file system

user8934564 wrote:
Can I take rman cold backup from source server and move the backup to target server and execute it in target(auxiliary) server ?What are you asking? You don't 'execute' a backup.
Are you asking if you can restore an rman cold backup onto a different server, createing a copy of the original database. If that is you question, the answer is "yes", and you've been given at least two differente references on how to accomplish it. Do you have any more specific questions? Something in one of the references that you are having difficulty understanding?

Similar Messages

  • COLD BACKUP DATABASE CLONING with +ASM

    Hi,
    I need some help to clone the database using Cold backup with +ASM. Can somebody help me on this
    Here is the steps we did on Source Database.
    1. Copied all the $ORACLE_HOME from Source to TARGET.
    2. Created pfile from spfile.
    3. Created backup control file on the Source.
    Questions:
    =======
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN?
    Please let me know what else need to do to bring up the TARGET database.
    Thanks
    Dheeru.

    Hi,
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?Not necessarily.
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN? Yes, use RMAN to clone/duplicate the database.
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    Cloning ASM database using RMAN Duplicate
    http://oracleandme.blogspot.com/2007/08/cloning-e-biz-using-rman-duplicate.html
    Thanks,
    Hussein

  • Cloning ASM database on windows 2003.

    Guys,
    Can someone please share steps regarding cloning ASM database, I am done with creating the ASM instance on the target server and I want to create the test database from the production DB ( which is also on ASM ). OS is windows 2003 and any help is appreciated on this.
    Thanks.

    Can someone please share steps regarding cloning ASM database,Clone as you have done in the past.
    RMAN, Oracle & none of the other utilities knows or cares about underlying filesystem.

  • Ora-1276 cannot add controlfile - rman duplicate asm database

    Hi,
    I am trying to duplicate an asm database olddb -> asm database dup in the same diskgroup. somehow got error 0ra-1276 Cannot add file +DISK1/dup/controlfile/current.1669.754164181.  File has an Oracle Managed Files file name.
    There is nothing in the asm directory +DISK1/dup/controllfile before I run the rman.
    in the initdup.ora
    control_files=+DISK1,+DISK1 <--- just the disk group, not the file name
    db_name='dup'
    db_file_name_convert=+DISK1,+DISK1/dup
    log_file_name_convert=+DISK1,+DISK1
    Recovery Manager: Release 10.2.0.5.0 - Production on Sat Jun 18 20:58:06 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN> connect target sys/oracle@OLDDB
    connect auconnected to target database: OLDDB (DBID=1142960293)
    RMAN> xiliary /
    connected to auxiliary database: DUP (not mounted)
    RMAN> duplicate target database to dup
    logfile group 1 ('+DISK1/dup') size 200k ,
    group 2 ('+DISK1') size 200k;
    2> 3>
    Starting Duplicate Db at 2011/06/18 20:58:39
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=153 devtype=DISK
    WARNING: DB_FILE_NAME_CONVERT resulted in invalid ASM names; names changed to diskgroup only.
    contents of Memory Script:
    set until scn 1613638;
    set newname for datafile 1 to
    "+DISK1";
    set newname for datafile 2 to
    "+DISK1";
    set newname for datafile 3 to
    "+DISK1";
    set newname for datafile 4 to
    "+DISK1";
    set newname for datafile 6 to
    "+DISK1";
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 2011/06/18 20:58:42
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +DISK1
    restoring datafile 00002 to +DISK1
    restoring datafile 00003 to +DISK1
    restoring datafile 00004 to +DISK1
    restoring datafile 00006 to +DISK1
    channel ORA_AUX_DISK_1: reading from backup piece +DISK1/OLDDB/backupset/2011_05_22/nnndf0_tag20110522t000530_0.1691.751766731
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=+DISK1/OLDDB/backupset/2011_05_22/nnndf0_tag20110522t000530_0.1691.751766731 tag=TAG20110522T000530
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:06
    Finished restore at 2011/06/18 20:59:48
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUP" RESETLOGS ARCHIVELOG
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    MAXINSTANCES 32
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 ( '+DISK1/dup' ) SIZE 200 K ,
    GROUP 2 ( '+DISK1' ) SIZE 200 K
    DATAFILE
    '+DISK1/dup/datafile/system.1674.754174727'
    CHARACTER SET WE8ISO8859P1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/18/2011 20:59:48
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file +DISK1/dup/controlfile/current.1669.754164181.  File has an Oracle Managed Files file name.
    RMAN>
    thank you very much for your help.
    thanks
    andrew

    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file +DISK1/dup/controlfile/current.1669.754164181.  File has an Oracle Managed Files file name.Are you sure is it running under pfile?
    Ok, connect to auxiliary intance and post
    show parameter db_create
    show parameter control_filesIn your pfile, Have you mentioned single quotes?
    If your database with OMF then if you give it as below. as there is some work around
    Control_files='+DISK1/DUP/controlfile/control01.ctl','+DISK1/DUP/controlfile/control02.ctl'
    Check this too *Ora-1276 Error Recreating The Controlfile When Using +Asm [ID 303187.1]*

  • Step by step procedure to start and stop ASM database.

    Hi All,
    could any one tell me the steps to start an ASM database manually in windows ?
    derick

    I just want to start the data base.....
    C:\Documents and Settings\Administrator>set ORACLE_SID=ASM1
    C:\Documents and Settings\Administrator>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 3 17:13:04 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+ASMDG/ASM1/spfileASM1.ora'
    ORA-17503: ksfdopn:2 Failed to open file +ASMDG/ASM1/spfileASM1.ora
    ORA-15077: could not locate ASM instance serving a required diskgroup
    SQL>

  • Database cloning in 10g RAC

    hi any body help me,
    How to clone using rman in Oracle 10g R2 RAC environment.

    step by step documentation for cloning RAC database.
    refer:
    RAC Database cloning with HOT Backup
    http://www.dba-oracle.com/t_rac_cloning_hot_backup.htm.
    hope, this helps you.

  • Backup from ASM database

    Hi,
    I have an ASM database instance in Oracle 10g in windows XP environment.
    I want to know how to take backup from ASM database and store it in tape drive.
    Thanks in advance.
    Regards,
    A.Mohammed Rafi

    Thanks for the immediate reply.
    Since I am very new to this concept could you please let me know how to perform backup through RMAN.
    Also let me know whether backup through RMAN generates any dump file so that it can taken to tape or can be used for import.
    Once agains thanks a lot....

  • Listener error when configuring ASM database

    Hi There,
    I've currently installed the Oracle grid infrastructure 11.2. and the Oracle 11.2 database software on Linux 5.5. The document I am following tells me to add this entry to the listener file I am confused ... Shuold there be two Listeners on the server? One for Grid Infrastructure and one for the database software. When I installed the Grid Infrastructure it installed a listener under the GRID oracle home. Thanks
    46. Set-up a $ORACLE_HOME/network/admin/listener.ora file as detailed in the File Listings below.
    Document i am using:
    http://www.oracle-wiki.net/startdocshowtoinstalloracle11glinuxasm
    As well, once I got to #25 I can not log into SQLPLUS so i had to skip to #39 and then go back .....
    Please help I am very new to ASM.....
    J

    user560159 wrote:
    Ok So I don't even have the ASM database created yet. I just updated the listener.ora file under the grid oracle home and stopped the listener user srvctl now it won't start up anymore ....... HELP PLEASE!
    Jmove/rename listener.ora to new/different name
    No listener.ora file is required.
    listener will start without having any listener.ora file present
    try it
    You'll like it!

  • Partial EBS Database Cloning

    Hi
    Is it possible to have a cloning strategy of bringing over a small percentage of data to the non-prod environments during the database cloning process for an EBS Env? Say 50% in Test and 25% in Dev.
    If possible this would cut down on long-term storage cost and data liability, but I am not sure if this is possible. If possible then I would like to understand the amount of effort how this would be implemented.
    Has anyone done this? Any pointers will be much appreciated. We are on R12.1.3 with HR and Payroll.
    Thanks

    1002216 wrote:
    Hi
    Is it possible to have a cloning strategy of bringing over a small percentage of data to the non-prod environments during the database cloning process for an EBS Env? Say 50% in Test and 25% in Dev.
    If possible this would cut down on long-term storage cost and data liability, but I am not sure if this is possible. If possible then I would like to understand the amount of effort how this would be implemented.
    Has anyone done this? Any pointers will be much appreciated. We are on R12.1.3 with HR and Payroll.
    ThanksRapid Clone doesn't support partial cloning.
    One of the options would be cleaning/purging the data on the target instance once the full/complete clone is done -- Search the forum for cleaning/purging and you will get many hits.
    Thanks,
    Hussein

  • Database Prunning and database cloning?

    Hi,
    I would like to get help from someone about the database cloning and pruning can i get it?
    thx
    pradeep

    Hi, plase review the next thread into this forum
    Re: cloning using rman backups?
    cloning
    Good luck.
    Regards.

  • ASM to non-ASM database duplicate-ORA17503:ksfdopn:2 Failed to open file

    Hi,
    I am trying to duplicate an ASM database in to non-ASM database.
    Having trouble when trying to start the duplicate database, it is looking for the redologs which are there in the ASM diskgroup in the production database, but the duplication database is non-ASM,
    The database version is 10.2.0.4 on HP-UX 11.31
    ORA-00313: open failed for members of log group 11 of thread 1
    ORA-00312: online log 11 thread 1: '+DATADG/orcl/onlinelog/group_11.302.670427231'
    ORA-17503: ksfdopn:2 Failed to open file +DATADG/orcl/onlinelog/group_11.302.670427231
    ORA-15001: diskgroup "DATADG" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    Sun Aug 21 14:20:14 2011
    Errors in file /u01/app/oracle/admin/orcl/udump/orcl_ora_12482.trc:
    ORA-00367: checksum error in log file header
    ORA-00305: log 12 of thread 2 inconsistent; belongs to another database
    ORA-00312: online log 12 thread 2: '/oradbstg/oradata/orcl/redo01.log'
    Sun Aug 21 14:20:14 2011
    RESETLOGS after incomplete recovery UNTIL CHANGE 3632387878
    Resetting resetlogs activation ID 1179611173 (0x464f7025)
    Sun Aug 21 14:20:14 2011
    Errors in file /u01/app/oracle/admin/orcl/udump/orcl_ora_12482.trc:
    ORA-00313: open failed for members of log group 7 of thread 1
    ORA-00312: online log 7 thread 1: '+DATADG/orcl/onlinelog/group_7.298.670427121'
    ORA-17503: ksfdopn:2 Failed to open file +DATADG/orcl/onlinelog/group_7.298.670427121
    ORA-15001: diskgroup "DATADG" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    Sun Aug 21 14:20:14 2011
    Errors in file /u01/app/oracle/admin/orcl/udump/orcl_ora_12482.trc:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
    ORA-600 signalled during:  alter database open RESETLOGS...Any help would be appreciated.

    When you are performing this task , is the ASM diskgroup "DATADG" mounted or existed.. try to figure out that first whether the diskgroup is mounted/existed or not .. And also when incomplete recovery is performed oracle creates the online redolog files when you start the db with resetlogs..
    you can go through the following link :
    http://oracleinstance.blogspot.com/2010/08/duplicatecloneconvert-asm-file-system.html
    Cheers!

  • Automatic ASM & Database up After starting CRS

    Hi Experts,
    My CRS version is 11.1.0
    Due to certain problems, CRS unable to communicate with daemons.
    Later after stopping & starting CRS daemons, ALL the ASM & Database came up automatically. I like to know how it will start all these automatically?

    784585 wrote:
    I can verify and trouleshot.
    My question is how the ASM & Database came up automatically?#crsctl start crs
    will start all the resources available in the clusterware
    that why ASM and Database Instances came up.
    check your crs logs. you will understand.
    after restarting or reboot the system you have to wait for sometime ,
    #crs_stat -t
    if the resources status is either offline or unknown you should check your crs logs.
    you can stop and start the services as you have done.
    #crsctl stop crs
    #crsctl start crs
    as you written, by seeing logs, you can verify and troubleshoot

  • Move datafile from asm datafile database to non asm database

    Hi Nice morning all DBA Guys, I want move datafile from asm database datafile to non asm configurated database. Hoe to move this?
    Datafiles like this
    +DATA/saico/datafile/users.259.631612183
    +DATA/saico/datafile/DBA.XXX.XXXXXXXXX
    Regards
    S.Azar

    The all files movement of asm to non-asm and vice-versa is given in document id 252219.1 on metalink. Please look at the same. In nut shell you have to do the following:
    1. Start your database with ASM.
    2. Create pfile from spfile.
    3. Edit pfile to reflect controlfile name in file system location.
    4. SQL> Startup nomount.
    5. Use RMAN to copy the control file from ASM to NON-ASM.
    RMAN> RESTORE CONTROLFILE FROM '<filename_of_old_control_file>';
    6. SQL> alter database mount;
    7. Use RMAN to copy the database from ASM to NON-ASM.
    RMAN> BACKUP AS COPY DATABASE format '/u01/oradata/nonasmdb/datafile/%U';
    8. From RMAN
    RMAN> SWITCH DATABASE TO COPY;
    Regards.

  • What is the exact difference between Database Cloning and Database Refresh?

    Hi,
    Can anybody tel me the exact difference between Database Cloning and Database Refresh?
    I Have some conflicts in these topics.
    Thanks
    Rajesh

    Refresh is what it says, "refresh" . You have a main site which would always have the data being inserted into it. There would be another site which would remain some where else . This site needs to be refreshed with the primary site. So you need to do export from the primary, push it to the secondary site and done!
    HTH
    Aman....

  • Database Cloning or Software Cloning

    Hi,
    Can anyone explain what is database cloning & software cloning available in oracle 10g ?
    With Regards
    Kccrga

    In addition to the above replies.
    Let's say you have a Production database (PROD) is running on Linux/Unix Server (AAA). Here you wanna clone your database and Oracle Home (Oracle Software Direcotries) from Server AAA to server BBB. Oracle Home cloning is nothing but software cloning.
    Software Cloning: This can be done only once until and unless any Oracle Patch applied on it.
    Database Cloning/Refresh: This needs to be done whenever the updated datais required in the test/developement databases from production.
    Software Staging: This can be done once when we install Oracle Software. It means that we need to copy the Oracle Software CDs in one area on the server for the future installation of the same software.
    Regards,
    Sabdar syed.

Maybe you are looking for

  • Dynamically construct Target/Source Directory in File Adapter

    Hi All, Is it possible to Dynamically construct target/Source Directory in File Adapter? If yes can anyone plz provide details about the same. regards Vinay

  • Import a 2nd Photoshop Elements Catalog into Lightroom 2.1?

    Okay Lightroom Gurus ... On my old computer (Windows XP), I had several Photoshop Elements 5 catalogs, one of which was my main catalog, and the others were photos I hardly ever used. I imported the main catalog into Lightroom 2 just fine and have be

  • Com.sap.aii.ibrep.sbeans.upload.RemoteUploadException:

    Hi I'm trying to import an Z-idoc to the XI integration repository, but the import fails with the following message: Import failed with 1 error com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: The objects as displayed in the navigation tree are

  • How to invoke bpel?

    hi, when i used "axis2", "axis" or "DII" to invoke webservice of "bpel", the myeclipse's console also point out the message as this: " _wsaAction='null'_", and i found that it may be the bpel wsdl file isn't complete from our forum. but the wsdl is c

  • Acs+wlc2106+ap+wet200-eap_tls

    I have a problem with EAP-TLS in network consisting from ACS+WLC2106+AIR-LAP1242+WET200. Network is working - I mean APs are authenticated to WLC and there is a connectitivity if I try WPA preshared key. But with EAP-TLS ACS reports "EAP type not con