Oracle® Process Manager and Notification Server Administrator's Guide
10g (9.0.4) Part Number B12057-01 |
|
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
/opmn/lib/ons.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME
/opmn/lib/optic.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
/lib/xmlparserv2.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME
/jdbc/lib/classes12dms.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" value="$ORACLE_HOME
/dcm/lib/dcm.jar" append="true"/> <variable id="CLASSPATH" value="$ORACLE_HOME
/diagnostics/lib/ojdl.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 -configORACLE_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:
opmn.xml
file or is assigned internally if the attribute is not present.
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.
This name defines the type of process and associates this configuration with a process module.
This attribute gives the number of LogLoader server instances started for this process-set
. The value should always be 1
.
This indicates the configuration block for start-parameters
category. This category specfies the Java-parameters data must be specified.
$ORACLE_HOME/jdk/bin/java
ias-component/process-type/process-set/module-data/
category/data
You can specify alternate paths to the Java executable.
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.
oracle.core.ojdl.loader.LogLoaderDaemon
ias-component/process-type/process-set/module-data/
category/data
This field allows 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.
-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 allows you to set application parameters. Any parameters defined here will replace the default values.
This indicates the configuration block for stop-parameters
category. In this category, some stop related module data
can be specified.
|
Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|