Tuesday, May 5, 2009

AutoConfig


AutoConfig is a tool for configuring an Applications instance using standard

utilities. It manages your Release 11

i configuration files, such as httpd.conf,

jserv.properties, and appsweb.cfg.

All the information required for configuring an Applications instance is collected in

a repository, called the Applications Context. AutoConfig uses information from the

Applications Context file to generate all configuration files and update database

profiles.

Rapid Install installs an environment compatible with AutoConfig. There is an

Applications Context file for both the applications and the database tier. The

applications tier Context file is an xml file in /admin. In Release

11.5.9, this Applications Context file is named .xml. If you

migrated to AutoConfig in a release earlier than Release 11.5.9, this Applications

Context file is named .xml. The Applications Context file for the database tier

is in /appsutil and is named

.xml.

There are two ways your configuration can be changed: run the Context Editor or

apply a patch that contains a new version of a file controlled by AutoConfig. When

you change the Applications Context file with the Context Editor, or when a patch

changes any associated template, you can run AutoConfig to propagate the new

values to the configuration files in both the APPL_TOP technology stack and in the

ORACLE_HOME technology stack.

The Way to run Autoconfig:

AutoConfig generates the new configuration files for the APPL_TOP and the Oracle

Homes in the associated techstack. AutoConfig uses the parameters stored in the

Applications Context file and system configuration templates to create new process

control scripts and update system profiles.

1.

Log on as applmgr and set the environment.

2.

Stop all server processes.

3.

Start AutoConfig on the application tier.

bash-2.05$ cd gmnphonecomn/admin/scripts/GMNPHONE_TSS2/
bash-2.05$ pwd
/grmnphone/gmnphonecomn/admin/scripts/GMNPHONE_TSS2
bash-2.05$ ls
adalnctl.sh adautocfg.sh adexecsql.pl adfrmctl.sh adstpall.sh gsmstart.sh
adapcctl.sh adcmctl.sh adfmcctl.sh adpreclone.pl adstrtal.sh jtffmctl.sh
adaprstctl.sh addisctl.sh adfmsctl.sh adrepctl.sh adtcfctl.sh sqlnet.log

bash-2.05$ adautocfg.sh
Enter the APPS user password:
AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
Using APPL_TOP location : /grmnphone/gmnphoneappl
Classpath : /grmnphone/gmnphonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/grmnphone/gmnphonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/grmnphone/gmnphonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/grmnphone/gmnphonecomn/java/appsborg2.zip:/grmnphone/gmnphonecomn/java

Using Context file : /grmnphone/gmnphoneappl/admin/GMNPHONE_TSS2.xml

Context Value Management will now update the Context file

Using Context file : /grmnphone/gmnphoneappl/admin/GMNPHONE_TSS2.xml

Context Value Management will now update the Context file

Updating Context file...COMPLETED

Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring ABM_TOP.......COMPLETED
Configuring ECX_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring GL_TOP........COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring XNC_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring PA_TOP........COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring IMT_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
The log file for this session is located at: /grmnphone/gmnphoneappl/admin/GMNPHONE_TCSSUNSERVER2/log/01301355/adconfig.log

For Database

bash-2.05$ /appsutil/scripts//adautocfg.sh

0 Responses to “AutoConfig”

Categories