Red Hat CERTIFICATE SYSTEM 7.2 - MIGRATION GUIDE Manual page 175

Hide thumbs Also See for CERTIFICATE SYSTEM 7.2 - MIGRATION GUIDE:
Table of Contents

Advertisement

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
g.
Unpackage the latest version of the migration utility using unzip or tar.
tar -xvf migrate.tar
h.
Remove the migration utility package and any additional utilities, such as the unzip utility, that were copied to
the old Certificate System server.
rm migrate.tar
4.
Export the database contents to LDIF using db2ldif.
cd old_server_root/slapd-old_instance-db
db2ldif -n userRoot
5.
The location and name of the generated LDIF file is given when the conversion is complete.
ldif file:
old_server_root/slapd-old_instance-db/ldif/dated_#_file.ldif
6.
Open the given LDIF location, and rename the LDIF file old.ldif.
cd old_server_root/slapd-old_instance-db/ldif
mv dated_#_file.ldif old.ldif
7.
Adjust the LDIF content of old.ldif.
NOTE
When using a text editor rather than a script to perform the substitution, use an editor that supports file sizes
greater than 2 Gb such as vim because the LDIF files may be larger than 2Gb in some deployments.
a.
Open the old.ldif file.
5. Migrating Internal Databases for
4.7
Databases

Advertisement

Table of Contents
loading

Table of Contents