Sunday, May 20, 2012

Steps To Clone Oracle EBS R12

There's Two major Parts In This Topics :
1- Pre Clone Steps .
2 - Post Clone Steps.

LETS START :

1- Pre Clone Steps : 

On Application Tier : 

1-    Execute Apps environment file
2-    cd $ADMIN_SCRIPTS_HOME
3-    ./adautocfg.sh
4-    Perl adpreclone.pl appsTier

Database Tier : 

1-    Execute Database environment ( under ORACLE_HOME)
2-    cd $ORACLE_HOME/appsutil/scripts/(CONTEXT_NAME)
3-    ./adautocfg.sh
4-    perl adpreclone.pl dbTier

shutdown application and database Copy your virtual nodes on new servers .

Post clone Steps:

Database Server

1-    cd $ORACLE_HOME/appsutil/clone/bin
2-    perl adcfgclone.pl dbTier

Application Server:

1-    cd $COMMON_TOP/clone/bin
2-    perl adcfgclone.pl appsTier

Notes:
$COMMON_TOP: APPLICATION_BASE/apps/apps_st/comn
CONTEXT_NAME: SERVICE_NAME_HOSTNAME

Thank you
Osama mustafa

11 comments:

  1. Assalamo alaikum

    Very nice information

    Pre clone steps
    Is our Source machine (e.g: proddb) will be UP (means Database & Application Tier should be start) ?

    Post Clone steps
    Is our Target machine (e.g: clonedb) will be UP (means Database & Application Tier should be start) ?

    Thanks

    ReplyDelete
  2. Assalamo Alaikum

    Thanks Brother
    I didnot get you. Bcaz I am newbie..

    Pre clone steps
    Before run the below script...
    $ perl adpreclone.pl dbTier
    $ perl adpreclone.pl appsTier

    Is our Source machine (e.g: proddb) will be UP or DOWN (means Database & Application Tier should be Started or Shutdown) ?

    Post Clone steps
    Before run the below script...
    $ perl adcfgclone.pl dbTier
    $ perl adcfgclone.pl appsTier

    Is our Target machine (e.g: clonedb) will be UP or DOWN (means Database & Application Tier should be Started or Shutdown) ?

    Thank you very much

    ReplyDelete
    Replies
    1. its should be Up after finishing Running Scripts On Both Tiers You should shutdown Them For Copying

      Delete
  3. Thanks Brother

    I have run the Pre Clone command after that I shutdown the Source(proddb) & Target(clonedb) Machines. Then copy the file from Source to Target Machines. After finish the copy.

    After finished the copy I will start the dbTier & appsTier in Source & Target Machines for Post Cloning.

    But question is that how it will start the Target(clonedb) machine because I have copied here from Source(proddb) machine.How Target machine will recognize the Source machine files.

    Thank you very much

    ReplyDelete
  4. Sir try when you are publishing any post the screenshots would be included. It will be useful for newbie's like us. One Indian author supervising (www.sqlauthority.com) and (sqlauthority.blogspot.com). he provides screenshots and outputs as well which are very useful for beginners and SQL community. kindly try to adopt like that guy. And this is nice post. I'll be oblige to you. kindly review my request.thanks

    ReplyDelete
    Replies
    1. I am posting screen-shot for the Topics that i feel it's need lot of steps, or what i feel it's will be better for post it with screen-shout i have lot of topics on my blog contain screen-shot and describe each step one by one, for this topics it's static steps no need for screenshot

      Delete
  5. Hi, I have completed the cloning.
    Cloned PRD to TST system.
    After starting TST when I try to login , it fails and TST url maps to PRD URL (What!)
    Look like there is somewhere inside the app that it still points to PRD URL.

    Any suggestions

    ReplyDelete
  6. : I have not run the adpreclone during cloning but I have applied some autoconfig patches on source instance and I have completed my refresh now how to proceed?

    ReplyDelete
    Replies
    1. Follow the above steps it's already mention it

      Delete
  7. thank you dear. it is very nice doc

    ReplyDelete