Installation guide
NOTE
The cldb location assumes that the changelog is located in the default changelog
directory. If the changelog is in a different location, use the appropriate directory. If
replication is not enabled, this directory can be omitted.
For migrating to a different architecture:
[root@server ~]# cd /
[root@server ~]# tar cpfz rhds-upgrade.tar -C / --no-recursion --exclude
httpd.conf --exclude admserv.conf etc/default/dirsrv-* etc/dirsrv/slapd-*
etc/dirsrv/slapd-*/* etc/dirsrv/slapd-*/schema/* var/run/dirsrv
var/lock/dirsrv/slapd-* var/log/dirsrv/slapd-* var/lib/dirsrv/slapd-*
var/lib/dirsrv/slapd-*/* var/lib/dirsrv/slapd-*/ldif/* .upgrade.ldif
etc/dirsrv/admin-serv etc/dirsrv/admin-serv/* var/log/dirsrv/adm in-serv
6. On the new machine which will host Directory Server, install or upgrade the Directory Server 9.1
packages. For example:
yum install redhat-ds
7. Copy over the tar file to the new machine.
8. Open the root directory, and then unpack the tar file. For example:
[root@server ~]# cd /
[root@server ~]# tar xfzp /path/to/rhds-upgrade.tar
IMPORTANT
The user and group used for the Directory Server on the new machine must be the same
as the user and group used on the old machine, as described in Section 5.3.2, “Upgrade
Prerequisites”.
9. Because of the path differences between Solaris and Red Hat Enterprise Linux, edit the files and
directories copied over from Solaris to the appropriate Red Hat Enterprise Linux names.
a. Copy the library files to the right location on Red Hat Enterprise Linux and the default/
directory to sysconfig. T hen, delete the Solaris directory.
# cp -r /usr/lib/sparcv9/dirsrv/slapd-* /usr/lib64/dirsrv/
# cp /etc/default/dirsrv* /etc/sysconfig
# rm -f /etc/default/dirsrv*
b. Edit the files in the /etc/sysconfig/dirsrv-* directory so that they point to the new
/etc/sysconfig path.
c. Edit the dse.ldif file for all migrated instances.
Edit the paths files so that they point to the new /etc/sysconfig path.
Remove the nsslapd-saslpath attribute because it is not used in Red Hat Enterprise
Linux.
Remove the nsState attribute.
Chapter 5. Migrating from Previous Versions
77