• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
Using AutoConfig to Manage System Configurations with Oracle Applications 11i
oAutoConfig is a tool that supports automated configuration of an Applications

instance. All of the information required for configuring an Applications instance is collected into two local repositories, called the Applications Context and the Database Context. When AutoConfig runs on the Application tier, it uses information from the Applications Context file to generate all configuration files and update database profiles. When AutoConfig runs on the Database tier, it uses information from the Database Context file to generate all configuration files used on the Database tier.

oOnce an APPL_TOP is enabled for AutoConfig, it has an Applications Context file
stored inthe APPL_TOP as<AP PL_TOP>/a dmin/ <CONTE XT_NAME>.xm l.
oOnce the Database is enabled for AutoConfig, it has a Database Context file stored
intheRDBMS_ORACLE_HOMEas<RDBMS_ORACLE_HOME>/appsutil/<CON
TEXT_NAME>.xml.
o
What is location of Contexts file in 11i?
DatabaseContextfileisunderDatabase$ORACLE_HOME/appsutil/<SID>_<HOST
NAME>.xml
Application Context file is under
$APPL_TOP/admin/<SID>_<HOSTNAME>.xml.
o
How to run Autoconfig in 11i ?

You will use scriptadau tocfg.sh (on both Database & Application tier) which inturn
will calladconf ig.sh , which further will calladconfig.pl. You should not worry
about later two scripts its for information only. adautoconfig.sh is script which you
use to run autoconfig.

o
Where to check log files after autoconfig is executed ?
Ondatabasetierit\u2019sunder$ORACLE_HOME/appsutil/log/CONTEXT_NAME/MM_
DD_YYYY/adconfig.log

On Application tier its under
$APPL_TOP/admin/$CONTEXT_NAME/log/MMDDYYYY/adconfig.log
where CONTXT_NAME is <SID>_<HOSTNAME>

o
What if my Context file itself is corrupted, Can I create one ?
Yes you have utility calledadbldxml to build xml file(Context File).
o
How to change some parameter in Context/xml file ?

If you are an expert then you can open xml file via any editor & change it but these days Oracle is recommending to use Context Editor or if you are on OAM.H or higher then use OAM (Oracle Application Manager) to change context file.

oHow to rollback the previous autoconfig session in application and database?
Yes we can roll back previous autoconfig session by using restore.sh it\u2019s under
/APPL_TOP/admin/out/CONTEXT_NAME/MM_DD_YYYY/restore.sh.
Indatabaseit\u2019sunderRDBMS_ORACLE_HOME/appsutil/out/CONTEXT_NAME/M
_DD_YYYY/restore.sh.
oHow to compare old configuration and new autoconfigarationfiles in
application.?
We can compare existing configuration and new configurations by using
cfgcheck.htmlit\u2019sunder/APPL_TOP/admin/out/CONTEXT_NAME/MM_DD_YYY
Y/cfgcheck.html.
This executable is located under AD_TOP/bin/adchkcfg.sh.
oHow to know whether autoconfig is enabled or not ..?
By using the adcfginfo.sh contextfile=<PATH> we can get that whether it is enabled
or not.
In any environmentalfile header we can see that like this file is genereted by
Autoconfig.
oPatching AutoConfig
If you were instructed to apply the latest AutoConfig patch, perform the following
steps in the order listed:
ApplyTXKAutoConfigTemplatepatch
Update the Oracle Applications file system with the AutoConfig files by applying
patch5478710 to all application tier nodes in the Applications instance.
To configure the RDBMS_ORACLE_HOME we need to updata this.
So On the Application Tier (as the APPLMGR user):
\ue000Log in to the APPL_TOP environment (source the environment file)
\ue000
Create appsutil.zip file
perl <AD_TOP>/bin/admkappsutil.pl
\ue000This will create appsutil.zip in $APPL_TOP/admin/out .
\ue000On the Database Tier (as the ORACLE user):
\ue000
Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...