Red Hat SYSTEM 8.0 - MIGRATION GUIDE 7.X TO 8.0 Manual page 109

Migration guide 7.x to 8.0
Table of Contents

Advertisement

run.sh /opt/redhat-ds/slapd-DS-instance/ldif/old-old_TKS_instance.ldif > /opt/redhat-
ds/slapd-DS-instance/ldif/old-old_TKS_instance.txt
15. Open the Certificate System 7.x LDIF directory, and copy the old-old_TKS_instance.txt file
into the Certificate System 8.0 server instance's internal database LDIF directory.
cd /opt/redhat-ds/slapd-DS-instance/ldif
cp /opt/redhat-ds/slapd-DS-instance/ldif/old-old_TKS_instance.txt /var/lib/dirsrv/slapd-
example/ldif
16. Open the Certificate System ldif/ directory.
cd /var/lib/dirsrv/slapd-example/ldif
17. Log in as root, and set the file user and group to the Certificate System user and group.
# chown user:group old-old_TKS_instance.txt
18. Log out as root. As the Certificate System user, change the permissions on the file.
chmod 00600 old-old_TKS_instance.txt
19. Convert the old-old_TKS_instance.txt file to LDIF, and name the file
rhcs80-new_TKS_instance.ldif.
a. Open the 8.0 text-conversion migration directory in the Certificate System 8.0 server.
cd /usr/share/pki/migrate/TxtTo80
b. Run run.sh to use old-old_TKS_instance.txt to create the
rhcs80-new_TKS_instance.ldif file.
run.sh /var/lib/dirsrv/slapd-example/ldif/old-old_TKS_instance.txt > /var/lib/dirsrv/
slapd-example/ldif/rhcs80-new_TKS_instance.ldif
20. Modify the content of rhcs80-new_TKS_instance.ldif so that the LDIF files contain the
required ACLs and other settings that were created with the new 8.0 instances.
NOTE
When using a text editor to perform the substitution instead of a script, use an editor
that supports file sizes greater than 4 gigabytes, such as vim, because the LDIF files
may be larger than 2 gigabytes and even 4 gigabytes in some deployments.
a. Open the Certificate System 8.0 LDIF directory.
cd /var/lib/dirsrv/slapd-example/ldif
b. Open the new-new_TKS_instance.ldif file, in read-only mode.
Migrating the LDAP Database
99

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSTEM 8.0 - MIGRATION GUIDE 7.X TO 8.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Certificate system 8.0 - administration

Table of Contents