This section describes how to perform an upgrade of Directory Server from Release 4 to Release 5. The section covers the following topics:
Before you upgrade Directory Server, perform the tasks described below.
All Java ES components on a computer system and in a computing environment should be upgraded to Release 5. However, all shared components required by Directory Server are upgraded automatically when you perform an upgrade of Directory Server to Release 5.
In cases where Release 5 Directory Server is being installed on a computer different from where the Release 4 version resides, an image of the Release 4 version should be created on the computer where Release 5 Directory Server is being installed. The image is needed to automate data migration (using the dsmig.bat) to the new Release 5 Directory Server instances.
Release 4 image includes all schema files, configuration files, security files, and database files, in an identical layout to the original Directory Server 5.x file structure. The image is needed to perform data migration to the new Release 5 Directory Server instances.
Go to Server-Root\bin\slapd-hostname\server
Type the following command:
ns-slapd -v
The message that indicate the Java ES release version are:
Sun Java System Directory Server 6.0
Sun Java System Directory Server 5.2_Patch_4
When upgrading Directory Server software to Java ES Release 5 you should take into account the following considerations:
In a deployment architecture in which there are multiple instances of Directory Server running on a single computer and all instances correspond to the same installed Directory Server image, upgrading the Directory Server image will upgrade all the instances. In such architectures, there is only one Administration Server instance per installed Directory Server image.
In many Release 4 deployment architectures the configuration directory is a separate Directory Server instance. These instances do not need to be upgraded because the configuration directory has been deprecated in Release 5. On the other hand, the upgrade might entail the deployment of the Release 5 Directory Server administrative console (the Directory Service Control Center) to a separate computer from which you remotely manage Directory Server instances.
Obtain the Directory Server administrator user ID and password for your currently installed version. Other configuration information is preserved through the upgrade process.
Any Java ES components using a Directory Server instance should be shut down and re-configured to access the corresponding new Release 5 instance.
Log in as administrator.
Shut down the Release 4 Directory Server (5.2) instances.
For remote install of Release 5, create a Release 4 image and transfer it to the remote computer, see Create Directory Server Image (Optional).
If the old and the new versions of the Directory Server have been installed on two different machines, an image of the old Directory Server must be created on the same machine where the new Directory Server is installed.
Make sure you have upgraded any Java ES components upon which Directory Server and Administration Server have hard upgrade dependencies.
For more information, see Upgrade Directory Server Dependencies
Install Release 5 Directory Server.
For Java ES 5 Directory Server installation instructions, see the Sun Java Enterprise System 5 Installation Guide for Microsoft Windows.
Create a Directory Server instance.
For information about creating a Directory Server instance, see the Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide.
Migrate Release 4 data to the Release 5 Directory Server instance.
For more information about the migration process, see the Sun Java System Directory Server Enterprise Edition 6.0 Migration Guide.
Log in as administrator.
Start the new Directory Server instance.
DirectoryServer-base\ds6\bin\dsadm -V
Check the startup messages in the instance-path\logs\errors Directory Server error log.
The message that indicate the Java ES release version are:
Sun Java System Directory Server 6.0
Sun Java System Directory Server 5.2_Patch_4
All Java ES components dependent on Directory Server need to be re-configured to point to the new Directory Server instances.
A rollback of the Release 5 upgrade is achieved by reverting to the previous version, which is left intact by the upgrade to Release 5.