Skip Headers

Oracle® Internet Directory Administrator's Guide,
10g Release 2 (10.1.2)
Part No. B14082-01
  Go To Table Of Contents
Contents
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Index
Index

Previous
Previous
Next
Next
 

27 Oracle Application Server Cluster (Identity Management) Configurations

This chapter describes the directory server in Oracle Application Server Cluster (Identity Management) configuration, which is also known as rack-mounted configuration. This configuration provides high availability of a directory server and involves running multiple directory server instances on different hardware nodes. The directory servers are connected to the same directory store, which is an Oracle Database.

This chapter contains these topics:

27.1 About Oracle Application Server Cluster (Identity Management) Directory Server Configurations

In an Oracle Application Server Cluster (Identity Management) configuration, multiple directory server instances run on different hardware nodes but connect to the same directory store, which is an Oracle Database.

The key benefits of the Oracle Application Server Cluster (Identity Management) configuration are:

27.2 Architecture of the Oracle Application Server Cluster (Identity Management) Configuration

Figure 27-1 shows the architecture of an Oracle Application Server Cluster (Identity Management) configuration.

Figure 27-1 Architecture of an Oracle Application Server Cluster (Identity Management) Configuration

Description of oidag099.gif follows
Description of the illustration oidag099.gif

As Figure 27-1shows, in an Oracle Application Server Cluster (Identity Management) environment, a replication server can reside on one node only. If, after 10 tries, the OID Monitor on one node fails to start either a directory replication server or a directory integration server, then it pushes the start request to the OID Monitor on another node.

Multiple instances of the Oracle directory integration and provisioning server should not be started using the same configuration set entry.

27.3 Load Balancing for High Availability

Load balancing needed for high availability of directory servers can be achieved through a network re-director that changes the direction of the LDAP request on the failed directory server node to the other nodes that are still running.

Figure 27-2 shows load balancing in an Oracle Application Server Cluster (Identity Management) configuration.

Figure 27-2 Load Balancing in an Oracle Application Server Cluster (Identity Management) Configuration

Description of oidag096.gif follows
Description of the illustration oidag096.gif

As Figure 27-2 shows, when LDAP clients seek to connect to a directory, a load balancer handles that connection. If a directory server node has failed, then this re-director connects the client to one that is running.

27.4 Metadata Synchronization in an Oracle Application Server Cluster (Identity Management) Environment

In an Oracle Application Server Cluster (Identity Management) environment, it is necessary to synchronize the metadata—for example, definitions of object classes, attributes, matching rules, ACPs, and password policies—on all the directory server nodes. Figure 27-3 and the accompanying text exemplify the process in which directory server metadata is synchronized between two directory server nodes, Host A and Host B, in an Oracle Application Server Cluster (Identity Management) environment.

Figure 27-3 Metadata Synchronization Process in Oracle Application Server Cluster (Identity Management) Environments

This illustration is described in the text.

In the example in Figure 27-3, metadata in an Oracle Application Server Cluster (Identity Management) environment is synchronized as follows:

  1. On Host A, the directory server writes metadata changes to the shared memory on that same host.

  2. OID Monitor on Host A polls the shared memory on that same host. When it discovers a change in the metadata, it retrieves the change.

  3. OID Monitor sends the change to the Oracle Database, which is the repository for the directory server metadata in the Oracle Application Server Cluster (Identity Management) environment.

  4. OID Monitor on Host B polls the Oracle Database for changes in directory server metadata, and retrieves those changes.

  5. OID Monitor on Host B sends the change to the shared memory on that same host.

  6. The directory server on Host B polls the shared memory on that same host for metadata changes. It then retrieves and applies those changes.

27.5 How Failover Works in an Oracle Application Server Cluster (Identity Management) Environment

In an Oracle Application Server Cluster (Identity Management) environment, the OID Monitor on each node reports to the other nodes that it is running by sending a message to the Oracle Database every 10 seconds. When it does this, it also polls the database server to verify that all other directory server nodes are also running. If, after 250 seconds, an OID Monitor on one of the nodes has not reported that it is running, then the other directory server nodes regard it as having failed. At this point, the following occurs on one of the other nodes that are still running:

  1. The OID Monitor on that node brings up the processes that were running on the failed node.

  2. The directory server on that node continues processing the operations that were previously underway on the failed node.

  3. The OID Monitor on that node logs that it has brought up the processes that were previously running on the failed node.

Figure 27-4 and the accompanying text exemplify this process on two hypothetical nodes, Node A and Node B.

Figure 27-4 Example of Failover in an Oracle Application Server Cluster (Identity Management) Environment

This illustration is described in the text.

As the example in Figure 27-4 shows, the failover process in an Oracle Application Server Cluster (Identity Management) environment follows this process:

  1. Every 10 seconds, the OID Monitor on Node A reports that it is running by sending a message to the database.

  2. The OID Monitor on Node B polls the database to learn which, if any, of the other nodes may have failed.

  3. When OID Monitor on Node B learns that Node A has not responded for 250 seconds, it regards Node A as having failed. It then retrieves from the database the necessary information about the Oracle Internet Directory servers that were running on Node A. In this example, it learns that the directory replication server had been running on Node A.

  4. Because a directory replication server was not already running on Node B, the OID Monitor on Node B starts a directory replication server that corresponds to the directory replication server previously running on Node A.


    Note:

    If Node A, running either the directory replication server (oidrepld), or the Oracle directory integration and provisioning server (odisrv), or both fails, then the OID Monitor on Node B starts these processes on Node B after five minutes. When Node A is restarted, OIDMON on Node A starts the servers automatically and requests the OIDMON on Node B to stop the servers that were started for Node A.

    If OIDMON detects a time discrepancy of more than 250 seconds between the two nodes, OIDMON on the node that is behind stops all servers. OIDMON on the node that is ahead automatically starts the servers. To correct this problem, synchronize the time and restart the servers on the node that was behind.



    See Also:

    "Oracle Internet Directory Architecture" for information about directory server nodes, directory server instances, and the kinds of directory metadata stored in the database

    "Starting, Stopping, Restarting, and Monitoring Oracle Internet Directory Servers".



    Note:

    Normal shutdown is not treated as a failover—that is, after a normal shutdown of Node A, the OID Monitor on Node B does not start these processes on Node B after five minutes.

27.6 Rules for Managing an Oracle Application Server Cluster (Identity Management) Environment

Adhere to the following rules when managing an Oracle Application Server Cluster (Identity Management) environment: