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

Enter 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
a.
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
IMPORTANT: The db_name portion of the LDIF file name must match the database
name, and this name is case sensitive. For example, the LDIF file name for the
NetscapeRoot database must be NetscapeRoot.ldif.
Be sure to specify the -r option. This option causes the migration tool to migrate replica
state information. If you do not specify the -r option, and you must re-initialize replicas
after the migration completes.
4. If you are using SSL to secure the Directory Server, you must temporarily disable SSL or
create a password file for the SSL private key token. For more information, see Section 6.5
(page 47).
5. Verify that the Red Hat Directory Server 8.0 schema does not conflict with your current
schema usage. Red Hat Directory Server 8.0 adds new schema elements, such as those used
for the new password policy features. This new schema might conflict with schema already
used in your current directories. See Appendix B (page 59) for a list of schema differences
between Red Hat Directory Server 8.0 and previous versions.
The scripts migrate existing schema elements from the current version to Red Hat Directory
Server 8.0 schema elements, so conflicts occur only with schema that was added in Red Hat
Directory Server 8.0. In some cases, migrating to Red Hat Directory Server 8.0 can expose
schema conflicts that already exist in the current directory.
6.3.2 Running the Migration Tool
To run the migration tool, follow these steps:
1. Use swinstall to install Red Hat Directory Server 8.0 as described in Chapter 3 (page 17).
6.3 Migrating to Red Hat Directory Server 8.0 on the Same System 37