Sunday, June 7, 2009

Customizing AutoConfig Part 1

AutoConfig is a tool that simplifies and standardizes configuration management tasks in an Oracle E-Business Suite environment.

The configuration generated by AutoConfig may not always meet your specific requirements, and it may be necessary to customize AutoConfig for your environment.

Examples where you might want to customize AutoConfig include:

Start additional services or processes when you start Oracle Applications services
Define your OC4J configuration
Extend Oracle Forms to integrate with a third party Java version
Develop custom applications that are maintained by AutoConfig

Prerequisites for AutoConfig Customizations

Review your current configuration

It is used to review the configuration changes that would take effect on an E-Business Suite instance during the next AutoConfig run.

1)It identifies the potential changes to both the File system as well as the Database.

It can be run on both the applications tier and the database tier.

Check Config utility may be run by using the command

adchkcfg.sh contextfile=CONTEXT_FILE

The utility is located in the following location:

Application $AD_TOP/bin
Database $ORACLE_HOME/appsutil/bin

2)The script creates files and reports to review.

On Application Tier:

These reports are created in the following location:
$INST_TOP/admin/out/Timestamp/

The main reports of concern here are :
Diff file cfgcheck.txt
Profile Option differences report ProfileReport.txt
Differences html report cfgcheck.html
Differences Zip report ADXcfgcheck.zip

On DB Tier:

These reports are created in the location:
$ORACLE_HOME/appsutil/out/Context_name/Timestamp

The main reports of concern here are same as in the Application Tier mentioned above.

The diff file gives the files that going to change when next Autoconfig is run.
The existing file and its location is given
and the new file that is going to come is created at
$INST_TOP/admin/out/Timestamp/ xxxxxx.xml

Along with a difference file between the incoming and existing file is created at this location itself.

If you open the difference file it gives the values it is going to change .

The existing value is indicated by a left arrow symbol
and the new value is indicated by aright arrow symbol .

3) Open the Configuration file and determine the template it is using from its Header

4) Open the template....find the value to be edited...and edit accordingly if it can be edited in template itslef
5) If it has a xml tag like s_variable , Edit the value in the xml
6) Run Autoconfig

Review and migrate existing customizations


If you implemented customizations between "Begin/End customization" blocks in the past, then you must migrate those settings now.
Execute the following command:

UNIX Application AD_TOP/bin/adcustomizer.sh contextfile=CONTEXT_FILE

Database RDBMS ORACLE_HOME/appsutil/bin/adcustomizer.sh contextfile=CONTEXT_FILE


No comments:

Post a Comment