b.
Run the ldif2db tool to import the LDIF file into the Certificate System database. The internal database name
for the Certificate System instance is in the internaldb.database parameter in the CS.cfg file. For ex-
ample:
ldif2db -n server.example.com-rhpki-ca -i
/opt/redhat-ds/slapd-DS-instance/ldif/old.ldif
c.
Force the virtual list views (VLV) indexes to be re-indexed.
db2index
7. Migrating Internal Databases for 6.01
1.
Log into the new server as the Certificate System user, and export the new internal database content to LDIF. The in-
ternal database name for the Certificate System instance is in the internaldb.database parameter in the
CS.cfg file. For example:
cd /opt/redhat-ds/slapd-DS-instance/db
db2ldif -n server.example.com-rhpki-ca
The location and name of the LDIF file is shown once the conversion from the database to LDIF is complete.
ldif file:
/opt/redhat-ds/slapd-DS-instance/ldif/dated_#_file.ldif
2.
Open the given LDIF location, and rename the LDIF file to new.ldif.
cd /opt/redhat-ds/slapd-DS-instance/ldif
mv dated_#_file.ldif new.ldif
3.
Copy the newest version of the migration utility from the new Certificate System to the old Certificate System.
The migration utility is available as an independent RPM, which can be downloaded through the Certificate System
Red Hat Network channel. The migration utilities are installed in the directory /usr/share/rhpki/migrate.
a.
Open the migration directory.
cd /usr/share/rhpki
b.
Package the latest version of the migration utility using zip or tar.
tar -cvf migrate.tar migrate
NOTE
Regardless of the packaging tool used, the corresponding tool must be present on the old server machine. If the
platforms are identical and the zip utility is used, copy the unzip utility to the old_server_root/
bin/cert/ directory so that the zip and unzip versions match.
c.
Copy the package from the new server to the old server, and delete the package from the new server.
7. Migrating Internal Databases for
6.01
175
Chapter 9. Step 6: Migrating Internal
Need help?
Do you have a question about the CERTIFICATE SYSTEM 7.2 - MIGRATION GUIDE and is the answer not in the manual?
Questions and answers