Oracle® Process Manager and Notification Server Administrator's Guide
10g Release 2 (10.1.2) B13996-02 |
|
Previous |
Next |
This chapter describes Log Loader configuration in the OPMN opmn.xml
file.
It features the following topics:
The following lines load and identify the Log Loader process module. Management of Log Loader processes by the process module are identified by the module
id
.
<module path="$ORACLE_HOME/opmn/lib/liblogloader.so"> <module-id id="LOGLDR"/> </module>
The following lines represent the minimum configuration for Log Loader. Default values are assigned to all other configuration elements and attributes for Log Loader.
<ias-component id="LogLoader" status="enabled" id-matching="true"> <process-type id="logloaderd" module-id="LOGLDR" working-dir="$ORACLE_HOME"> <environment> <variable id="CLASSPATH" value="$ORACLE_HOME/diagnostics/lib/ojdl.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/lib/xmlparserv2.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/classes12.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/nls_charset12.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/ons.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/optic.jar" append="true"/> <variable id="CLASSPATH" vaule="$ORACLE_HOME/jlib/oraclepki.jar" append="true"/> </environment> <process-set id="logloaderd" restart-on-death="true" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-parameters" value="-server -Doracle.home=$ORACLE_HOME -Djava.security.policy=$ORACLE_HOME/diagnostics/bin/java.policy"/> </category> <category id="stop-parameters"> <data id="java-parameters" value=" -Doracle.home=$ORACLE_HOME -Djava.security.policy =$ORACLE_HOME/diagnostics/bin/java.policy"/> </category> </module-data> </process-set> </process-type> </ias-component>
The following lines show the complete configuration for Log Loader. It contains all possible configuration elements and attributes for Log Loader.
<ias-component id="LogLoader" status="enabled" id-matching="true"> <process-type id="logloaderd" module-id="LOGLDR" working-dir="$ORACLE_HOME"> <environment> <variable id="CLASSPATH" value="$ORACLE_HOME/diagnostics/lib/ojdl.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/lib/xmlparserv2.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/classes12.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/nls_charset12.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/ons.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/optic.jar" append="true"/> <variable id="CLASSPATH" vaule="$ORACLE_HOME/jlib/oraclepki.jar" append="true"/> </environment> <process-set id="logloaderd" restart-on-death="true" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-bin" value="$ORACLE_HOME/jdk/bin/java"/> <data id="java-parameters" value="-server-Doracle.home= $ORACLE_HOME -Djava.security.policy=$ORACLE_HOME/diagnostics/bin/java.policy"/> <data id="class-name" value="oracle.core.ojdl.loader.LogLoaderDaemon"/> <data id="application-parameters" value="-start -config $ORACLE_HOME/diagnostics/ config/logloader.xml"/> </category> <category id="stop-parameters"> <data id="java-bin" value="$ORACLE_HOME/jdk/bin/java"/> <data id="java-parameters" value="-Doracle.home=$ORACLE_HOME -Djava.security.policy=$ORACLE_HOME/diagnostics/ bin/java.policy"/> <data id="class-name"value="oracle.core.ojdl.loader.LogLoaderDaemon"/> <data id="application-parameters" value="-stop"/> </category> </module-data> </process-set> </process-type> </ias-component>
This section describes the attributes that are specific for Log Loader. This section also provides attribute descriptions of the attributes.
The Log Loader attributes are described with the following format:
Title: This is the attribute name and value being defined. For example, id="LogLoader".
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, LogLoader
.
Path: This field defines in which elements the attribute can appear. For example, ias-component.
LogLoader
ias-component
This id
is required and cannot be changed.
logloaderd
ias-component/process-type
ias-component/process-type/process-set
This id
is required and cannot be changed.
ias-component/process-type
This name defines the type of process and associates this configuration with a process module.
numprocs="1"
1
ias-component/process-type/process-set
This attribute gives the number of LogLoader server instances started for this 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 start-parameters
category. This category specifies the Java-parameters data must be specified.
id="java-bin"
$ORACLE_HOME/jdk/bin/java
ias-component/process-type/process-set/module-data/
category/data
You can specify alternate paths to the Java executable.
id="java-parameters"
ias-component/process-type/process-set/module-data/
category/data
The parameters -Doracle.home
and -Djava.security.policy
are required and must be defined in this section.
id="class-name"
oracle.core.ojdl.loader.LogLoaderDaemon
ias-component/process-type/process-set/module-data/
category/data
This field enables you to specify a Java class name other than the default to start or stop the LogLoader server process. This id
is for internal use and must not be changed by the user.
id="application-parameters"
-start -config $ORACLE_HOME/diagnostics/config/logloader.xml
.
-stop -config $ORACLE_HOME/diagnostics/config/logloader.xml
class-name
".
ias-component/process-type/process-set/module-data/
category/data
This field enables you to set application parameters. Any parameters defined here will replace the default values.
id="stop-parameters"
ias-component/process-type/process-set/module-data/
category
This indicates the configuration block for stop-parameters
category. In this category, some stop related module data
can be specified.