Skip Headers
Oracle® Fusion Middleware Installation Guide for Oracle Unified Directory
11g Release 2 (11.1.2)

Part Number E23737-02
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

6 Updating the Oracle Unified Directory Software to 11g Release 2

This chapter covers a broad strategy for updating your directory service to the latest version, without service interruption, as well as the steps for updating an individual server instance.

The chapter covers the following topics:

6.1 Updating a Directory Service Without Service Interruption

Updating a replicated Oracle Unified Directory topology involves updating the software for each server instance individually. Usually, however, you should be able to update an entire topology without any interruption in service. Because a particular server instance must be stopped during the update process, maintaining service during an update necessitates that you have alternative servers that can handle client requests while a particular server is down.

The strategy for maintaining service during an update depends on the specifics of your deployment.

If your deployment includes one or more proxy server instances that route client requests to the backend servers, you can safely take down one directory server at a time, and update that server instance. The proxy server will take care of rerouting client requests to ensure uninterrupted service. Upgrading the proxy server instance requires more than one proxy server instance with the same configuration.

If your deployment does not include a proxy server, you must configure your client applications to send requests to an alternative server while a specific directory server instance is being updated.

The following sections outline the steps to follow in each of the scenarios described previously:

6.1.1 Upgrading in a Topology That Includes a Proxy Server

The following diagrams show two replicated topologies that include replicated proxy servers. This section covers two scenarios:

  • The first topology assumes that the directory servers and replication servers (RS) are installed on the same host.

  • The second topology assumes that the directory servers and replication servers are installed on separate hosts.

Group 1 and Group 2 in these diagrams refer to configured replication groups. For more information, see "Replication Groups" in the Administration Guide for Oracle Unified Directory.

6.1.1.1 Replication Server and Directory Server on the Same Host

If a single host contains both a replication server and a directory server, and those servers are associated with the same ORACLE_HOME directory, the servers are stopped and updated at the same time.

Figure 6-1 Replicated Topology With Proxy Servers - RS and DS on the Same Host

Topology with proxy servers - RS and DS on same hosts.

The update strategy in this topology would be as follows:

  1. Change the configuration of proxy server A so that no requests are routed to directory server A.

  2. Stop directory server A. The replication server running on this host is stopped at the same time.

  3. Update directory server A, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  4. Restart directory server A.

  5. Test that your directory service is working properly before upgrading successive servers.

  6. Repeat steps 1-5 for each directory server in that replication group.

  7. Follow steps 1-6 for each replication group in the topology.

  8. Stop proxy server A.

  9. Update proxy server A, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  10. Restart proxy server A.

  11. Repeat steps 8-10 for the remaining proxy servers in the topology.

6.1.1.2 Replication Server and Directory Server on Separate Hosts

If the replication server and the directory server are installed on separate hosts, the servers are stopped and updated in the sequence described here.

Figure 6-2 Replicated Topology With Proxy Servers - RS and DS on Separate Hosts

Surrounding text describes Figure 6-2 .

The update strategy in this topology would be as follows:

  1. Change the configuration of proxy server A so that no requests are routed to directory server A.

  2. Stop directory server A.

  3. Update directory server A, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  4. Restart directory server A.

  5. Test that your directory service is working properly before upgrading successive servers.

  6. Repeat steps 1-5 for each directory server in that replication group.

  7. Stop replication server 1.

    The replication mechanism ensures that directory servers A and B now connect to replication server 2.

  8. Update replication server 1, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  9. Restart replication server 1.

  10. Follow steps 1-9 for each replication group in the topology.

  11. Stop proxy server A.

  12. Update proxy server A, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  13. Restart proxy server A.

  14. Repeat steps 11-13 for the remaining proxy servers in the topology.

6.1.2 Upgrading in a Topology That Does Not Include a Proxy Server

In a topology that does not include any proxy server instances, you must update your client applications so that they point to an alternative directory server each time you take a directory server down for update.

The following diagram shows a replicated topology that does not include a proxy server. This topology assumes that the directory servers and replication servers are installed on separate hosts. If a single host contains both a replication server and a directory server, and those servers are associated with the same ORACLE_HOME directory, the servers must be stopped and updated at the same time.

Group 1 and Group 2 in this diagram refer to configured replication groups. For more information, see "Replication Groups in the Administration Guide for Oracle Unified Directory.

Figure 6-3 Replicated Topology Without Proxy Servers

Surrounding text describes Figure 6-3 .

The update strategy in this topology would be as follows:

  1. Change your client application configuration so that applications do not access directory server A directly.

  2. Stop directory server A. The replication server on this host is stopped and updated at the same time.

  3. Update directory server A, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  4. Restart directory server A.

  5. Test that your directory service is working properly before upgrading successive servers.

  6. Change your client application configuration so that applications do not access directory server B directly.

  7. Stop directory server B.

  8. Update directory server B, following the steps in Section 6.2, "Updating an Existing Oracle Unified Directory Instance".

  9. Follow steps 1-8 for each replication group in the topology.

6.2 Updating an Existing Oracle Unified Directory Instance

You can update all Oracle Unified Directory server instances that are associated with a specific ORACLE_HOME directory by installing the updated software version over the existing ORACLE_HOME.

To update an existing Oracle Unified Directory installation, follow these steps:

  1. Download the latest Oracle Unified Directory version from OTN or Oracle Software Delivery Cloud.

    For more information, see Section 2.1, "Getting the Oracle Unified Directory Software".

  2. Stop any Oracle Unified Directory server instances that are associated with the ORACLE_HOME directory that you are upgrading.

    $ instance-dir/OUD/bin/stop-ds
    

    Servers in the topology that are associated with a different ORACLE_HOME will not be updated and do not need to be stopped.

  3. Follow the steps outlined in Section 2.2, "Installing Oracle Unified Directory".

    Where you are required to specify an installation location, enter the same OUD Base Location Home and Oracle Home Directory (ORACLE_HOME) that you specified for the original installation.

    For more information about these directories, see Section 1.4, "Understanding the Installation Directories".

    The installer recognizes an existing installation and updates the relevant binary files. Do not recreate the server instances.

  4. Restart the server instances that you stopped in Step 1.

    $ instance-dir/OUD/bin/start-ds
    

    During the restart, the server configuration is updated to be aligned with the new Oracle Unified Directory version.

6.3 Updating the Oracle Directory Services Manager Software

When you update the Oracle Unified Directory software, the Oracle Directory Services Manager (ODSM) binaries are also updated to version 11.1.2.

ODSM 11.1.2 is compatible with Oracle WebLogic Server 10.3.5 or 10.3.6, and with the Oracle Application Development Framework 11.1.1.6.

Upgrading your Oracle WebLogic Server installation is optional. To update Oracle WebLogic Server from 10.3.5 to 10.3.6, download the WebLogic Server 10.3.6 update installer and follow the steps in Section 2.3, "Installing Oracle WebLogic Server". You must stop all WebLogic domains before upgrading the WebLogic software. For more information, see the Upgrade Guide for Oracle WebLogic Server.

You must update your Oracle Application Development Framework to 11.1.1.6 for ODSM 11.1.2 to function correctly. To update Oracle Application Development Framework, from 11.1.1.5 to 11.1.1.6, download Oracle Application Development Framework and follow the steps in Section 2.4, "Installing the Oracle Application Development Framework". Note that, even if you have not upgraded the WebLogic software, you must stop the WebLogic domains before you upgrade the Application Development Framework. For more information about upgrading the Oracle Application Development Framework, see the Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF.