Chapter 8. Migrating from Previous Versions

Shut down all Directory Server instances and the Administration Server.

Back up all of your databases.

For servers which have a different configuration directory, make sure that the Directory Server Console write operations are moved from the configuration directory to the server itself.

3.1. Backing up the Directory Server Configuration

All of the configuration files for Directory Server 6.x and 7.x instances are in the /opt/redhat-ds/slapd-serverID/config directory. Other important configuration files for the Administration Server and for shared configuration are in /opt/redhat-ds/admin-serv/config and /opt/redhat-ds/shared/config. Make a backup of all of these files in a secure location.

3.2. Configuring the Directory Server Console

If you have a multi-master replication setup which replicates o=NetscapeRoot replicated between the two master servers, server1 and server2. By default, writes made through server2's Directory Server Console are written toserver1, then replicated over. Modify the Directory Server Console on the second server (server2) so that it writes its own Console instance instead of server1's.

1.Shut down the Administration Server and Directory Server.

2.Change the adm.conf file for the Administration Server to reflect server2 Directory Servers values:

ldapurl: ldap://server2.example.com:389/o=NetscapeRoot

3.Change the dse.ldif for the Directory Server to reflect server2 Directory Servers values:

serverRoot/slapd-serverID/config/dse.ldif:nsslapd-pluginarg0: ldap:///server2.example.com:389/o=NetscapeRoot

4.Turn off the Pass-through Authentication Plug-in on server2 by editing its dse.ldif file and setting the nsslapd-pluginEnabledvalue to off.

serverRoot/slapd-serverID/config/dse.ldif

dn: cn=Pass Through Authentication,cn=plugins,cn=config

nsslapd-pluginEnabled: off

5.Restart the Directory Server and Administration Server.

112