Skip Headers

Oracle® Internet Directory Administrator's Guide
10g (9.0.4)

Part Number B12118-01
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to beginning of chapter Go to next page

Oracle Directory Integration and Provisioning Server Administration, 4 of 6


Managing the Oracle Directory Integration and Provisioning Server

This section contains these topics:

Viewing Oracle Directory Integration and Provisioning Server Information

When the directory integration and provisioning server starts, it generates specific runtime information and stores it in the directory. This information includes:

You can view this information by using either Oracle Directory Manager or ldapsearch.

Viewing Oracle Directory Integration and Provisioning Server Runtime Information by Using Oracle Directory Manager

To view runtime information for the directory integration and provisioning server instance by using Oracle Directory Manager:

  1. In the navigator pane, expand in succession Oracle Internet Directory Servers, directory server instance, Server Management.

  2. Select Integration Server. The Active Processes box appears in the right pane.

  3. Select a directory integration and provisioning server instance, then choose View Properties. The Server Process dialog box displays the information.

Viewing Oracle Directory Integration and Provisioning Server Runtime Information by Using ldapsearch

To view registration information for the directory integration and provisioning server instance by using ldapsearch, perform a base search on its entry. For example:

ldapsearch -p 389 -h my_host -b cn=instance1,cn=odisrv,cn=subregistrysubentry -s 
base -v "objectclass=*"

This example search returns the following:

dn: cn=instance1,cn=odisrv,cn= subregistrysubentrycn: 
instance1orclodipconfigdns: orclodipagentname=HRAgent,cn=subscriber 
profile,cn=changelog subscriber,cn=oracle internet directory
orcldiaconfigrefreshflag: 0
orclhostname: my_host
orclconfigsetnumber: 1
objectclass: top
objectclass: orclODISInstance

Managing Configuration Set Entries Used by the Oracle Directory Integration and Provisioning Server

You can create, modify, and view configuration set entries by using either Oracle Directory Manager or the appropriate command-line tools. When a connector is registered, an integration profile is created and added to the given configuration set. This configuration set entry determines the behavior of the directory integration and provisioning server.

You can control the runtime behavior of the directory integration and provisioning server by using a different configuration set entry when you start it. For example, you can start instance 1 of the directory integration and provisioning server on host H1 with configset1, and instance 2 on host H1 with configset2. The behavior of instance 1 depends on configset1, and that of instance 2 depends on configset2. Dividing the agents on host H1 between two configuration set entries distributes the load between the two directory integration and provisioning server instances. Similarly, running different configuration sets and different instances on different hosts balances the load between the servers.

Managing the SSL Certificates of Oracle Internet Directory and Connected Directories

The certificates to be used for connecting Oracle Internet Directory and connected directories are stored in a wallet by using Oracle Wallet Manager.

See Also:

The chapter on Oracle Wallet Manager in Oracle Advanced Security Administrator's Guide

The location of the wallet and the password to open it are stored in a properties file used by the Oracle Directory Integration and Provisioning platform. This file is
$ORACLE_HOME/ldap/odi/conf/odi.properties.

A typical odi.properties file has the entries described in Table 35-2.

Table 35-2  Entries in the odi.properties File
Entry Description

RegWalletFile: odi/conf/srvWallet

This entry indicates the location of the registration information of the Oracle Directory Integration and Provisioning platform with Oracle Internet Directory. The location of the file is in relation to the $ORACLE_HOME/ldap directory.

CertWalletFile: location_of_certificate_wallet

Location of the certificate wallet.

CertWalletPwdFile: location_of_certificate_wallet_password_file

Location of the certificate wallet password file that is stored in a encrypted format in a specific file.

See Also:

Chapter 13, "Secure Sockets Layer (SSL) and the Directory"

"The Directory Integration and Provisioning Assistant"

All the file locations are absolute path names. The certificate wallet file is the location of the ewallet.p12 file.

As an example, an odi.properties file can look like this:

RegWalletFile:  /private/myhost/orahome/ldap/odi/conf
CertWalletFile:  /private/myhost/orahome/ldap/dipwallet
CertWalletPwdFile: /private/myhost/orahome/ldap/

In this example, the wallet file ewallet.p12 is located in the directory /private/myhost/orahome/ldap/dipwallet

Starting, Stopping, and Restarting the Oracle Directory Integration and Provisioning Server

This section tells you how to start, stop, and restart the Oracle directory integration and provisioning server.

Starting the Oracle Directory Integration and Provisioning Server

The way you start the Oracle directory integration and provisioning server depends on whether your installation is a typical Oracle Internet Directory installation or an Oracle Directory Integration and Provisioning platform-only installation.

See Also:

"Starting the Oracle Directory Integration and Provisioning Server"

Stopping the Oracle Directory Integration and Provisioning Server

The way you stop the directory integration and provisioning server depends on the tool that you used to start it.

See Also:

Stopping the Oracle Directory Integration and Provisioning Server

Restarting the Oracle Directory Integration and Provisioning Server

