| Oracle® Process Manager and Notification Server Administrator's Guide
10g (9.0.4) Part Number B12057-01 |
|
This chapter describes Oracle HTTP Server configuration in the OPMN opmn.xml file.
It features the following topics:
The following lines load and identify the Oracle HTTP Server process module. Management of Oracle HTTP Server processes by the process module are identified by the module id.
<module path="ORACLE_HOME/opmn/lib/libopmnohs.so">
<module-id="OHS" />
</module>
The following lines represent the minimum configuration for Oracle HTTP Server. Default values are assigned to all other configuration elements and attributes for Oracle HTTP Server.
<ias-component id="HTTP_Server"> <process-type id="HTTP_Server" module-id="OHS"> <process-set id="HTTP_Server" numprocs="1"/> </process-type> </ias-component>
The following lines show a complete configuration for Oracle HTTP Server. It contains all possible configuration elements and attributes for Oracle HTTP Server.
<ias-component id="HTTP_Server" status="enabled" id-matching="false"> <process-type id="HTTP_Server" module-id="OHS"> <process-set id="HTTP_Server" restart-on-death="true" numprocs=1> <module-data> <category id="start-parameters"> <data id="config-file" value="/myconfs/httpd.conf"/> <data id="start-mode" value="ssl-disabled"/> <data id="command-line" value="-D MyDefine"/> </category> <category id="ping-parameters"> <data id="ping-url" value="/"/> </category> <category id="restart-parameters"> <data id="reverseping-timeout" value="345"/> <data id="no-reverseping-failed-ping-limit" value="3"/> <data id="reverseping-failed-ping-limit" value="6"/> </category> </module-data> <start timeout="300" retry="3"/> <stop timeout="300"/> <restart timeout="300"/> <ping timeout="30" interval="30"/> </process-set> </process-type> </ias-component>
This section describes the attributes that are specific for Oracle HTTP Server.
The Oracle HTTP Server attributes are described with the following format:
opmn.xml file or is assigned internally if the attribute is not present.
HTTP_Server.
ias-component/process-type/process-set
HTTP_Server
ias-component
ias-component/process-type
ias-component/process-type/process-set
The id attribute is required and cannot be changed. The id must match the targets.xml entry or Application Server Control will not work.
The module-id attribute defines the type of process. It associates the configuration with a process module.
The Number of OHS Instances to start. Only valid value is 1.
The numprocs attribute gives the number of Oracle HTTP Server instances to start. The only valid value is 1.
The start-parameters category contains the parameters that are relevant for the startup of Oracle HTTP Server.
$ORACLE_HOME/Apache/Apache/conf/httpd.conf
ias-component/process-type/process-set/module-data/category/
data
The config-file id is an start command option which specifies the httpd.conf for starting Oracle HTTP Server.
ssl-enabled
ssl-enabled/ssl-disabled
ias-component/process-type/process-set/module-data/
category/data
This option specifies whether Oracle HTTP Server will be started with ssl enabled
ias-component/process-type/process-set/module-data/
category/data
This id option specifies extra command lines to append to the Oracle HTTP Server command line.
The ping parameters category contains the parameters that configure how OPMN pings Oracle HTTP Server.
/
http://127.0.0.1/<path>
ias-component/process-type/process-set/module-data/
category/data
The ping-url id specifies the URL at which OPMN pings Oracle HTTP Server.
The restart-parameters category is used for defining parameters that will be used in death-detection.
ias-component/process-type/process-set/module-data/
category/data
The reverseping-timeout value is the maximum allowable time between two notifications arriving from an Oracle HTTP Server process. As part of death-detection, the Oracle HTTP Server module performs forward pings on the Oracle HTTP Server process. In the event that forward pings start failing, the reverse pings are taken into account in death-detection and Oracle HTTP Server processes are restarted.
ias-component/process-type/process-set/module-data/category/
data
This id module data element defines the tolerance for failed forward pings in the event that reverse pings are also not being received (within the timeout period specified by the reverseping-timeout data element). After the number of ping failures equals this limit, the process is deemed unresponsive and restarted by OPMN.
3
ias-component/process-type/process-set/module-data/category/
data
This module data element defines the tolerance for failed forward pings when reverse pings are succeeding. After the number of ping failures equals this limit, the process is deemed unresponsive and restarted by OPMN.
|
|
![]() Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|