Monday, March 19, 2012

How to use Autoconfig


Context File is no more in $APPL_TOP/admin directory!!!Appltop context file has been moved to $INST_TOP/appl/admin directory.

AUTO CONFIG:
Autoconfig is tool in Apps to configure oracle Applications 11i , Application Tier as well Database Tier.

If you want to configure database tier then you have to execute autoconfig script adautocfg.sh on database tier else if you want to configure on application tier (Middle Tier ) then you have to execute one on middle tier .

script location
For Database tier its $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
For Application Tier its $OAD_TOP/admin/scripts/$CONTEXT_NAME
adautocfg.sh calls adconfig.sh from $AD_TOP/bin which inturn calls adconfig.pl from $AD_TOP/bin

======================================================================================
How to check if Autoconfig is enabled??
[applmgr@erpapps bin]$ sh adcfginfo.sh contextfile=/u01/applmgr/prodappl/admin/PROD_erpapps.xml

This system is AutoConfig enabled

Log file created at location :/u01/applmgr/prodappl/admin/PROD_erpapps/log/03100254.log
======================================================================================
How can I make changes to the Applications Context file?

Answer:
Go to the OAM Login page. Sign in and navigate to Site Map. Click on AutoConfig. Use this link to update your Applications Context file.
=======================================================================================
Can I roll back an AutoConfig session?

Answer:
All backup configuration files from each AutoConfig session are stored in:
On the application tier:
<APPL_TOP>/admin/<Context_name>/out/<MMDDhhmm>/
On the database tier:
<RDBMS ORACLE_HOME>/appsutil/out/<Context_name>/<MMDDhhmm>/

where: <MMDDhhmm> = (month, day, hour, and minute of the AutoConfig run)

You can run restore.sh (Unix) or restore.cmd (Windows) to roll back an AutoConfig session.
========================================================================================
Where is the log file located that AutoConfig creates?

Answer:
The log file that AutoConfig creates is located at:
On the application tier:
<APPL_TOP>/admin/<Context_name>/log/<MMDDhhmm>/adconfig.log

On the database tier:
<RDBMS ORACLE_HOME>/appsutil/log/<Context_name>/<MMDDhhmm>/adconfig.log
========================================================================================
Which files / profile options get changed when I run AutoConfig?

Answer:
Run the adchkcfg utility to get an html report that lists all the files and profile options that get changed when you run AutoConfig.
========================================================================================

Refer Metalink note # 270519.1 Customizing an AutoConfig Environment
========================================================================================

echo $CONTEXT_FILE

No comments:

Post a Comment