Show Table of Contents
Chapter 13. Updating Red Hat Update Infrastructure
This chapter explains how to update your Red Hat Update Infrastructure installation.
Red Hat Update Infrastructure can be configured to provide and use a repository that will update the Red Hat Update Infrastructure installation itself. The repository can be created using RHUI Manager, which can then generate an entitlement certificate and client configuration RPM. The RPM is then installed on the RHUA and each CDS instance, and future updates can be downloaded and installed using the
yum command.
Procedure 13.1. Updating Red Hat Update Infrastructure
- Add the Red Hat Update Infrastructure repositories to the RHUA. Use the procedure in Procedure 5.3, “Add a Red Hat Repository” to install the following repositories:
Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) Red Hat Update Infrastructure 2.0 (RPMs) (6.0-i386) Red Hat Update Infrastructure 2.0 (RPMs) (6.1-i386) Red Hat Update Infrastructure 2.0 (RPMs) (6.1-x86_64) Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386) Red Hat Update Infrastructure 2.0 (RPMs) (6.0-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6.1-i386) Red Hat Update Infrastructure 2.0 (SRPMS) (6.0-i386) Red Hat Update Infrastructure 2.0 (SRPMS) (6.0-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-i386) Red Hat Update Infrastructure 2.0 (SRPMS) (6.1-x86_64)
Note
Using the All in Certificate method to add the repositories will add all these repositories at the same time. If you prefer to use the By Product method, add the product calledRed Hat Update Infrastructure 2.0 (RPMs)and, optionally,Red Hat Update Infrastructure 2.0 (SRPMs). - Check that the correct repositories have been installed using RHUI Manager:
------------------------------------------------------------------------------ rhui (repo) => l Red Hat Repositories Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) Red Hat Update Infrastructure 2.0 (RPMs) (6.0-i386) Red Hat Update Infrastructure 2.0 (RPMs) (6.1-i386) Red Hat Update Infrastructure 2.0 (RPMs) (6.1-x86_64) Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386) Red Hat Update Infrastructure 2.0 (RPMs) (6.0-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6.1-i386) Red Hat Update Infrastructure 2.0 (SRPMS) (6.0-i386) Red Hat Update Infrastructure 2.0 (SRPMS) (6.0-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-i386) Red Hat Update Infrastructure 2.0 (SRPMS) (6.1-x86_64) ------------------------------------------------------------------------------
- Synchronize the repositories. Use the procedure in Procedure 10.4, “Trigger a Repository Synchronization”.
- Wait for the repository synchronization to complete, and then synchronize the CDS instances. Use the procedure in Procedure 10.5, “Trigger a CDS Synchronization”.
- Generate an entitlement certificate for the Red Hat Update Infrastructure repositories. Use the procedure in Procedure 7.1, “Generate an Entitlement Certificate”.
Note
When you name the client configuration RPM, choose a name that will help you to identify that the RPM is to be used for providing updates to Red Hat Update Infrastructure, such asrhui-update. - Install the client configuration RPM on the RHUA and each CDS that requires updating:
$ rpm -Uvh /tmp/rhui/rhui-update.el6.noarch.rpm
- Perform the update using
yum. The client configuration RPM will configure a yum repository calledrhui-rhui-2.0. Use theyum updatecommand to update each instance. You will need to perform this command as the root user, or with appropriatesudopermissions:# yum update
Note
Runningyum updatewill pull updates from all enabled yum repositories. To pull updates from the therhui-rhui-2.0yum repository only, use the following command instead:# yum --disablerepo=* --enablerepo=rhui-rhui-2.0 update
- Restart the service to pick up any changes.On the RHUA, restart the
pulp-serverservice:$ service pulp-server restart
On each CDS instance, restart thepulp-cdsservice:$ service pulp-cds restart
Note
Once the Red Hat Update Infrastructure yum repositories have been configured on the RHUA and the CDS, only the final step Step 8 is required to update those systems.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.