RAC Cloning using hot backup

Hi,
can somebody help me with the steps for cloning 2 node to 2 node RAC, using hot backup.
Thx.

Actually, the procedure to clone a RAC database do not differ substantially from those of a single-instance database.
You can perform your cloning as if it is a single instance database and once you have your single instance up, you just have to add another instance - and the high level steps would be:
1) Preparing the init.ora file for the second instance.
2) Adding the redo logs for thread 2;
3) Updating the OCR
HTH
Thanks
-Chandra Pabba

Similar Messages

  • Recovery using Hot Backup

    We have to create a new enviornment(pre-prod) using Hot backup (restore from tape of last week) of the current prod DB, we have installed the same version of software as in prod and prepared init file but i am not sure about how we are going to do the recovery from last week backup,it would be a incomplete recovery as they want data till last week only,to my knowledge..we will create a new control file and open the DB using resetlogs...please can somebody help/guide me more on this...please share the steps required.
    Thank You

    We have to create a new enviornment(pre-prod) using Hot backup (restore from tape of last week) of the current prod DB, we have installed the same version of software as in prod and prepared init file but i am not sure about how we are going to do the recovery from last week backup,it would be a incomplete recovery as they want data till last week only,to my knowledge..we will create a new control file and open the DB using resetlogs...please can somebody help/guide me more on this...please share the steps required.If you have backup of one week older, then
    1)startup instance in nomount status
    2) check the logfile of RMAN for controlfile backup piece
    or from Production give below command and check for the backup of the last week controlfile.
    RMAN> list backup of controlfile;
    note the backup piece
    3) again back to pre-prod
    RMAN> restore controlfile from 'backup piece';
    5) SQL> alter database mount;
    6) RMAN> Restore database;
    after restore database open database with resetlogs, If you see any inconsistency apply archives 1/2 or as needed for consistency. and open database with resetlogs.
    Here duplicate from active database wont work as you want 1 week older data.

  • Dataguard setup using hot backup files

    Hello,
    I am planning to setup dataguard using Hot backup (Not RMAN) files from the primary instance. I have a few doubt as, How shall I recover the Standby database using the archive files generated while taking hot backup of primary? Shall I directly execute the "alter database recover managed standby database" command? Will this command take care of the archives generated durring hot backup also?
    Appreciate any help on the above.
    DB Version:10.2.0.4
    Regards.

    Guys by using below procedure you can rebuild your data gurad by using manual hot backup.
    1) On the primary database, defer the archival of redo data .
    ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=DEFER;
    2)
    put primary database in backup mode
    copy all the datafiles from primary database to Standby database (you can copy to other location in primary server and tar&zip it and send it to stand by and unzip and untar there)
    Once you copy the datafiles to another location on primary server,you can use below command for tar and zip
    go to the copied datafiles location and issue below command
    tar cvf - .|gzip -c > /dump/backup/drdb_backup.tar.gz
    put primary database in end backup.
    3) create stabdby controlfile by using below command and send it to standby server
    alter database create standby controlfile as '/dump/drbackup/2standby.ctl'
    4) copy all generated archive logs (from the time of database begin abckup) from primary database server to standby database log_archive_dest location.
    5) on standby database once we placed all datafiles and controlfiles in place use below commands
    export ORACLE_SID=standbydb
    SQL> starup nomount;
    SQL> alter database mount standby database;
    SQL> recover standby database;
    --AUTO
    SQL> alter database open read only;
    SQL> shut immediate
    SQL> startup nomount;
    SQL> alter database mount standby database;
    SQL> alter database open read only;
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    6) On the primary database, issue the following statement to reenable archiving to the physical standby database:
    SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE;
    Thanks & Regards,
    Satish Kumar Sadhu.
    Edited by: Satish Kumar Sadhu on Apr 10, 2013 11:05 PM

  • Cloning Using Cold Backups !!!!

    Dear All,
    Greetings,
    I Want To Ask What Are All The Files And Directories That I Need To Copy From The Original Server To The Destination To Perform A Cloning From Cold Backups ?
    The Second Thing, Can You Plz, Tell Me The Complete Steps To Perform This Cloning .
    Plz, It's Urgent
    Thank You .
    Guivara

    Hi Guivara,
    Sabar given urls that would be useful for your requirement.
    Generally for cold backups
    We need to take the below's from your original server.
    Control Files,
    Redo log files,
    all Data files
    After restore those files into your destination, you should edit/modify the original server files to destination server path.
    For example,
    System.dbf is located on /u01/oracle/product/9iR2/oradata/' but in destination server you want to put other location, then you should change the path using
    Alter database rename .....
    Cheers,
    Moorthy.GS

  • How to Restore datas in Oracle 10g using hot backup?

    I did Hot backup things (On-line backup) in Oracle 10g (Windows environment)
    Now backup files are stored in physical location..
    How to restore the datas to original location..
    Can any one give the url or command for recovery in ora 10g for hot backup
    Thanks

    Please do not dump all of your work in this forum, and expect volunteers to do it for free!!!
    Dear Great Senior DBA Sybrand Bakker
    What are Oracle Discussion Forums?
    Oracle Discussion Forums is an interactive community for sharing information, questions, and comments about Oracle products and related technologies. Most forums are moderated by product managers, and all of them are frequently visited by knowledgeable users from the community
    oracle forums is not your place for showing “bossing” it is a place where junior to seniors share there knowledge and advices, it means helping and sharing….. Knowledge is for giving ….giving only it will increase… don’t discourage any one like this ……
    There are my Great Seniors (not like u) mainly respected Mr. Jonathan Lewis, Mr. Don Burleson and a lot of oracle nominated ACE members are all giving patiently replay to jr. to sr.
    Obeasley oracle doubts are mostly related to practical issue only……
    Pls try to learn the word meaning of “volunteers”

  • Cloning using rman backups?

    Is it possible to clone using RMAN backups?
    How do we do it . Please tell me the steps of configuring.

    Hi,
    Let's take the example to create the auxiliary (clone) database using the rman backup in same server.
    1)Building the auxiliary database directory structure
    a) datafile, control file, redo file location
    b) pfile,bdump,cdump,udump
    2) Create the pfile from spfile (if required) and use it for auxiliary database with appropriate modification
    3) Make all the necessary changes to your aux1 init.ora file
    control_files=….
    background_dump_dest=….
    user_dump_dest=…
    log_archive_dest_1=….
    db_name=‘aux1’
    instance_name=‘aux1’
    remote_login_passwordfile=exclusive
    4) Start aux1 instance in nomount mode
    ORACLE_SID=aux1
    export ORACLE_SID=aux1
    sqlplus /nolog
    sql>connect / as sysdba
    sql> startup nomount pfile=/test/initaux1.ora
    5)Configure the listener and tnsname.ora file for auxiliary database. Restart the listener.
    lsnrctl>stop
    lsnrctl>start
    listener.ora entry
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = AUX1)
    (ORACLE_HOME=/ORAHOME1/)
    (SID_NAME = AUX1)
    TNSNAMES.ORA ENTRY
    AUX1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxx) (PORT = 1521)
    (CONNECT_DATA =
    (SID = AUX1)
    (SERVER = DEDICATED)
    6) Connect to the target and auxiliary instance and run the duplicate command
    Rman>connect target /
    Rman>connect auxilary sys/password@aux1
    RMAN> connect target sys@prod
    target database Password:
    connected to target database: aaaa (DBID=4199802962)
    RMAN> connect auxiliary sys@aux1
    auxiliary database Password:
    connected to auxiliary database: aux1 (not mounted)
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'C:\AUX1\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'C:\AUX1\UNDOTBS01.DBF';
    5> set newname for datafile 3 to 'C:\AUX1\CWMLITE01.DBF';
    6> set newname for datafile 4 to 'C:\AUX1\DRSYS01.DBF';
    7> set newname for datafile 5 to 'C:\AUX1\EXAMPLE01.DBF';
    8> set newname for datafile 6 to 'C:\AUX1\INDX01.DBF';
    9> set newname for datafile 7 to 'C:\AUX1\TOOLS01.DBF';
    10> set newname for datafile 8 to 'C:\AUX1\USERS01.DBF';
    11> DUPLICATE TARGET DATABASE TO aux1
    12> LOGFILE
    13> GROUP 1 ('C:\aux1\redo01.log') size 100m reuse,
    14> GROUP 2 ('C:\aux1\redo02.log') size 100m reuse;
    15> }

  • RAC cloning using VMWare

    hello,
    Just curious if anyone has looked into cloning their RAC enviornment running on VMWare?
    so create a vmware RAC template and then use it to create other RAC enviornments.
    What would be some of the issues involved given the multiple layers?
    Thank You.

    First, I would never EVER use VMware for a RAC environment. RAC = High Availability. Splitting a single host into multiple "little" systems, then using RAC is IMProfessionO down right idiotic. Because as soon as the "host" system crashes, you no longer have HA. The only thing that I would "maybe" consider it for a test or even dev environment but never for production.
    That being said, have you looked at the documentation?
    http://www.oracle.com/technetwork/products/clustering/oracle-rac-in-oracle-vm-environment-131948.pdf

  • Database cloning using cold backup

    Hello Guys,
    I am doing cloning of a database from cold backup for testing, actully one datafile has been croupted, so my issue is that, can i exclude tht datafile from controlfile when creating the controlfile and is that poosible that controlfile will created sucessfully and database will open sucessfully.
    Please reply.
    Thanks

    @asif, @ckpt
    With humble, how all you know that corrupted datafile is not belonging to system and undo tablespace? If this case, then do you think we can restore that corrupted cold-backup ? Sorry, but this is not the way to just start providing help without asking OP :
    1.Current Oracle Version ?
    2.Where he want to restore i.e. restoring platform info Oracle version OS ?
    3.After cold backup how he came to know that one datafile is corrupted ?
    4.When and how datafile became corrupted ?
    5.How he taken cold backup ? Was db running fine just before shut immediate for cold backing ?
    6.What he has done so far to restore the cold backup ?
    7.What error he is getting right now ?
    Here problem is corrupted datafile. So, first let come problem clear from OP, ask all missing question in one go, and then start helping is the right way... (my personal opinion, may be wrong!).
    Regards
    Girish Sharma

  • DB cloning using cold backup

    Hi,
    I have a database cold backup. Need to open the database in a new server with that cold backup by applying the production archives on it. How to force fully apply the archives on it.????
    Regards,
    007

    Hi;
    Yes you can apply archivelog to your system.Please see
    Cold backup and Archived Logs
    Cold backup and Archived Logs
    Also see:
    http://www.dbasupport.com/forums/showthread.php?t=57932
    Regard
    Helios

  • Unique Error while doing hot backup Cloning!

    Dear All,
    I am using EBS 11.5.10.2 with DB 9.2.0.6.
    I am doing hot backup cloning by referring *[Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1]*
    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.When I check the FND_NODE table I found that there server id was empty in it.
    I have to run than run the following steps as the resolution:
    1. Shutdown all the services.
    2. EXEC FND_CONC_CLONE.SETUP_CLEAN;
    3. COMMIT;
    4. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers,to repopulate the required system tables.
    5.start all the services and verify the issue.
    Than application behaves normally.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?
    Please suggest,
    Anchorage :)

    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.Where did you get this error?
    This is very strange, how come this happens in Production, when you are doing cloning in TEST/DEV instance.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?I feel there are no other additional steps, as I Recently did successfully hotbackup cloning using the same document.

  • RAC to NON-RAC Cloning in R 12 using Rapid Clone

    Hi,
    We are using EBS 12.0.4 with DB version Oracle Database 10g Enterprise Edition Release 10.2.0.4.0.
    Initilally the RAC to non RAC cloning were not supported using rapid clone for this.But from Oct 19 Oracle has certified the same.
    Can anybody specify me the document which contain the step by step process for RAC to NON-RAC Cloning using Rapid Clone.I cant find this.
    Regards,
    Susmit

    Hi;
    Please check below previos thread:
    Cloning RAC to non RAC
    RAC -> NON RAC ebiz clone
    Re: Clone Oracle Apps 11.5.10.2 RacDB to Non-RAC DB
    Regard
    Helios

  • Metalink Ids for hot backup clonning

    Hi i want to perform hot backup clonning in R12 single node to single node and single node to multi node,
    Please tell me the metalink ids

    Hi,
    Please see these docs.
    Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1
    Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment. [ID 362473.1]
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    RMAN Guides
    http://www.oracle.com/pls/db112/homepage
    Thanks,
    Hussein

  • Hot backup slow

    Hi,
    I am working in oracle8i.We are using hot backup in our database. Normally it takes 2 hrs to complete the backup process.
    but today it took 5 hrs to complete the backup process. Kindly let me know what are the possible ways to identify the solution for taking more time.
    Rgds.

    Hi,
    There could be any number of reasons for the backup taking longer - but here are a few likely candidates:
    The server was busier than usual - run top to see if anything unusual is hogging CPU.
    The database was busier than usual - did someone run a large report/update
    Tape drive contention - do you share a tape device with another app?
    The database has grown significantly.
    Cheers,
    Andy Barry
    http://www.shutdownabort.com

  • Implementing Hot Backups

    HI ,
    i am new to the idea of hot backups , so need abit of advice on how to implement them by using RMAN and User based techniques
    a little bit abt my production environment
    Oracle 9.2.0.6
    EBS 11.5.10
    OS is HP UX 11.11
    earlier i used to get downtime of 2 hrs , so iused to cold backups wid RMAN as well OS based techniques , now due to 24 hr system requiremnt
    i have to use hotbackups, DB size is 200GB, how can i use hot backups so as my system works efficiently without any extra load

    Soli wrote:
    Hi,
    Each tablespace that needs to be backed-up must be switched into backup mode before copying the files out to secondary storage.
    This can be done as shown below:
    ALTER TABLESPACE xyz BEGIN BACKUP;
    ! cp xyfFile1 /backupDir/
    ALTER TABLESPACE xyz END BACKUP;
    The above would only be for user managed backups, which the OP has no reason to be doing. We should be guiding him in how to use rman, not in how to use obsolete techniques -- <b><i><u>ESPECIALLY</u></i></b> since he is new to the whole subject of backups and would easily be confused by mixing the techniques.
    Recovery Manager command:
    run {
    allocate channel t1 type `SBT_TAPE';
    backup
    format `df_%s_%t'
    (datafile 10);
    When Recovery Manager executes the above command, it sends the Oracle backup request to the Oracle server performing the backup.
    The Oracle server process identifies the output channel as the type `SBT_TAPE', and requests the Media Management Library to load a tape and write the output specified.
    but ther you must ask sysadm which storage you use and how to backup there.
    btw.
    there is link how to setup RMAN
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/setup004.htm
    Regards,
    Tom
    http://oracledba.cz

  • Need some advice about hot backup under linux

    hi, I want some advice about db files hot backup between two machines(Named A and B).A is primary machine which will write and read database and have the lastest db file. B is backup role and no database file in it.
    Now I want hot backup A's db file to B in order to B have the lastest db file too.
    At A,my db file support transaction and environment, and I set autoremove unnecessary log files.
    The code such as follows:
    dbenv->set_flags(dbenv, DB_AUTO_COMMIT |DB_LOG_AUTOREMOVE | DB_TXN_WRITE_NOSYNC, 1);
    ret = dbenv->open(dbenv, NULL,
    DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN ,0)
    I don't want to use db_hotbackup utility. and db_hotbackup may be backup files to the same machine with different dir.
    How can I make machine A's db files backup to machine B.
    Thanks for your help.
    Best Regards
    hangsy

    Hi Hangsy
    Now I want hot backup A's db file to B in order to B
    have the lastest db file too.What do you mean? Do you want to have the latest version... from when you did the latest backup, or you want to keep it updated in the same time with the main database?
    I don't want to use db_hotbackup utility. and
    db_hotbackup may be backup files to the same machine
    with different dir.You can copy the backup anywere you want.
    If you want to run recovery on a different machine, it must be the same pointer size and endianness as the original machine.
    Database and log file archival: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/archival.html
    It is usually simpler to take the hot backup on the main machine and run recovery there before copying the databases to the remote system.
    In this setup, only the databases are required on the remote system, not the log files.
    Since you are using NOSYNC, you should run a checkpoint which will ensure you that the database files are up to date.
    Please read "Recovery procedures" ( http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/recovery.html ) first. "you cannot perform a hot backup of databases and log files, restore the backup and then run normal recovery -- you must always run catastrophic recovery when using hot backups."
    Regards,
    Bogdan Coman

Maybe you are looking for

  • How to create a browser to view JPEG files?

    Hi people, just wondering if anyone knows how to create a simple browser to view JPEG or some other image files?...Is there e.g. or tutorial provided by Sun on this... AG

  • I have a MacBook Air...I am having a very hard time loading some websites

    I am having a very hard time with some websites opening on my computer, but when I try to open them on my daughters computer(not an apple) it opens immediately

  • How can I view the number of messages in each folder

    I have just installed TB 24.4.0 on a new Windows 8 desktop. On my older Windows 7 desktop also running TB 24.4.0, the folder pane is configured to display the number of messages and space usage of each folder. Both machines are set to the same "class

  • NO PRICING CONDITION IN P.O

    Dear All, Good Morning ,                                     user had made a p.o with all conditions req.in FV11, as he sees that all cond. are visible in taxes tab in invoice when user displays P.o but he also have to enter values in condition tab a

  • Default File Type for New Forms - How to change?

    Hi, How can I change propperty: Default File Type for New Forms? It is enabled! Do I have to be Administrator to change it? I have SAP ALL.. SFP -> Layout -> Tools --> Options -> Document Handling tnx, Adibo.