If you use OID Monitor and the OID Control utility, then you can both stop and restart the directory integration and provisioning server in a single RESTART command. This is useful when you want to refresh the server cache immediately, rather than at the next scheduled time. When the directory integration and provisioning server restarts, it maintains the same parameters it had before it stopped.

See Also:

Restarting Oracle Internet Directory Server Instances

Starting and Stopping the Oracle Directory Integration and Provisioning Server in a High Availability Scenario

The Oracle directory integration and provisioning server can, with certain restrictions, execute in various high availability scenarios. This section discusses the Oracle directory integration and provisioning server as it operates in a Real Application Clusters environment and in a cold failover configuration.

The Oracle Directory Integration and Provisioning Server in a Real Application Cluster Environment

The Oracle Internet Directory infrastructure is configured to work in a Real Application Clusters mode. In a Real Application Cluster, the Oracle directory integration and provisioning server can execute against any directory node.

A particular configuration set can be executed by only one instance of the Oracle directory integration and provisioning server. For this reason, during the default installation only one server instance--namely, instance 1--is started on the Real Application Clusters master node. This server instance executes configuration set 0. Although it is started only on the master node, the server is nevertheless registered on all the nodes.

If the master node fails, then the Oracle directory integration and provisioning server instance is started by the OID Monitor on a secondary node. If there are multiple secondary nodes, then the server is started by the first OID Monitor to recognize the master node failure.

When it starts the server, the OID Monitor uses the same instance number and configuration set that was used on the master node. This is a transparent to the end user, and, once it is done, the Oracle directory integration and provisioning server on the secondary node behaves as if it is the primary server. The server continues executing on the secondary node as long as that node is available.

Two separate instances of the Oracle directory integration and provisioning server running on two nodes cannot simultaneously execute the same configuration set. Although the OID Monitor does not check for this, the Oracle directory integration and provisioning server itself fails to start.

You can stop the Oracle directory integration and provisioning server at any time by using the OID Control utility. However, if you do this, then the server does not start automatically on any other node. To start it on another node, do so manually by using the OID Control utility.

If you execute the command opmnctl stopall, and subsequently execute opmnctl startall, then the Oracle directory integration and provisioning server starts.

In summary, unless an OID Control command stops the Oracle directory integration and provisioning server, OIDMON always ensures that the server is running.

The Oracle Directory Integration and Provisioning Server in a Cold Failover Configuration

The Oracle Internet Directory infrastructure is configured to work in a cold failover configuration mode. The Oracle directory integration and provisioning server executes on the active node.

If the active node fails, then the OID Monitor on a standby node starts the Oracle directory integration and provisioning server instance on the standby node. When it does this, it uses the same instance number and configuration set as previously used on the active node. This is a transparent to the end user. The server continues executing on the active node as long as the node is available. In a cold failover configuration, the server is registered once for both the active and standby nodes because the virtual host names are the same for both.

You can stop the Oracle directory integration and provisioning server at any time by using the OID Control utility. However, if you do this, then the server does not start again on this node. Moreover, if this node fails over, then the OID Monitor on the standby node does not start the Oracle directory integration and provisioning server. To start the server, you must use the OID Control utility.

If you execute the command opmnctl stopall, and subsequently execute opmnctl startall, then the Oracle directory integration and provisioning server starts.

In summary, unless an OID Control command stops the Oracle directory integration and provisioning server, OID Monitor always ensures that the server is running.

See Also:

"About the Cold Failover Cluster Configuration"

Setting the Debug Level for the Oracle Directory Integration and Provisioning Server

You can separately control the execution of the directory integration and provisioning server and that of each connector. You can also selectively disable debugging for different connectors.

For server execution, the trace is stored in the server log. For connectors, the trace is stored in the respective trace file of each connector.

If you specify a nonzero debug level, then each trace statement in the server log file includes these trace-statement types:

If you do not set a value for the debug flag, then the default level is 0 (zero), and none of the debug events in Table 35-3 are logged. However, errors and exceptions are always logged.

If you do not want to debug any of the connectors, then set the debug value to 3.

You can set the debugging levels for each connector in the profile itself.

See Also:

Managing the Oracle Directory Integration and Provisioning Platform in a Replicated Environment

For provisioning and synchronization, the replicated directory is different from the master directory. Any profiles created in the original directory need to be recreated in the new directory, and all configurations must be performed as in the original directory.

Finding the Log Files

Execution details and debugging information are in the log file located in the
$ORACLE_HOME/ldap/log/odisrvInstance_number.log directory.

For example, if the server was started as server instance number 3, then the log file would have this path name: $ORACLE_HOME/ldap/log/odisrv03.log.

Any other exceptions in the server are in the file odisrv_jvm_xxxx.log where xxxx is the identifier of the process running the directory integration and provisioning server in that table.

All the profile-specific debug events are stored in the profile-specific trace file in $ORACLE_HOME\ldap\odi\log\profile_name.trc.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1999, 2003 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index