Red Hat Directory Server B.08.00 for HP-UX Release Notes and Supplemental Instructions

Migration from Netscape Directory Server 6.02 and earlier is not supported. For additional
information about migration, see Chapter 8, "Migrating From Previous Versions" in the Red Hat
Directory Server 8.0 Installation Guide before you start the migration process.
IMPORTANT: A large number of configuration parameters are based on the Directory Server's
host name including Console, replication, TLS/SSL. The migration scripts cannot change the host
name used by the Directory Server and Administration Server. The source system must have
the same host name as the destination system if you want to migrate a Directory Server 6.11, 6.21
or 7.1 from one system to Red Hat Directory Server 8.0 on another system.
You can meet this requirement by renaming the source system, then giving the target system
the original name of the source system. In some cases, you can manually migrate to a system
with different host name. For a description of this procedure, see Appendix C (page 69).
Preparing for Migration
To prepare the Directory Server for migration, follow these steps:
1. For a general understanding of the migration process and background information, see
Chapter 8, "Migrating from Previous Versions” in the Red Hat Directory Server Installation
Guide.
2. Stop both the legacy Directory Server and the legacy Administrative Server (the existing
servers that you are going to migrate) on the HP 9000 system.
3. If you are migrating from Red Hat Directory Server 7.1 to Red Hat Directory Server 8.0, skip
this step.
Otherwise, if you are migrating Directory Server 6.11 or 6.21 (32-bit architecture) to Directory
Server 8.0 (64-bit architecture), use the following procedure to create LDIF files for your
Directory Server 6.11 or 6.21 databases.
a. Use the following command sequence to determine the database names for a Directory
Server instance:
cd /var/opt/netscape/servers/slapd-instance
find ./db -type d
Each subdirectory under the db represents a separate database, such as NetscapeRoot
or userRoot. The name of the database is the same as the subdirectory name.
b. For each database, enter the following command sequence to create an LDIF file in the
db subdirectory below the instance directory:
cd /var/opt/netscape/servers/slapd-instance
./db2ldif -n db_name -r -a \
/var/opt/netscape/servers/slapd-instance/db/db_name.ldif
Where db_name is the database name discovered in the previous step.
For example, the following commands export the NetscapeRoot and userRoot
databases to the NetscapeRoot.ldif and userRoot.ldif files from Directory
Server 6.11 or 6.21:
cd /var/opt/netscape/servers/slapd-foo
./db2ldif -n NetscapeRoot -r -a \
/var/opt/netscape/servers/slapd-foo/db/NetscapeRoot.ldif
./db2ldif -n userRoot -r -a \
/var/opt/netscape/servers/slapd-foo/db/userRoot.ldif
42 Migrating to Red Hat Directory Server 8.0