Installation guide
Migration Procedure
Chapter 6 Migrating from Previous Versions 75
• If you want to continue to run your legacy Directory Server, when you install
the new Directory Server, choose different ports for LDAP traffic and for
secured connections than the ones used by your legacy Directory Server.
If you will not be running your legacy Directory Server, use the same port
numbers to ensure that any directory clients that have static configuration
information (including Directory Server port numbers) will continue to work.
• Your new Directory Server must be running when you execute the migration
script.
• Any custom schema that you created in a 6.x Directory Server must be stored
in an LDIF file in the
serverRoot/slapd-serverID/config/schema directory.
• Before performing the migration, check that the user-defined variables contain
the following associated values, where server7Root is the path to where your
new Directory Server 7.x is installed:
On UNIX, set the following environment variables:
PERL5LIB=server7Root/bin/slapd/admin/bin
PATH=server7Root/bin/slapd/admin/bin:$PATH
On Windows, set the following environment variables:
PERL5LIB=server7Root\bin\slapd\admin\bin
PATH=server7Root\bin\slapd\admin\bin
• Windows only. If you are migrating a multi-master replicated (MMR)
environment to Directory Server 7.x, before you run the migration script,
export all exports from the old server’s backend databases using the
db2ldif
-r
option. See "Migrating Windows‚" on page 87.
• When you run the migration script, it migrates the configuration files or
configuration entries, database instances, and schema with minimum manual
intervention. For complete information on the configuration parameters and
attributes that are migrated, check chapter 6, “Migration from Earlier
Versions,” in the Netscape Directory Server Configuration, Command, and File
Reference.
• Check the command syntax for the migration script in chapter 8,
“Command-Line Scripts,” of the Netscape Directory Server Configuration,
Command, and File Reference.
Migration Procedure
Before you start with migration process, ensure the following:
install.book Page 75 Wednesday, November 24, 2004 11:30 AM