Thursday, January 31, 2008

Steps Involved in Cloning R12 e-Business Suites Environment (Single Node)

Cloning is the process of creating an identical copy of an existing Oracle Application System. The new and existing systems must have component versions and platform type identical for cloning.

I am going to discuss the steps involved to Clone a Single Node system in R12 EBS.

Source Instance Name : r12a.quickoracle.com
Target Instance Name : r12b.quickoracle.com

Preparation to clone the Oracle Application System (Source).

1) sudo su - appl
<sid> user.

2) execute the Consolidated Applications enviornment file.

$cd $APPL_TOP
$.APPS<context_name>.env

3) zip utility should be in your PATH.

$ PATH=$PATH:<Location of zip utlity installed on your system>
$ export PATH

4) Stop all Apps Tier Server processes.

$ cd $INST_TOP/admin/scripts
$ adstpall.sh APPS/<passwd of APPS user>

5) Verify latest Rapid Clone patches on metalink and apply if required.(Not applicable)

6) On Apps Tier run AutoConfig and after that on Database Tier.

Apps Tier:

$ cd $INST_TOP/admin/scripts
$ adautocfg.sh

DB Tier:

RDBMS HOME = $ORACLE_HOME
$ cd $ORACLE_HOME/appsutil/scripts/<context_name>
$ adautocfg.sh

  • Pre-Clone Steps Starts from Here


  • 1. DB Tier preparation for Cloning :

    On Source System:

    a) login in as Oracle user : $ sudo su - oracle

    b) Run the following commands:

    RDBMS HOME = $ORACLE_HOME

    $ cd $ORACLE_HOME/appsutil/scripts/<context_name>
    $ perl adpreclone.pl dbTier

    2. Verify the errors and warnings in the log.

    RDBMS_HOME = $ORACLE_HOME

    Location of the log file StageDBTier_

    7 comments:

    kuldeep said...

    the doc which u provided is really useful one...thnx...can u provide a doc which can tell us clearly what things need to be done in the target system after sftp or tar ( from source system)
    If you can provide step by step information when adcfgclone runs...both on apps and db tier's.

    kuldeep
    oracle apps dba

    AppsFusion said...

    Hi Kuldeep,

    Refer Metalink Note#406982.1: Cloning Oracle Applications Release 12 with Rapid Clone

    Regards
    Ramnik Gupta

    kuldeep said...

    hi ramnik,
    i have already gone thru..the doc...wht i want is the full steps involved while running adcfgclone on target syste...how to do it...

    thanks,
    kuldeep
    oracle apps dba

    AppsFusion said...

    Hi Kuldeep,

    The best way is open the script and look what it is doing. Once i will have time then i will try to accommodate what you are looking for. Also open the clone log will show each steps what is happening at each stage.

    I don't have right now Release 12 document. Please read R11i rapidclone FAQ ML#216664.1 for more information. Also Refer R12 ML#
    603104.1 for detail information which includes troubleshooting part of cloning.

    Hope this helps.

    Regards
    Ramnik Gupta

    kuldeep said...

    hi ramnik,

    the doc.. and the suggesstion u have given are very fine...i need to talk(chat) to you...if you can tell at which time and date i will be ready at that time...
    you can...tell these details at venkatkuldeep@gmail.com

    Raja ISMAIL said...

    Hi Ramnik,
    I was really impressed with your quotes, some of them given me confidence, I started my career as a apps dba

    Anonymous said...

    HI,
    Can you also put the steps for doing cloning in r12 from ASM to non asm.
    As my prod is running on ASM and test,dev are on non asm.