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 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 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 platform where the old serv-
er resides. If the platforms are identical and the zip utility is used, copy the unzip tool from the new server to
the old server so that the zip and unzip versions match.
c.
Copy the package from the new server to the old server, and remove the package from the new server.
cp /us/share/rhpki/migrate.tar old_server_root/bin/cert
rm /usr/share/rhpki/migrate.tar
d.
Log into the old server as the Certificate System user for that machine, and open the Certificate System bin/
cert/ directory.
cd old_server_root/bin/cert
e.
Log in as root, and set the file user and group to the Certificate System user and group.
su
chown user:group migrate.tar
f.
Log out as root. As the Certificate System user, change the permissions on the file.
chmod 00600 migrate.tar
11. Migrating Internal Databases
for 7.1
191
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