Thursday, 14 July 2022

Adding Managed Server in Oracle Apps R12.2

Adding a new managed server

Addition of managed servers needs to be done on the run file system when there is no active ADOP cycle. During the next adop prepare, the Configuration Change Detector identifies that the addition has been made and the managed servers are automatically synced up from the run file system to the patch file system. The synchronization also gets done when fs_clone is executed.

Adding New oacore (oacore_server2, oacore_server3)

Adding oacore

============

port to use: - 7213(fs1-patch file system),7214(fs2-run file system) [ check port is not being used in run and patch edition context_file as well running netstat in both application servers]

 To add a new managed server of a specific service type, perform the following steps on the run file system:

 

1. Execute the following command to add a new managed server. This will create a managed server and add a new entry to the context file for starting and stopping the new managed server via the adstrtal and adstpall scripts:

$ perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl \
ebs-create-managedserver -contextfile=<CONTEXT_FILE> \
-managedsrvname=<MANAGED_SERVER_NAME> -servicetype=<SERVICE_TYPE> \
-managedsrvport=<MANAGED_SERVER_PORT> -logfile=<LOGFILE>

Example:-  

$ perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \

ebs-create-managedserver -contextfile=/apps/ebs/IMGSIT/R12_2/fs2/inst/apps/IMGSIT_<hostname>/appl/admin/IMGSIT_oraung08.xml \

-managedsrvname=oacore_server2 -servicetype=oacore \

-managedsrvport=7214 -logfile=/apps/ebs/IMGSIT/R12_2/fs2/inst/apps/IMGSIT_<hostname>/logs/appl/rgf/TXK/addMS_oacoreserver2.log


2. Startup the managed server as follows:

On Unix:

$ sh <ADMIN_SCRIPTS_HOME>/admanagedsrvctl.sh start <MANAGED SERVER NAME>


3. Perform the following steps on all application tier nodes participating in the same cluster where this managed server is added:

  1. Source the run file system.

  2. Execute the following command to add details of the newly added managed servers into the OHS configuration files mod_wl_ohs.conf and apps.conf on the current node:
     $ perl <FND_TOP>/patch/115/bin/txkSetAppsConf.pl \
        -contextfile=<CONTEXT_FILE> \
        -configoption=addMS \
        -oacore=<host>.<domain>:<port> \
        -oafm=<host>.<domain>:<port> \
        -forms=<host>.<domain>:<port> \
        -formsc4ws=<host>.<domain>:<port>

For example, 

4.  If Oracle HTTP Server is enabled on the node, restart it as follows:

5. run fs_clone to sync both file system 

$ sh <ADMIN_SCRIPTS_HOME>/adapcctl.sh stop
$ sh <ADMIN_SCRIPTS_HOME>/adapcctl.sh start


6. verify the oacore_server_ports



Managing Configuration of Oracle HTTP Server and Web Application Services in Oracle E-Business Suite Release 12.2 (Doc ID 1905593.1)







No comments:

Post a Comment