How to run AutoConfig in Test Mode | An intelligent strategy that enables you to verify configuration changes before implementing them in your production environment is to run AutoConfig in test mode within EBS. You will be guided through the process of executing AutoConfig in test mode in Oracle E-Business Suite in this manual.
Understanding AutoConfig and Test Mode in EBS.
An Oracle tool called AutoConfig streamlines the process of setting up and maintaining environments for Oracle E-Business Suite. Based on the particulars of the environment it functions in, it modifies configuration files, profiles, and settings. Before making configuration changes in the production environment, AutoConfig is run in test mode to implement them in a controlled environment first.
adchkcfg.sh:- To evaluate the modifications made by AutoConfig, you can run this script before starting it. This will provide a report outlining the variations between the configuration as it is currently configured and the configuration that would result from executing AutoConfig.
==>On Applications Tier: <AD_TOP>/bin
==>On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
Preview Effects of Running AutoConfig.
The Check Config utility can be used to review the changes that would be made to the file system and database in the upcoming AutoConfig run. This step is not required.
Executing AutoConfig in Test Mode
Execute the applicable command to run the Check Config utility. adchkcfg.sh is located in $AD_TOP/bin on the application tier, and in /appsutil/bin on the database tier. This utility generates a report that highlights differences between existing configuration files and the new ones that AutoConfig will generate. The report is called cfgcheck.html.
Running adchkcfg.sh is useful both in carrying out a test run before a planned environment change is made, and when investigating problems. In Release 12.1, the tool was enhanced to report important database updates, generate a report for database changes, and improve readability of reports.
Database Tier
On UNIX:
sh /appsutil/bin/adchkcfg.sh contextfile=$CONTEXT_FILE
Application Tier
On UNIX:
$ sh /bin/adchkcfg.sh contextfile=$CONTEXT_FILE
Here is the sample run for the same. Running Check Config Utility on the Application Tier.
$ cd $AD_TOP/bin
$ ls -ltr adchkcfg.sh
-rwxr-xr-x 1 applmgr dba 4767 Aug 15 2014 adchkcfg.sh
$ sh adchkcfg.sh
Enter the full path to the Applications Context file:
context_file.xml location(with path)
Enter the APPS password:
The log file for this session is located at:
$INST_TOP/apps/**********/admin/log/02345654/adconfig.log
AutoConfig is running in test mode and building diffs...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : oracle/ebs12/inst/apps/PATCH_patchapp
Classpath : oracle/ebs12/apps/apps_st/comn/java/lib/appsborg2.zip:/d01/oracle/ebs12/apps/apps_st/comn/java/classes
Using Context file : existing context_file
Context Value Management will now update the test Context file
Updating test Context file...COMPLETED
[ Test mode ]
No uploading of Context File and its templates to database.
Testing templates from all of the product tops...
Testing AD_TOP........COMPLETED
Testing FND_TOP.......COMPLETED
Testing ICX_TOP.......COMPLETED
Testing MSC_TOP.......COMPLETED
Testing IEO_TOP.......COMPLETED
Testing BIS_TOP.......COMPLETED
Testing AMS_TOP.......COMPLETED
Testing CCT_TOP.......COMPLETED
Testing WSH_TOP.......COMPLETED
Testing CLN_TOP.......COMPLETED
Testing OKE_TOP.......COMPLETED
Testing OKL_TOP.......COMPLETED
Testing OKS_TOP.......COMPLETED
Testing CSF_TOP.......COMPLETED
Testing IGS_TOP.......COMPLETED
Testing IBY_TOP.......COMPLETED
Testing JTF_TOP.......COMPLETED
Testing MWA_TOP.......COMPLETED
Testing CN_TOP........COMPLETED
Testing CSI_TOP.......COMPLETED
Testing WIP_TOP.......COMPLETED
Testing CSE_TOP.......COMPLETED
Testing EAM_TOP.......COMPLETED
Testing FTE_TOP.......COMPLETED
Testing ONT_TOP.......COMPLETED
Testing AR_TOP........COMPLETED
Testing AHL_TOP.......COMPLETED
Testing OZF_TOP.......COMPLETED
Testing IES_TOP.......COMPLETED
Testing CSD_TOP.......COMPLETED
Testing IGC_TOP.......COMPLETED
Differences text report is located at:
/PATH_/admin/out/02345654/cfgcheck.txt
Generating Profile Option differences report...COMPLETED
Differences text report for the Database is located at: /PATH_/admin/admin/out/02345654/ProfileReport.txt
Generating File System differences report......COMPLETED
Differences html report is located at:
/PATH_/admin//out/02345654/cfgcheck.html
Differences Zip report is located at:
/PATH/admin/out/02345654/ADXcfgcheck.zip
AutoConfig completed successfully.
Go To Location $INST_TOP/admin/out/<Output Directory and Check the differences in the difference file and resolve accordingly.