Professional Documents
Culture Documents
Session Leader
James J. Morrow, Solution Beacon
Release 11i Workshop
NCOAUG
Chicago, IL
11 August, 2006
www.solutionbeacon.com
u Oracle Workflow
2
© 2006 Solution Beacon, LLC. All Rights Reserved.
Audience Profile
n Functional
u Implementation/Upgrade Project Managers
n Technical
u Oracle Applications DBA
3
© 2006 Solution Beacon, LLC. All Rights Reserved.
Overview
n Objectives of presentation
u Provide a good understanding of how
AutoConfig and Rapid Clone actually work.
u Explain how to use AutoConfig and Rapid
Clone in order to stabilize your
environment
n Agenda
u AutoConfig Background
u Surviving AutoConfig
u Extending AutoConfig
u Rapid Clone
4
© 2006 Solution Beacon, LLC. All Rights Reserved.
Background
configuration files
u 10.7 (NCA) < 50 configuration files
6
© 2006 Solution Beacon, LLC. All Rights Reserved.
Background
u Stable
u Reproducible
7
© 2006 Solution Beacon, LLC. All Rights Reserved.
Background
u Templates in
$FND_TOP/admin/templates
$AD_TOP/admin/templates
8
© 2006 Solution Beacon, LLC. All Rights Reserved.
Background
9
© 2006 Solution Beacon, LLC. All Rights Reserved.
Background
Config file ($APPL_TOP/APPS.env) containing:
export TWO_TASK=PROD
export TWO_TASK=%s_oracle_sid%
<s_oracle_sid>PROD</s_oracle_sid>
10
© 2006 Solution Beacon, LLC. All Rights Reserved.
Background
cat $FND_TOP/admin/template/apps_ux.env |\
sed s/%s_oracle_sid%/”PROD”/g \
>$APPL_TOP/APPS.env
11
© 2006 Solution Beacon, LLC. All Rights Reserved.
Surviving AutoConfig
13
© 2006 Solution Beacon, LLC. All Rights Reserved.
Surviving AutoConfig
n Things to avoid
u Direct edits to configuration files
Asia.”
14
© 2006 Solution Beacon, LLC. All Rights Reserved.
Surviving AutoConfig
t Database initSID.ora
$ORACLE_HOME/dbs/PROD_appshost_ifile.ora
t All tnsnames.ora
$TNS_ADMIN/PROD_appshost_ifile.ora
t All listener.ora
$TNS_ADMIN/listener_ifile.ora
t Unix Environment files
customPROD_appshost.env
15
© 2006 Solution Beacon, LLC. All Rights Reserved.
Surviving AutoConfig
16
© 2006 Solution Beacon, LLC. All Rights Reserved.
Surviving AutoConfig
17
© 2006 Solution Beacon, LLC. All Rights Reserved.
Surviving AutoConfig
18
© 2006 Solution Beacon, LLC. All Rights Reserved.
Extending AutoConfig
20
© 2006 Solution Beacon, LLC. All Rights Reserved.
Extending AutoConfig
appsTier:
$AD_TOP/bin/adtmplreport.sh
contextfile=<context> \
target=<configurationfile>
dbTier:
$ORACLE_HOME/appsutil/bin/adtmplreport.sh \
contextfile=<context> \
target=<configurationfile>
21
© 2006 Solution Beacon, LLC. All Rights Reserved.
Extending AutoConfig
template
22
© 2006 Solution Beacon, LLC. All Rights Reserved.
Extending AutoConfig
n Caveat:
u Certain patches (Notably AD, FND,
keep track
n You can also create your own
AutoConfig tokens and templates
(MetaLink 270519.1)
23
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
25
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
n Pre-Clone (on SOURCE) gathers
information
u dbTier
cd $ORACLE_HOME/appsutil/clone/bin
perl adpreclone.pl dbTier
26
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
27
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
n Copy Files
u appsTier
<APPL_TOP>
<OA_HTML>
<OA_JAVA>
<OA_JRE_TOP>
<COMMON_TOP>/util
<COMMON_TOP>/clone
<COMMON_TOP>/_pages (when exists)
<806 ORACLE_HOME>
<iAS ORACLE_HOME>
28
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
n Copy Files
u dbTier
$ORACLE_HOME
Database Files
29
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
n Post-Clone uses gathered information (and
interview) to generate new environment
u dbTier
cd $ORACLE_HOME/appsutil/clone/bin
perl adcfgclone.pl dbTier
t Answer questions
t adcfgclone.pl will generate
$TNS_ADMIN directory
$ORACLE_HOME/dbs and database
controlfile.
t Database and listener will be started
30
© 2006 Solution Beacon, LLC. All Rights Reserved.
Rapid Clone
n Post-Clone uses gathered information (and
interview) to generate new environment
u appsTier
cd $COMMON_TOP/clone/bin
perl adcfgclone.pl appsTier
t Answer questions
t adcfgclone.pl will generate new
31
© 2006 Solution Beacon, LLC. All Rights Reserved.
Why is the Sky Blue?
http://tinyurl.com/qfa4f
n Personally, I prefer the explanation offered by Night
Court’s Harry Anderson:
“Because, if it were green, we wouldn’t know when to stop
mowing…”
33
© 2006 Solution Beacon, LLC. All Rights Reserved.
Referenced Documents
MetaLink Title
362473.1 Cloning E-Business Suite using Hot Backup for Minimal Downtime
of Source Environment
34
© 2006 Solution Beacon, LLC. All Rights Reserved.
AutoConfig Managed Files
n Some of the most commonly modified AutoConfig managed files
Database Tier
Database $ORACLE_HOME
$ORACLE_HOME/PROD.env
$ORACLE_HOME/PROD_appshost.env
$ORACLE_HOME/dbs/initPROD.ora
$TNS_ADMIN/listener.ora
$TNS_ADMIN/tnsnames.ora
Applications Tier
$ORACLE_HOME/PROD.env $APPL_TOP/admin/APPSORA.env
$ORACLE_HOME/PROD_appshost.env $APPL_TOP/admin/APPSPROD_appshost.env
$TNS_ADMIN/listener.ora $APPL_TOP/admin/PROD.env
$TNS_ADMIN/tnsnames.ora $APPL_TOP/admin/PROD_appshost.env
$APPL_TOP/admin/PROD_appshost.env
$ORACLE_HOME/PROD.env
$ORACLE_HOME/PROD_appshost.env
$TNS_ADMIN/listener.ora
$TNS_ADMIN/tnsnames.ora
$ORACLE_HOME/Apache/Apache/conf/httpd.conf
$ORACLE_HOME/Apache/Apache/conf/httpd.conf
$ORACLE_HOME/Apache/Apache/conf/httpd_pls.conf
$ORACLE_HOME/Apache/Apache/conf/httpd_pls.conf
$ORACLE_HOME/Apache/Jserv/etc/formservlet.ini
$ORACLE_HOME/Apache/Jserv/etc/formservlet.ini
$ORACLE_HOME/Apache/Jserv/etc/jserv.properties
$ORACLE_HOME/Apache/Jserv/etc/jserv.properties
$ORACLE_HOME/Apache/Jserv/etc/jserv.conf
$ORACLE_HOME/Apache/Jserv/etc/jserv.conf
35
© 2006 Solution Beacon, LLC. All Rights Reserved.
Questions & Answers
Remember:
KISS
Thank You!
James J. Morrow
jmorrow@solutionbeacon.com
www.solutionbeacon.com Real Solutions for the Real World.
36
© 2006 Solution Beacon, LLC. All Rights Reserved.
Questions & Answers
www.solutionbeacon.com
Thank You!
James J. Morrow
jmorrow@solutionbeacon.com
37
© 2006 Solution Beacon, LLC. All Rights Reserved.