Installation guide
Migration Procedure
Chapter 6 Migrating and Upgrading From Previous Versions 93
❍ rootDN is the Directory Server 6.x user DN with root permissions, such as
Directory Manager.
❍ password is the password for Directory Manager in Directory Server 6.x.
❍ port is the LDAP port number assigned to Directory Server 6.x.
❍ oldInstancePath is the path to the installation directory of the legacy Directory
Server (for example,
/usr/netscape/server4/slapd-serverID).
❍ newInstancePath is the path to the installation directory of Directory Server
6.x (for example,
/usr/netscape/servers/slapd-serverID).
The following is an example of a command you would use on a UNIX machine
to migrate an instance of Directory Server 4.11 to Directory Server 6.x:
migrateInstance6 -D "cn=Directory Manager" -w secret -p 1389
-o /usr/netscape/server4/slapd-phonebook
-n /usr/netscape/servers/slapd-phonebook
The following is an example of the same command on a Windows machine:
perl migrateInstance6 -D "cn=Directory Manager" -w secret -p 1389
-o c:\netscape\server4\slapd-phonebook
-n c:\netscape\servers\slapd-phonebook
4.
Follow the prompts. For example, if you’re prompted to provide a path and
filename for your backup directory, enter one or accept the default.
The migration process starts. At the end of migration, your legacy Directory
Server is migrated. Additionally, as a result of this migration: a new
Directory Server 6.x instance is installed using the configuration
information obtained from your legacy Directory Server; the data from your
old server is migrated to the new server; and the new server is started.
A sample output showing migration of Directory Server 5.0 to Directory
Server 6.1 is provided below. Notice that the script detects three backends,
backend1, backend2, and userRoot, which exist in the legacy server as well
as in the new server instances. To demonstrate the various options, for each
backend a different option was chosen: for
backend1, the choice was to
continue with the migration and export processes; for
backend2, the choice
was to continue with the migration process only (without exporting); and
for
userRoot, the choice was to skip the migration process.
migrate5to6 -D "cn=directory manager" -w secret12 -p 11440 -o
/export/home/jdoe/50-latest/slapd-bart -n
/export/home/jdoe/61-latest/slapd-bart -t 3 -L log.out
oldDir: /export/home/jdoe/50-latest,