Setup guide
Before Upgrading
Chapter 2 CMS Upgrade Utility 19
Creating Your Previous Internal Database File in
LDIF Format
After locating your previous CMS internal database file, you need to create it in
LDAP Interchange Format (LDIF) f ormat.
• Creating an LDIF File for CMS 4.2 or 4.5 Internal Database
• Creating an LDIF File for CMS 6.0 Internal Database
Creating an LDIF File for CMS 4.2 or 4.5 Internal Database
To create a CMS 4.2 or 4.5 internal database file in LDIF format, enter the following
commands:
cd <4x_server_root>/slapd-<instance_id>-db
./db2ldif
For example:
cd /usr/netscape/server4x/slapd-firefly-db
./db2ldif
The LDIF file is created in the following directory:
<4x_server_root>/slapd-<instance_id>-db/ldif
The default file name is time stamped and is of the form
<year>_<month>_<day>.ldif. For example:
/usr/netscape/server4x/slapd-firefly-db/ldif/2002_04_08_123356.ldif
Creating an LDIF File for CMS 6.0 Internal Database
To create an LD IF file for the CMS 6.0 internal database, enter the following
commands:
cd <60_server_root>/slapd-<instance_id>-db
./db2ldif -n userRoot
For example:
cd /usr/netscape/server60/slapd-firefly-db
./db2ldif -n userRoot
The LDIF file is created in the following directory:
<60_server_root>/slapd-<instance_id>-db/ldif