Chapter 6. Updating Directory Server to a new minor version
Chapter 6. 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. In case you want to migrate Red Hat Directory Server from version 10 or 11 to version 12, see: Migrating Directory Server 10 to Directory Server 12 Migrating Directory Server 11 to Directory Server 12 6.1. Updating the Directory Server packages Use the dnf utility to update the module, which also automatically updates the related packages. Prerequisites You have installed Directory Server packages. You have a valid Red Hat Directory Server subscription in your Red Hat account. Procedure Disable all versioned Directory Server repositories: Enable the new Directory Server repository: Note that starting from Directory Server 12.5, you need to perform this step only once because the repository name no longer changes. Important Extended Update Support (EUS) version has a separate dirsrv-12-for-rhel-9-x86_64- eus -rpms repository. Additionally, Directory Server EUS version requires you to have enabled RHEL EUS repositories. For more information about Directory Server repositories, see What are the names of the Red Hat repositories that have to be enabled? Red Hat Knowledgebase article. Update the Directory Server packages and their dependencies to the latest available version: The update process automatically restarts the dirsrv services for all instances on the server. Additional resources Enabling Directory Server repositories
subscription-manager repos --disable dirsrv-12.*-for-rhel-9-x86_64-rpms subscription-manager repos --enable=dirsrv-12-for-rhel-9-x86_64-rpms Repository 'dirsrv-12-for-rhel-9-x86_64-rpms' is enabled for this system. dnf update 389-ds-base cockpit-389-ds