Using AutoConfig to Manage System Configurations with Oracle Applications 11i o AutoConfig 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. o Once an APPL_TOP is enabled for AutoConfig, it has an Applications Context file stored inthe APPL_TOP as <APPL_TOP>/admin/<CONTEXT_NAME>.xml. o Once 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 script adautocfg.sh (on both Database & Application tier) which inturn will call adconfig.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’sunder$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 called adbldxml 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.

o How to rollback the previous autoconfig session in application and database? Yes we can roll back previous autoconfig session by using restore.sh it’s under /APPL_TOP/admin/out/CONTEXT_NAME/MM_DD_YYYY/restore.sh. Indatabaseit’sunderRDBMS_ORACLE_HOME/appsutil/out/CONTEXT_NAME/M _DD_YYYY/restore.sh. o How to compare old configuration and new autoconfigarationfiles in application.? We can compare existing configuration and new configurations by using cfgcheck.htmlit’sunder/APPL_TOP/admin/out/CONTEXT_NAME/MM_DD_YYY Y/cfgcheck.html. This executable is located under AD_TOP/bin/adchkcfg.sh. o How 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. o Patching 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 patch 5478710 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):  Log in to the APPL_TOP environment (source the environment file)  Create appsutil.zip file perl <AD_TOP>/bin/admkappsutil.pl  This will create appsutil.zip in $APPL_TOP/admin/out .

 On the Database Tier (as the ORACLE user):  Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>

cd <RDBMS ORACLE_HOME> unzip -o appsutil.zip

Run AutoConfig on the Database Tier : Run AutoConfig on the database tier node. Use the adautocfg.sh/ Attention: The database server and the database listener must remain available during the AutoConfig run. All the other database tier services should be shut down. Run AutoConfig on the Application Tiers Run AutoConfig on all application tier nodes. Use the adautocfg.sh/ Attention: The database server and the database listener must remain available during the AutoConfig run. Only the application tier servers should be shut down.

Sign up to vote on this title
UsefulNot useful