Your SlideShare is downloading. ×
Cloning 1
Cloning 1
Cloning 1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
53
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Pre-clone steps for Cloning Release 12 Oracle Applications E-Business SuitePart I: Pre-Clone StepsUnlike a regular Oracle database environment, cloning the E-Business Suite is a complexaffair. You need to prepare the source and target environments before a clone operationcan be performed.Part IA: Prepare clone environmentsAs a precaution, I advise you to follow any pre-reqs on My Oracle Support (formerlyMetalink) and to download and apply the latest AD, Autoconfig template, and RapidClone patches before we begin. This will save you the potential headache and risk offailed clone operations due to a patch that should have been applied before doing thecloning steps. 1. First make sure to source the environments for oracle and applmgr environments for the database and applications tiers. 2. Shutdown apps tier and run autoconfig on apps tier $ADMIN_SCRIPTS_HOME/adstpall.sh or $INST_TOP/admin/scripts/adstpall.sh $ADMIN_SCRIPTS_HOME/adautocfg.sh or $INST_TOP/admin/scripts/adautocfg.sh Note: you will need to enter your password for APPS for these scripts As a precaution, I advise you to first backup context file before cloning. 3. As applmgr user on apps tier, create the appsutil file for the pre-clone steps Oracle supplies a script called admkappsutil.pl to generate the new appsutil file which you will need to do the pre-clone. On the applications tier as the applmgr OS user run: perl $AD_TOP/bin/admkappsutil.plReview the log files from the script to ensure that no errors have occurred before takingthe next step, then scroll down and verify it worked.Part IB: run pre-clone scripts for database tier
  • 2. Now that we have completed the required prep work for our cloning operations, we needto run the pre-clone scripts for the database and applications tiers before we can clone theenvironment.Oracle Release 12 actually starting with release 11i for E-Business Suite has a suite ofperl scripts that perform the heavy lifting for us in terms of these cloning scripts. First, weneed to pre-clone the database tier and then we run the pre-clone script for the apps tier.Both the Sequence and syntax are critical here or the clone will fail.The pre-clone script for database and apps tier are called adpreclone.pl. It lives under the$ORACLE_HOME/appsutil/scripts/ directory on the database tier.If you are a curious DBA like me, you can look at the script with your favorite editorsuch as VI or EMACS.Warning (Achtung!): Do not play around and make changes to any of these scriptswithout the advice of Oracle Support!Warning: Kids do not try changing these scripts on a production system! Tricks are forkids not silly rabbits to paraphrase my favorite cereal commercial.OK Lets run it!First you will need to enter the APPS password for the script to execute.Make sure that it runs for a few minutes and then completes without errors after whichwe verify the status in the logfile. It is always a good idea to scroll down and check tosee that all ran fine without errors.Ok so now we need to run the pre-clone script on the apps tier as the applmgr OS user.Since we are running this on Linux platform the script is a shell script.Part IC: Run the pre-clone scripts for apps tierThe pre-clone script for apps tier is located under the $INST_TOP/admin/scripts or$ADMIN_SCRIPTS_HOME directory and is called adpreclone.sh. To execute it welogon as applmgr user and run perl $INST_TOP/admin/scripts/adpreclone.sh appsTierand you need to enter the APPS password at the prompt.Be sure to use the syntax EXACTLY as shown above or the preclone will FAIL!This will run for a short time maybe 5-10 minutes and then complete. Verify that yourpreclone ran without errors. Check the log file generated by the adpreclone.sh script forthe apps tier to ensure no errors have occurred as shown in the examples below.
  • 3. Now we are finally ready to clone! In future articles, I will show you the actual cloningsteps to clone R12 EBS.

×