• No results found

Configuring DCM Daemon

This chapter describes DCM Daemon configuration in the OPMN opmn.xml file. It features the following topics:

■ Section 13.1, "DCM Daemon Process Module Configuration" ■ Section 13.2, "DCM Daemon Minimum Configuration" ■ Section 13.3, "DCM Daemon Complete Configuration" ■ Section 13.4, "DCM Daemon Attribute Descriptions"

13.1 DCM Daemon Process Module Configuration

The following lines load and identify the DCM Daemon process module. Management of DCM Daemon processes by the process module are identified by the moduleid.

<module path="$ORACLE_HOME/opmn/lib/libopmndcmdaemon"> <module-id id="DCMDaemon"/>

</module>

13.2 DCM Daemon Minimum Configuration

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>

13.3 DCM Daemon Complete Configuration

The following lines show a complete configuration for the DCM Daemon. It contains all possible configuration elements and attributes for the DCM Daemon.

DCM Daemon Attribute Descriptions

<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>

13.4 DCM Daemon Attribute Descriptions

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. id="dcm-daemon"

Required: true Default: none

Valid values: dcm-daemon

Path: ias-component

Path: ias-component/process-type

This id is required and cannot be changed.

module-id="DCMDaemon"

Required: true Default: none

Path: 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"

Default: none Valid values: 1

Path: 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"

Required: true Default: none

Path: 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"

Required: false

Default: $ORACLE_HOME/jdk/bin/java

Valid values: Full path to java.exe

Path: ias-component/process-type/process-set/module-data/ category/data

You can specify alternate paths to the Java Interpreter (executable).

id="java-parameters"

Required: false

Default: -Doracle.ias.sysmgmt.logging.loglevel=ERROR

Valid values: Any valid Java parameters

Path: 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.

id="jar-file"

Required: true

Default: $ORACLE_HOME/dcm/lib/dcm.jar

Valid values: full path to valid dcm.jar

Path: 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.

id="application-parameters"

Required: true

Default: daemon -logdir $ORACLE_HOME/dcm/logs/daemon_logs -o $ORACLE_HOME

Valid values: any valid Java application parameters that are recognized by the main-class specified in dcm.jars manifest.mf

Path: ias-component/process-type/process-set/module-data/ category/data

DCM Daemon Attribute Descriptions

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

14

Configuring Oracle Application Server