Chapter 7. Updating Directory Server to a new minor version

Red Hat frequently releases updated versions of Red Hat Directory Server 12. This section describes how to update the Directory Server packages.

If you instead want to migrate Red Hat Directory Server 11 to version 12, see Migrating Directory Server 11 to Directory Server 12.

7.1. Updating the Directory Server packages

Use the dnf utility to update the module, which also automatically updates the related packages. The following procedure updates Directory Server from version 12.3 to 12.4.


  • Red Hat Directory Server 12.3 is installed on the server.
  • You have a valid Red Hat Directory Server subscription in your Red Hat account.


  1. Disable the Directory Server 12.3 repository:

    # subscription-manager repos --disable dirsrv-12.3-for-rhel-9-x86_64-rpms
    Repository 'dirsrv-12.3-for-rhel-9-x86_64-rpms' is disabled for this system.
  2. Enable the Directory Server 12.4 repository:

    # subscription-manager repos --enable=dirsrv-12.4-for-rhel-9-x86_64-rpms
    Repository 'dirsrv-12.4-for-rhel-9-x86_64-rpms' is enabled for this system.
  3. Update the Directory Server packages:

    # dnf module update redhat-ds

    The dnf module update redhat-ds command updates Directory Server packages and their dependencies to version 12.4.

The update process automatically restarts the dirsrv services for all instances on the server.