Chapter 6. Migrating from Previous Versions
82
Review all policy settings in the new 8.1 instance and make any changes before putting
the system into production.
6.3. Upgrading 8.0 Servers
For Directory Server 8.0 servers, it is possible to perform an
in-place
upgrade. This is significantly
simpler than a migration. An in-place upgrade updates the Red Hat Directory Server packages on the
system, and then the setup script is used to update the server configuration.
•
Section 6.3.1, “Upgrading a Server”
•
Section 6.3.2, “Migrating an 8.0 Directory Server to 8.1 on Another Machine”
6.3.1. Upgrading a Server
An
in-place upgrade
means that the packages for the Red Hat Directory Server are simply updated.
No other migration process is necessary. In-place upgrade is supported for Directory Server 8.0.
1. Back up all the Directory Server user and configuration data. For example:
cd /usr/lib/dirsrv/slapd-
instance_name
db2bak /var/lib/dirsrv/slapd-
instance_name
/bak/
instance_name
-2009_04_30_16_27_56
2. Get the repo name by running
yum check-update
. For example:
yum check-update
Loaded plugins: rhnplugin, security
rhel-x86_64-server-5-rhdirserv-8
3. Install or upgrade the Directory Server 8.1 packages. For example:
yum update -y
This automatically updates the Red Hat Directory Server packages as well as any other required
packages.
Red Hat Directory Server 8.1 requires that all of the packages in the Red Hat Directory Server
channel be updated. Running simply
yum update
updates all Red Hat Directory Server and Red
Hat Enterprise Linux packages. To exclude packages from updating on your system, you can
use
--exclude
packages
, restrict the update to only the Red Hat Directory Server channel, or
explicitly list the packages to update. Run
man yum
for a list of options. For example:
yum update -y --disablerepo=* --enablerepo=rhel-x86_64-server-5-rhdirserv-8
4. Re-run the
setup-ds-admin.pl
script, using the
-u
to update the configuration. Make sure that
the Directory Server and Administration Server are running when the script is run.
setup-ds-admin.pl -u