How to Add managed oacore in Oracle Apps R12.2.x

To increase the Weblogic performance, we might need to add up more JVMs by doubling managed servers.  Please follow below steps to add extra oacore managed server to Oracle E-Business Suite R12.2.x.  You can follow same procedure to add extra oafm, forms, forms-c4ws servers.

Steps to Follow on Run Edition

  • Source Run Edition
  • Stop Middle Tier Services ($ADMIN_SCRIPTS_HOME/adstpall.sh (ON ALL NODES IF IT IS MULTI-NODE))
  • Create Second Oacore Managed Server:  perl $AD_TOP/patch/115/bin/adProvisionEBS.pl ebs-create-managedserver -contextfile=/u01/DEV/fs1/inst/apps/DEV_ebs1226/appl/admin/DEV_ebs1226.xml -managedsrvname=oacore_server2 -servicetype=oacore -managedsrvport=7207 -logfile=/u01/DEV/addoacorerun.log
  • Run Autoconfig to effect the changes ($ADMIN_SCRIPTS_HOME/adautocfg.sh)
  • Add Second Oacore Managed Server to OHS by recreating mod_wl_ohs.conf and appps.conf files:  (perl $FND_TOP/patch/115/bin/txkSetAppsConf.pl -ctxfile=$CONTEXT_FILE -outfile=/u01/DEV/txkSetAppsConf.log
  • Bounce OHS to load the changes ($ADMIN_SCRIPTS_HOME/adapcctl.sh start and then stop)

Steps to Follow on Patch Edition

  • Source PATCH Edition
  • Start WebLogic Admin Server ($ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start)
  • Create Second Oacore Managed Server: perl $AD_TOP/patch/115/bin/adProvisionEBS.pl ebs-create-managedserver -contextfile=$CONTEXT_FILE -managedsrvname=oacore_server2 -servicetype=oacore -managedsrvport=7208 -logfile=/u01/DEV/addoacorepatch.log
  • Sync Context File:  perl $AD_TOP/bin/adSyncContext.pl -contextfile=/u01/DEV/fs2/inst/apps/DEV_ebs1226/appl/admin/DEV_ebs1226.xml
  • Run fsclone to sync file system betwwen run and patch:  java oracle.apps.ad.autoconfig.InstantiateFile -e /u01/DEV/fs2/inst/apps/DEV_ebs1226/appl/admin/DEV_ebs1226.xml -tmpl  /u01/DEV/fs2/EBSapps/appl/ad/12.0.0/admin/template/fsclone.tmp -out /u01/DEV/fs2/inst/apps/DEV_ebs1226/appl/admin/fsclone.out
  • Add Second Oacore Managed Server to OHS by recreating mod_wl_ohs.conf and appps.conf files:  perl $FND_TOP/patch/115/bin/txkSetAppsConf.pl -ctxfile=/u01/DEV/fs2/inst/apps/DEV_ebs1226/appl/admin/DEV_ebs1226.xml > -outfile=/u01/DEV/oacore_HTTP.logStop Weblogic Admin Server ($ADMIN_SCRIPTS_HOME/adadminsrvctl.sh stop)

Final Steps

  • Source RUN edition
  • Make sure none of the services are running from PATCH/RUN edition.
  • Start Middle Tier Servcies ($ADMIN_SCRIPTS_HOME/adstrtal.sh)

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."