Oracle E-Business Suite scripts:
AutoConfig Scope and Components:
1. In Release 12.2 application tier is AutoConfig-enabled.
2. Applications context file location - INST_TOP as <INST_TOP>/appl/admin/<CONTEXT_NAME>.xml
Following scripts are located in <INST_TOP>/admin/scripts.
The adstrtal and adstpall scripts can be used to start and stop all the AutoConfig managed application tier services in a single operation.
Administer the individual services separately using their respective service control scripts.
The oacore, oafm, forms and forms-c4ws services can also be managed by starting and stopping the respective managed servers via the WebLogic Server Administration Console.
Start Applications services - adstrtal.sh
Stop Applications services - adstpall.sh
Start individual service (except those that are part of the Web Application Services service group) - <control_script> start
Stop individual service (except those that are part of the Web Application Services service group) - <control_script> stop
Start individual managed server (all services that are part of the Web Application Services service group) - admanagedsrvctl.sh start <managed_server_name>
Stop individual managed server (all services that are part of the Web Application Services service group) - admanagedsrvctl stop <managed_server_name>, admanagedsrvctl abort <managed_server_name>
The 'stop' command will shut down the managed server only after no user sessions remain connected, while the 'abort' command will shut down the managed server immediately.
Commands for managing processes on the Database tier:
Start database listener process - addlnctl.sh start <SID>
Stop database listener process - addlnctl.sh stop <SID>
Start database server process - addbctl.sh start
Stop database server process - addbctl.sh stop
Using AutoConfig Tools for System Configuration:
adautocfg.sh - For running AutoConfig.
Applications Tier: <INST_TOP>/admin/scripts
Database Tier: <RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>
adchkcfg.sh - run before running AutoConfig to review the changes on running AutoConfig. This will generate a report showing the differences between the existing configuration and what the configuration would be after running AutoConfig.
Execute DB Tier - sh <RDBMS_ORACLE_HOME>/appsutil/bin/adchkcfg.sh contextfile=<CONTEXT_FILE>
Execute App Tier - sh <AD_TOP>/bin/adchkcfg.sh contextfile=<CONTEXT_FILE>
On Applications Tier: <AD_TOP>/bin
On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
GenCtxInfRep.pl - Used to find out detailed information about context variables and the templates in which they are used.
On Applications Tier: <FND_TOP>/patch/115/bin
On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
adtmplreport.sh - Used to gather information regarding the location of the AutoConfig templates, provided the location of the instantiated files and vice versa.
On Applications Tier: <AD_TOP>/bin
On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
admkappsutil.pl - Used while applying patches to the database tier. Running this script generates appsutil.zip, which may be copied over to the database tier to migrate the patch to the database tier.
On Applications Tier: <AD_TOP>/bin
Rolling Back an AutoConfig Session:
Each AutoConfig run creates a rollback script you can use to revert to the previous configuration settings if necessary.
Location - Application <INST_TOP>/admin/out/<MMDDhhmm> , Database <RDBMS_ORACLE_HOME>/appsutil/out/<CONTEXT_NAME><MDDhhmm>
To roll back an AutoConfig session, execute the following commands:
$ restore.sh
Configuration Synchronization - Document 1905593.1, Managing Configuration of Oracle HTTP Server and Web Application Services in Oracle E-Business Suite Release 12.2.
Ref.:
https://docs.oracle.com/cd/E26401_01/doc.122/e22953/T174296T589913.htm#6237552
AutoConfig Scope and Components:
1. In Release 12.2 application tier is AutoConfig-enabled.
2. Applications context file location - INST_TOP as <INST_TOP>/appl/admin/<CONTEXT_NAME>.xml
3. The Release 12.2 database tier created via Rapid Install is also AutoConfig-enabled.
4. Database context file location - RDBMS ORACLE_HOME as <RDBMS_ORACLE_HOME>/appsutil/<CONTEXT_NAME>.xml
AutoConfig components:
Applications context - An XML repository located in the INST_TOP that contains information specific to the APPL_TOP.
Database context - An XML repository located in the RDBMS ORACLE_HOME that contains information specific to that database tier.
AutoConfig template files - Files containing named tags that are replaced with instance-specific information from the appropriate context, in the process of instantiation.
AutoConfig driver files - Every Oracle E-Business Suite product maintains a driver file used by AutoConfig. The driver file lists the AutoConfig file templates and their destination locations.
AutoConfig scripts - A set of scripts that provide a simplified interface to the AutoConfig APIs.
E-Business Suite Services:
Note: A particular service can be started or stopped via the adstrtal or adstpall scripts only if the service and its service group are both enabled.
Root Service - Node Manager - adnodemgrctl.sh
Web Administration - WebLogic Admin Server - adadminsrvctl.sh
Web Entry Point Services:
Oracle HTTP Server - adapcctl.sh
Oracle Process Manager - adopmnctl.sh
Web Application Services:
oacore - admanagedsrvctl.sh
oafm - admanagedsrvctl.sh
forms - admanagedsrvctl.sh
forms-c4ws - admanagedsrvctl.sh
Batch Processing Services:
Oracle TNS Listener - adalnctl.sh
Concurrent Manager - adcmctl.sh
Fulfillment Server - jtffmctl.sh
Oracle ICSM - ieoicsm.sh
Other Services:
Forms Server - adformsrvctl.sh
Oracle MWA Service - mwactlwrpr.sh
Manage Oracle E-Business Suite Service Processes:Following scripts are located in <INST_TOP>/admin/scripts.
The adstrtal and adstpall scripts can be used to start and stop all the AutoConfig managed application tier services in a single operation.
Administer the individual services separately using their respective service control scripts.
The oacore, oafm, forms and forms-c4ws services can also be managed by starting and stopping the respective managed servers via the WebLogic Server Administration Console.
Start Applications services - adstrtal.sh
Stop Applications services - adstpall.sh
Start individual service (except those that are part of the Web Application Services service group) - <control_script> start
Stop individual service (except those that are part of the Web Application Services service group) - <control_script> stop
Start individual managed server (all services that are part of the Web Application Services service group) - admanagedsrvctl.sh start <managed_server_name>
Stop individual managed server (all services that are part of the Web Application Services service group) - admanagedsrvctl stop <managed_server_name>, admanagedsrvctl abort <managed_server_name>
The 'stop' command will shut down the managed server only after no user sessions remain connected, while the 'abort' command will shut down the managed server immediately.
Commands for managing processes on the Database tier:
Start database listener process - addlnctl.sh start <SID>
Stop database listener process - addlnctl.sh stop <SID>
Start database server process - addbctl.sh start
Stop database server process - addbctl.sh stop
Using AutoConfig Tools for System Configuration:
adautocfg.sh - For running AutoConfig.
Applications Tier: <INST_TOP>/admin/scripts
Database Tier: <RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>
adchkcfg.sh - run before running AutoConfig to review the changes on running AutoConfig. This will generate a report showing the differences between the existing configuration and what the configuration would be after running AutoConfig.
Execute DB Tier - sh <RDBMS_ORACLE_HOME>/appsutil/bin/adchkcfg.sh contextfile=<CONTEXT_FILE>
Execute App Tier - sh <AD_TOP>/bin/adchkcfg.sh contextfile=<CONTEXT_FILE>
On Applications Tier: <AD_TOP>/bin
On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
GenCtxInfRep.pl - Used to find out detailed information about context variables and the templates in which they are used.
On Applications Tier: <FND_TOP>/patch/115/bin
On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
adtmplreport.sh - Used to gather information regarding the location of the AutoConfig templates, provided the location of the instantiated files and vice versa.
On Applications Tier: <AD_TOP>/bin
On Database Tier: <RDBMS_ORACLE_HOME>/appsutil/bin
admkappsutil.pl - Used while applying patches to the database tier. Running this script generates appsutil.zip, which may be copied over to the database tier to migrate the patch to the database tier.
On Applications Tier: <AD_TOP>/bin
Rolling Back an AutoConfig Session:
Each AutoConfig run creates a rollback script you can use to revert to the previous configuration settings if necessary.
Location - Application <INST_TOP>/admin/out/<MMDDhhmm> , Database <RDBMS_ORACLE_HOME>/appsutil/out/<CONTEXT_NAME><MDDhhmm>
To roll back an AutoConfig session, execute the following commands:
$ restore.sh
Configuration Synchronization - Document 1905593.1, Managing Configuration of Oracle HTTP Server and Web Application Services in Oracle E-Business Suite Release 12.2.
Ref.:
https://docs.oracle.com/cd/E26401_01/doc.122/e22953/T174296T589913.htm#6237552
Comments
Post a Comment