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
Follow the prompts. For example, if you're prompted to provide a path and
4.
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
as in the new server instances. To demonstrate the various options, for each
backend a different option was chosen: for
continue with the migration and export processes; for
was to continue with the migration process only (without exporting); and
for
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,
is the Directory Server 6.x user DN with root permissions, such as
rootDN
Directory Manager
is the password for
password
port is the LDAP port number assigned to Directory Server 6.x.
is the path to the installation directory of the legacy Directory
oldInstancePath
Server (for example,
is the path to the installation directory of Directory Server
newInstancePath
6.x (for example,
/usr/netscape/servers/slapd-serverID
,
, and
backend2
, the choice was to skip the migration process.
userRoot
.
Directory Manager
/usr/netscape/server4/slapd-serverID
, which exist in the legacy server as well
userRoot
backend1
Chapter 6
Migrating and Upgrading From Previous Versions
Migration Procedure
in Directory Server 6.x.
).
).
, the choice was to
, the choice
backend2
93
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 and is the answer not in the manual?