=============
In R12 services are managed by OPMN(Oracle process manager and notification server).
OPMN COMPONENTS
==============
OPMN consists of two main components
1) Oracle Process Manager
2) Oracle Notification Server
1)Oracle Process Manager is responsible for below things.
=======================================
1) starting
2) stopping
3) restarting
4) monitoring the services it manages (this includes death detection and automatic restart of the process).
2) Oracle Notification Server
Oracle Notification Server is the transport mechanism for failure, recovery, startup, and other related notifications between components in AS.
Single configuration file(opmn.xml) is used OPMN to manage the services.
Config file location is given as $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml
To see more in details
========================
http://docs.oracle.com/cd/B13597_05/core.904/b12057/common.htm#CACHJAGG
http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/core.1013/b15976/opmnctl.htm
wonderful document on opmn
==========================
http://isu.ifmo.ru/docs/IAS904/core.904/b12057/intro.htm#1015088
http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/core.1013/b15976/opmnctl.htm
OPMN SERVICES
Services managed by opmn are (grep process-type opmn.xml)
1) HTTP_Server
2) oacore
3) forms
4) oafm
Starting OPMN managed Services
Starting Complete OC4J container
=================================
./adopmnctl.sh startproc ias-component=OC4J
Starting individual process-type(s)
./adopmnctl.sh startproc ias-component=OC4J process-type=oafm
./adopmnctl.sh startproc ias-component=OC4J process-type=forms
./adopmnctl.sh startproc ias-component=OC4J process-type=oacore
Starting HTTP Server (Apache)
./adopmnctl.sh startproc ias-component=HTTP_Server
Stoping OPMN managed Services
Stoping Complete OC4J container
./adopmnctl.sh stopproc ias-component=OC4J
Stoping individual process-type(s)
./adopmnctl.sh stopproc ias-component=OC4J process-type= oafm
./adopmnctl.sh stopproc ias-component=OC4J process-type= forms
./adopmnctl.sh stopproc ias-component=OC4J process-type= oacore
Stoping HTTP Server (Apache)
./adopmnctl.sh stopproc ias-component=HTTP_Server
Benefits of OPMN
OPMN detects the death of the process which it manages and brings up in almost no time.
1) OS process is checked by OPMN for every 2 seconds.
2) forward ping: periodically OPMN pings the process for every 20 seconds and expects response
3) reverse ping: every 20 seconds managed process sends OPMN a ping notification.
Creating oc4j instances
=================
No comments:
Post a Comment