Sun Java Enterprise System 5 Update 1 Upgrade Guide for Microsoft Windows

Release 5 Directory Server Upgrade

This section describes how to perform an upgrade of Directory Server from Java ES 5 to Java ES 5 Update 1. The section covers the following topics:

Pre-Upgrade Tasks

Before you upgrade Directory Server, perform the following tasks.

Verify Current Version Information

Verify the current version of Directory Server before you upgrade.

ProcedureTo Verify Current Version Information

  1. Log in as administrator.

  2. Check the current version of Directory Server instance.

    DSEE-base\ds6\bin\dsadm.exe -V

    dsadm               : 6.0                 [Build information]

Upgrade Directory Server Dependencies

It is generally recommended that all Java ES components on a computer system (and in a computing environment) be upgraded to Release 5U1. Before upgrading Directory Server, you need to upgrade CAC, MFWK, SJWC, and Security components (NSS,JSS,NSPR). Also, Directory Server requires that Windows Installer patch (126910–02) is already applied.

Upgrading Release 5 Directory Server

This section discusses considerations that impact the upgrade procedure for Directory Server, followed by a description of the procedure itself.

Upgrade Considerations

This upgrade of Directory Server software to Release 5U1 takes into account the following considerations:

Table 3–3 Patches to Upgrade Directory Server on Windows


Patch ID [Patch revision numbers are the minimum required for upgrade to Release 5U1. If newer revisions become available, use the newer ones instead of those shown in the table.]

Directory Server Enterprise Edition core (includes Directory Server) 


Directory Server localization 

The localized patch files are delivered within the core patch. 

Upgrade Procedure

The procedure documented below applies to Directory Server instances residing locally on the computer where the upgrade is taking place.

ProcedureTo Upgrade Directory Server to Release 5U1

  1. Log in as administrator.

  2. Stop any Java ES components which use the Directory Server.

    Stop the service using persistent connections like Access Manager. You can stop Access Manager by stopping its web container.

  3. Shut down the Directory Server.

    Also shut down Directory Proxy Server and Directory Registry if they are on the same system.

    DSEE-base\ds6\bin\dsadm.exe stop instancePath

    DSEE-base\dps6\bin\dpadm.exe stop instancePath

    DSEE-base\dscc6\bin\dsccsetup.exe stop instancePath

  4. Make sure you have upgraded any Java ES components upon which Directory Server has hard upgrade dependencies (see Upgrade Directory Server Dependencies.

  5. Obtain the required Directory Server Release 5U1 upgrade patches, based on Table 3–3.

    To obtain the patch, see Accessing Java ES Patches. Patches can be downloaded to \workingDirectory.

  6. Install the patch.

    Installation is generally performed by running patch-id.exe, however, be sure to consult the README.patch-id file in the patch directory for installation instructions.

    Note –

    If you are prompted to restart the system, select No. Wait till the patch installation process is completed and then restart and re-login as the same user to complete the patch installation.

  7. Verify the patch log file.

    The log file is found at: %TEMP%\SUNJAVAES_<patch-id>.log

  8. Verify the patch installation with the utility ListJavaESPatches.exe.

    Run ListJavaESPatches.exe and check that the output includes the patch id of the patch that you have installed in Step 6. For more information, see Identifying Installed Java ES Patches.

  9. Refresh DSCC application into SJWC.

    Note –

    This step should be performed on the system where DSCC is installed.

    DSEE-base\dscc\bin\dsccsetup console-unreg

    DSEE-base\dscc\bin\dsccsetup console-reg

  10. Start the Directory Server.

    Also start Directory Proxy Server and Directory Registry if they are on the same system.

    DSEE-base\ds6\bin\dsadm.exe start instancePath

    DSEE-base\dps6\bin\dpadm.exe start instancePath

    DSEE-base\dscc6\bin\dsccsetup.exe start instancePath

  11. Restart CAC.

  12. Start any Java ES components that use Directory Server.

Verifying the Upgrade

You can verify successful upgrade of Directory Server as follows:

  1. Log in as administrator.

  2. Check the new Directory Server instance.DSEE-base\ds6\bin\dsadm.exe -V

    dsadm               : 6.2                 [Build information]

Post-Upgrade Tasks

There are no post-upgrade tasks beyond the steps described in Upgrade Procedure.

Rolling Back the Upgrade

  1. Log in as administrator.

  2. Shut down the Directory Server instances.

    DSEE-base\ds6\bin\dsadm stop instancePath

  3. Double-click Uninstall_patch-id.bat to uninstall the patch.

  4. Restart the Directory Server instances that were shut down in step 2.DSEE-base\ds6\bin\dsadm.exe start instancePath

  5. Check the version of the Directory Server instance.

    DSEE-base\ds6\bin\dsadm.exe -V

    dsadm               : 6.0                 [Build information]