Sunday, 4 July 2010

Is it mandatory to run all services in Middle Tiers for a Multi-node R12 Installation?

The concept of Multi-Node installation of the E-Business-Suite Release 12 using Rapid Install is changed a lot compared with 11i. Oracle have introducted a new feature "Edit Services" Using this feature, we can change the required services available on each application node, however after the install is complete. The noticable change is that application tiers are configured to run all services rather than those specified during rapid install.

Lets see why are all application tier nodes configured to run all services ?

Suppose we have 2 Application Tiers
APPS1 (Admin- and Concurrent Manager- Services)
APPS2 (Forms- and Web Services)

During the Rapid Install, selected the above configuration via the "Edit Services" button as follows :

APPS1 : enable "Root Service Group", "Batch Processing Services"
APPS2 : enable "Root Service Group", "Web Entry Point Services", "Web Application Services", "Other Service Group"

The logic behind these service classification is as follows :

1.Root Service Group (Runs services on AS, 10.1.3 OH)
  Oracle Process Manager (OPM) : adopmnctl.sh

2.Web Entry Point Services (Runs services on AS, 10.1.3 OH)
  HTTP Server : adapcctl.sh

3.Web Application Services (Runs services on AS, 10.1.3 OH)
  OACORE OC4J : adoacorectl.sh
  FORMS OC4J : adformsctl.sh
  OAFM OC4J : adoafmctl.sh

4.Batch Processing Services (Concurrent Managers and Apps Listener)
  APPS TNS Listener : adalnctl.sh
  Concurrent Managers : adcmctl.sh, adsvcm.sh, ieoicsm.sh, ieosvicsm.sh
  Fulfillment Server : jtffmctl.sh, jtfsvfm.sh

5.Other Service Group: (Runs services for Forms on 10.1.2)
  Oracle Forms Server : adformsrvctl.sh
  Oracle MWA Service : mwactlwrpr.sh
After the installation you see that the Autoconfig XML file is generated with the following entries for APPS1 and APPS2 :

s_isDB=NO
s_isAdmin=YES
s_isForms=YES
s_isConc=YES
s_isWeb=YES

The reason for enabled all services on the two application tier nodes instead of the configuration that was selected via the "Edit Services" feature is that:

When installing R12 with multiple nodes. all the nodes are now set as 'Y' in FND_NODES.

This occurs because in R12, concept of unified APPL_TOP is introduced which means everything is laid down on all servers.

From the APPL_TOP perspective, all the Servers on a Multi-Node Environment will have the same files and can now potentially start any Service if needed.  In some cases, additional configuration will be required before this can be done since there can be profiles, etc associated with each Server.

For R12, the only difference between the Servers, are the Services that have been activated on each Node.
The Services are identified by the variables on the /service_group/ section in the APPS Context File:

 Root Service Group : s_root_status
 Web Entry Point Services : s_web_entry_status
 Web Application Services : s_web_applications_status
 Batch Processing Services : s_batch_status
 Other Service Group : s_other_service_group_status

Depending on the value of these variables (enabled or disabled), adstrtal.sh / adstpall.sh will only start/stop the Services associated with them, ignoring the rest.

For example, if a node has only /s_batch_status/ "enabled" and the rest of the services are disabled, when you run adstrtall.sh on that Server and it will only start the Concurrent Managers and the TNS Listener for Apps.

Cheers !!!

SocialTwist Tell-a-Friend

Related Posts by Categories



1 comment:

goutham said...

HI AjiiKumar
i rently started learning apps e-business suite r12.i installed appr12 on multinode.on one node i installed database.on other node i installed concurrent manager service on the third node i installed forms,web everything went fine i could login in to apps and see three nodes.but today when i checked my concurrent manager.when i started the services with adstrtal apps/apps it gave error with adstrtal.sh exiting with status 2.
i checked the log file in $INST_TOP/admin/log/adstratal.log
i could see batch processing service oracleTNSListener APPs_PROD1_erpappl1 adalnctl.sh failed
it is on second node where is installed concurrent service.the other services are disabled as i installed on 3 node forms and web

it shows Batch processing services Enabled
and in second line it shows Batch processing Services -service it shows-OracleTNSListner APPS_PROD1_erpappl1 script adalnctl.sh status-failed.
and next Batch Processing Services OracleFulfillment Server PROD!_erpappl1 script-jtffmctl.sh status failed


i am getting this errors.

can you please give your suggestions


thank you
k.goutham
gouthamk10@yahoo.com