Oracle® Process Manager and Notification Server Administrator's Guide
10g (9.0.4) Part Number B12057-01 |
|
This chapter describes Oracle Internet Directory configuration in the OPMN opmn.xml
file.
It features the following topics:
The following lines load and identify the Oracle Internet Directory process module. Management of Oracle Internet Directory processes by the process module are identified by the module
id
.
<module path="$ORACLE_HOME
/opmn/lib/libopmnoid.so">
<module-id id="OID" />
</module>
The following lines represent the minimum configuration for Oracle Internet Directory. Default values are assigned to all other configuration elements and attributes for Oracle Internet Directory.
<ias-component id="OID"> <process-type id="OID" module-id="OID"> <process-set id="OID" numprocs="1"> <dependencies> <database db-connect-info="IASDB.US.ORACLE.COM"/> </dependencies> <module-data> <category id="oidctl-parameters"> <data id="connect" value="IASDB.US.ORACLE.COM"/> <data id="startoidldapd" value="true"/> </category> <category id="oidmon-parameters"> <data id="connect" value="IASDB.US.ORACLE.COM"/> </category> </module-data> </process-set> </process-type> </ias-component>
The following example represents the complete configuration for Oracle Internet Directory. It contains all possible configuration elements and attributes that can be used with Oracle Internet Directory.
<ias-component id="OID"> <process-type id="OID" module-id="OID" working-dir="my_working_dir"> <environment> <variable id="TNS_ADMIN" value="/ade/liyu_oid/oracle/work" /> </environment> <process-set id="OID" numprocs="1"> <dependencies> <database db-connect-info="IASDB.US.ORACLE.COM"/> </dependencies> <module-data> <category id="oidmon-parameters"> <data id="connect" value="IASDB.US.ORACLE.COM"/> <data id="host" value="virtual_host_name"/> <data id="sleep" value="20"/> <data id="run-oidctl" value="true"/> </category> <category id="oidctl-parameters"> <data id="connect" value="IASDB.US.ORACLE.COM"/> <data id="instance" value="1"/> <data id="configset" value="1"/> <data id="host" value="12.12.12.12"/> <data id="flags" value="-p 389"/> <data id="startoidldapd" value="true"/> <data id="startoidrepld" value="true"/> <data id="startodisrv" value="true"/> </category> </module-data> </process-set> </process-type> </ias-component>
This section describes the attributes that are specific for Oracle Internet Directory. This section also provides attribute descriptions of the attributes.
The Oracle Internet Directory attributes are described with the following format:
opmn.xml
file or is assigned internally if the attribute is not present.
OID
.
ias-component.
OID
ias-component
ias-component/process-type
ias-component/process-type/process-set
This id
name is required and cannot be changed. The name must match the entry targets.xml
or Application Server Control will not work.
The module-id
name defines the type of process and associates this configuration with a process module.
The working-dir
attribute specifies where the oidmon
process will run.
Oracle Internet Directory requires the connection to the database by specifying a connect string. The string taken by Oracle Internet Directory is an alias. At runtime, the string is resolved using the tnsnames.ora
file in the $TNS_ADMIN
directory. By default, $TNS_ADMIN
points to $ORACLE_HOME/network/admin
. If tnsnames.ora
exists under a different directory, the environment
must be set to the different directory.
This attribute gives the number of oidmon
instances started for this process-set
. There should be at most one instance running in one Oracle Application Server instance.
ias-component/process-type/process-set
Oracle Internet Directory depends on the backend database. If the backend database is not running, oidmon
and other Oracle Internet Directory server processes cannot start.
The id
category specifies the startup parameters for oidmon
.
ias-component/process-type/process-set/module-data/
category/data
The id
data must be configured to start oidmon
. The following command starts oidmon
:
$ORACLE_HOME
/bin/oidmon connect=<value> -opmnuid <uid> start
ias-component/process-type/process-set/module-data/
category/data
The host
data is configured by default at installation time. The following command starts oidmon
:
$ORACLE_HOME
/bin/oidmon connect=<value> host=<value> -opmnuid <uid> start
oidmon
monitors Oracle Internet Directory servers
ias-component/process-type/process-set/module-data/
category/data
If the sleep
data is configured, the following command starts oidmon
:
$ORACLE_HOME
/bin/oidmon connect=<connect_value> sleep=<sleep_value>
-opmnuid <uid> start
true
true
or false
ias-component/process-type/process-set/module-data/
category/data
OPMN manages oidmon
. However, when starting and stopping oidmon
, OPMN also attempts to start oidldapd
through oidctl
by default.
If you do not want to start any process associated with oidctl
, set this value to false
.
1
ias-component/process-type/process-set/module-data/
category/data
The instance
value is required for using oidctl
. If this id
is not configured, the default value is 1
. You can overwrite this default option by specifying a value.
0
ias-component/process-type/process-set/module-data/
category/data
The configset id
is only needed to start oidldapd
. If you want to start oidrepld
or oidsrv
, the assigned data is ignored. If configset
is not configured, the default value is 0
.
ias-component/process-type/process-set/module-data/
category/data
If flags
is configured, it will overwrite the settings in the configset
at runtime.
true
true
or false
ias-component/process-type/process-set/module-data/
category/data
If the id
data is configured, the default start command for the server is:
$ORACLE_HOME
/bin/oidctl connect=<connect_value> server=oidldapd instance=1
configset=0 start
true
or false
ias-component/process-type/process-set/module-data/
category/data
If the id
data is configured, the default start command for the server is:
$ORACLE_HOME
/
bin/oidctl connect=<connect_value> server=oidrepld instance=1 configset=0 start
Note: This server must be configured before it can be brought up manually or by OPMN after installation. |
true
or false
ias-component/process-type/process-set/module-data/
category/data
If the id
data is configured, the default start command for the server is:
$ORACLE_HOME
/bin/oidctl connect=<connect_value> server=odisrv instance=1
configset=0 start
|
Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|