Oracle® Process Manager and Notification Server Administrator's Guide
10g Release 2 (10.1.2) B13996-02 |
|
Previous |
Next |
This chapter describes DCM Daemon configuration in the OPMN opmn.xml
file.
It features the following topics:
The following lines load and identify the DCM Daemon process module. Management of DCM Daemon processes by the process module are identified by the module
id
.
<module path="$ORACLE_HOME
/opmn/lib/libopmndcmdaemon">
<module-id id="DCMDaemon"/>
</module>
The following lines represent the minimum configuration for the DCM Daemon. Default values are assigned to all other configuration elements and attributes for DCM Daemon.
<ias-component id="dcm-daemon" status="enabled" id-matching="true"> <process-type id="dcm-daemon" module-id="DCMDaemon"> <process-set id="dcm" numprocs="1"> <module-data> <category id="start-parameters"> <data id="jar-file" value="$ORACLE_HOME/dcm/lib/dcm.jar"/> <data id="application-parameters" value="daemon -logdir $ORACLE_HOME/dcm/logs/ daemon_logs -o $ORACLE_HOME"/> </category> </module-data> </process-set> </process-type> </ias-component>
The following lines show a complete configuration for the DCM Daemon. It contains all possible configuration elements and attributes for the DCM Daemon.
<ias-component id="dcm-daemon" status="enabled" id-matching="true"> <process-type id="dcm-daemon" module-id="DCMDaemon"> <process-set id="dcm" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-bin" value="$ORACLE_HOME/jdk/bin/java"/> <data id="java-parameters" value="-Doracle.ias.sysmgmt.logging.loglevel=ERROR"/> <data id="jar-file" value="$ORACLE_HOME/dcm/lib/dcm.jar"/> <data id="application-parameters" value="daemon -logdir $ORACLE_HOME/dcm/logs /daemon_logs -o $ORACLE_HOME"/> </category> </module-data> </process-set> </process-type> </ias-component>
This section describes the attributes that are specific for the DCM Daemon. This section also provides attribute descriptions of the attributes.
The DCM Daemon attributes are described with the following format:
Title: This is the attribute name and value being defined. For example, id="dcm-daemon".
Required: This field defines whether or not the attribute is required in the component definition.
Default: This defines the default value assigned to the attribute. The default value appears in the installed version of the opmn.xml
file or is assigned internally if the attribute is not present.
Valid values: If applicable, this field defines the valid values for the attribute. For example, dcm-daemon
.
Path: This field defines in which elements the attribute can appear. For example, ias-component.
dcm-daemon
ias-component
ias-component/process-type
This id
is required and cannot be changed.
ias-component/process-type
This id
defines the type of process and associates this configuration with a process module. This name is required and cannot be changed.
numprocs="1"
1
ias-component/process-type/process-set
This attribute gives the number of DCM Daemon instances started for the process-set
. The value should always be 1.
id="start-parameters"
ias-component/process-type/process-set/module-data/
category
This indicates the configuration block for the start-parameters
category. In this category, at a minimum, the Java-parameters data must be specified.
id="java-bin"
$ORACLE_HOME/jdk/bin/java
java.exe
ias-component/process-type/process-set/module-data/
category/data
You can specify alternate paths to the Java Interpreter (executable).
id="java-parameters"
-Doracle.ias.sysmgmt.logging.loglevel=ERROR
ias-component/process-type/process-set/module-data/
category/data
This field enables you to specify any valid Java parameters. All specified Java parameters overwrite the default values. If the loglevel is not specified, the loglevel for the DCM daemon is set at the ERROR
level.
$ORACLE_HOME/dcm/lib/dcm.jar
dcm.jar
ias-component/process-type/process-set/module-data/
category
This field specifies a JAR file for starting and stopping the DCM daemon. This id
is required and cannot be changed.
daemon -logdir $ORACLE_HOME/dcm/logs/daemon_logs -o $ORACLE_HOME
dcm.jars manifest.mf
ias-component/process-type/process-set/module-data/
category/data
This field enables you to set application parameters. Parameters defined here replace the default values. In order to start the DCM Daemon, it is mandatory to supply daemon
, -logdir,
and -o
parameters.