Chapter 4. Updating Directory Server
Red Hat frequently releases updated versions of Red Hat Directory Server 11. This section describes how to update the Directory Server packages.
If you instead want to migrate Red Hat Directory Server 10 to version 11, see Chapter 5, Migrating Directory Server 10 to Directory Server 11.
Prerequisites
- Red Hat Directory Server 11 installed on the server.
- The system to update is registered to the Red Hat subscription management service.
- A valid Red Hat Directory Server subscription is attached to the server.
4.1. Updating the Directory Server packages
Use the yum
utility to update the module, which also automatically updates the related packages. The following procedure updates Directory Server from version 11.8 to 11.9.
Disable the Directory Server 11.8 repository:
subscription-manager repos --disable dirsrv-11.8-for-rhel-8-x86_64-rpms
# subscription-manager repos --disable dirsrv-11.8-for-rhel-8-x86_64-rpms Repository 'dirsrv-11.8-for-rhel-8-x86_64-rpms' is disabled for this system.
Copy to Clipboard Copied! Enable the Directory Server 11.9 repository:
subscription-manager repos --enable=dirsrv-11.9-for-rhel-8-x86_64-rpms
# subscription-manager repos --enable=dirsrv-11.9-for-rhel-8-x86_64-rpms Repository 'dirsrv-11.9-for-rhel-8-x86_64-rpms' is enabled for this system.
Copy to Clipboard Copied! Update the Directory Server packages:
yum module update redhat-ds
# yum module update redhat-ds
Copy to Clipboard Copied! This command updates Directory Server packages and their dependencies to version 11.9.
During the update, the dirsrv
service restarts automatically for all instances on the server.
Additional resources
- For details about available Directory Server repositories, see What are the names of the Red Hat repositories that have to be enabled.