Chapter 8. Upgrading Red Hat Satellite Server and Capsule Server
Important
- Satellite 6.0 to Satellite 6.1
- Satellite 6.1 Public Beta (non-production) to Satellite 6.1 GA
Important
- Verify that the Satellite has the
6.1 satellite-toolsandcapsulerepositories fully synchronized and available to update the Satellite Capsule servers to the latest upgrade package versions. - Ensure that the existing Content Views are updated to include the newly synchronized repositories. If you use Activation Keys for content host registration, ensure that your Activation Key is updated with the newly synchronized repositories. If you created a new Content View for these repositories, include this Content View in the Activation Key. See the Red Hat Satellite 6.1 User Guide [10] for more information on Activation Keys.
- Refresh subscriptions to include the newly synchronized repositories both on Capsules and Hosts.
- In the Satellite web UI, navigate to → and check for running tasks. It is recommended that you wait for the tasks to complete. It is possible to cancel some tasks, but you should follow the guidance in the Red Hat Knowledgebase solution How to manage paused tasks on Red Hat Satellite 6 to understand which tasks are safe to cancel and which are not safe to cancel.
8.1. Upgrading Red Hat Satellite
Prerequisites
Procedure 8.1. Updating the Subscription Manifest
- Navigate to https://access.redhat.com and click SUBSCRIPTIONS on the main menu at the top of the page.
- Scroll down to the Red Hat Subscription Management section, and click Satellite under Subscription Management Applications.
- Click the name of the system this manifest is associated to, and click Attach a subscription.
- For each subscription that you want to attach, select the check box for that subscription, and specify the quantity of subscriptions to attach.
- Click . It can take several minutes for all the subscriptions to attach. Refresh the screen every few minutes until you receive confirmation that the subscriptions are attached.
- After the subscriptions have been attached, click to generate an archive in
.zipformat containing the manifest for Red Hat Satellite and save the manifest file to a known location. - Upload the updated manifest to the Red Hat Satellite Server.
- Log in to the Satellite server.
- In the top left corner menu, select the organization that you want to associate with the subscription manifest.
- Click → and then click at the upper right of the page.
- In the Subscription Manifest section, click Actions and under the Upload New Manifest subsection, click .
- Select the manifest file to upload, and then click Upload.
Procedure 8.2. Upgrading Red Hat Satellite
- If the Satellite server is running on a virtual machine, take a snapshot prior to upgrading. Otherwise, run
katello-service stopand create a backup of the relevant databases. See How to generate database backup for Red Hat Satellite 6.0 for instructions on backing up your databases. - Update the operating system:
# yum update
- Disable the repositories for the previous version of Satellite.
- If upgrading from Satellite 6.0 on Red Hat Enterprise Linux 7:
# subscription-manager repos --disable rhel-7-server-satellite-6.0-rpms
- If upgrading from Satellite 6.1 Beta on Red Hat Enterprise Linux 7:
# subscription-manager repos --disable rhel-server-7-satellite-6-beta-rpms
- If upgrading from Satellite 6.0 on Red Hat Enterprise Linux 6:
# subscription-manager repos --disable rhel-6-server-satellite-6.0-rpms
- If upgrading from Satellite 6.1 Beta on Red Hat Enterprise Linux 6:
# subscription-manager repos --disable rhel-server-6-satellite-6-beta-rpms
- Enable the new repositories.
- On Red Hat Enterprise Linux 7:
# subscription-manager repos --enable rhel-7-server-satellite-6.1-rpms
- On Red Hat Enterprise Linux 6:
# subscription-manager repos --enable rhel-6-server-satellite-6.1-rpms
- If there are discovered hosts available, turn them off and delete all entries under the Discovered hosts page.
- Stop services:
# katello-service stop output omitted Success!Wait for the command to complete. If required, confirm services have stopped:#
Restart the Mongo database as it is required for upgrading the Pulp database:katello-service statusmongod is stopped qdrouterd is stopped qpidd is stopped celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat pulp_celerybeat is stopped. elasticsearch is stopped celery init v10.0. Using config script: /etc/default/pulp_resource_manager node resource_manager is stopped... foreman-proxy is stopped tomcat6 is stopped [ OK ] output truncated# service-wait mongod start
- Clear the repository cache and update all packages:
# yum clean all # yum update
- Run the installer with the
--upgradeoption:# katello-installer --upgrade
If required, add the--noopoption to the command and review the/var/log/katello-installer/katello-installer.logto see what changes would be applied if the--noopwas omitted.Important
If you have made manual edits to DNS and DHCP configuration files, they will be overwritten during the upgrade process. To avoid this, append the--capsule-dns-managed=falseand--capsule-dhcp-managed=falseoptions to the--upgradeinstaller command.Thekatello-installerutility will backup files that it changes and log this. For example:/Stage[main]/Dhcp/File[/etc/dhcp/dhcpd.conf]: Filebucketed /etc/dhcp/dhcpd.conf to puppet with sum 622d9820b8e764ab124367c68f5fa3a1
The old file can be restored with this command:#
puppet filebucket -l restore /etc/dhcp/dhcpd.conf 622d9820b8e764ab124367c68f5fa3a1 - Restart all services:
# katello-service restart
Enabling The New Repositories
Procedure 8.3. Enable New Red Hat Repositories
- On the main menu, click → and then click the tab for the type of content that you want to enable.
- Click the product name for which you want to add repositories. This expands the list of available repository sets.
- Click each repository set from which you want to select repositories, and select the check box for each required repository. The repository is automatically enabled. After enabling a Red Hat repository, a product for this repository is automatically created. The content from this repository will be downloaded during the next synchronization.
Important
Ensure you enable the Satellite Tools repository. This repository provides the katello-agent and puppet-agent packages for clients registered to the Satellite Server. - Start the synchronization process as described in Section 4.1.3, “Synchronizing Content”.
8.1.1. Upgrading Disconnected Satellite
Prerequisites
- Upgrade to the latest minor version of Red Hat Satellite 6.0 before proceeding. Direct upgrade to 6.1 from earlier minor versions is not supported.
- Run
katello-service startto restart all services and update the operating system. For instructions on how to update a disconnected system see Deployment Guide[11] for Red Hat Enterprise Linux 6 or System Administrator's Guide[12] for Red Hat Enterprise Linux 7.
Procedure 8.4. Upgrading Disconnected Satellite
- If there are discovered hosts available, turn them off and delete all entries under the Discovered hosts page.
- Stop services:
# katello-service stop output omitted Success!Wait for the command to complete. If required, confirm services have stopped:#
Restart the Mongo database as it is required for upgrading the Pulp database:katello-service statusmongod is stopped qdrouterd is stopped qpidd is stopped celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat pulp_celerybeat is stopped. elasticsearch is stopped celery init v10.0. Using config script: /etc/default/pulp_resource_manager node resource_manager is stopped... foreman-proxy is stopped tomcat6 is stopped [ OK ] output truncated# service-wait mongod start
- Obtain the ISO file, mount it, and run the install_packages script as described in Section 2.1.2, “Downloading from a Disconnected Network”. After executing successfully, the script returns the following message:
Upgrade is complete. Please backup your data and run katello-installer.
- Create a backup of the relevant databases. See How to generate database backup for Red Hat Satellite 6.0 for instructions on backing up your databases.
- Run the installer with the
--upgradeoption:# katello-installer --upgrade
If required, add the--noopoption to the command and review the/var/log/katello-installer/katello-installer.logto see what changes would be applied if the--noopwas omitted.Important
If you have made manual edits to DNS and DHCP configuration files, they will be overwritten during the upgrade process. To avoid this, append the--capsule-dns-managed=falseand--capsule-dhcp-managed=falseoptions to the--upgradeinstaller command.Thekatello-installerutility will backup files that it changes and log this. For example:/Stage[main]/Dhcp/File[/etc/dhcp/dhcpd.conf]: Filebucketed /etc/dhcp/dhcpd.conf to puppet with sum 622d9820b8e764ab124367c68f5fa3a1
The old file can be restored with this command:#
puppet filebucket -l restore /etc/dhcp/dhcpd.conf 622d9820b8e764ab124367c68f5fa3a1 - Restart all services:
# katello-service restart
- Update the Discovery template:
- At the Hosts tab, select Provisioning templates.
- Select PXELinux global default.
- At the Template editor dialog box, in the tab, modify the PXELinux global default template discovery menu entry. Insert the following text at the end of the template:
LABEL discovery MENU LABEL Satellite 6 Discovery MENU DEFAULT KERNEL boot/fdi-image-rhel_7-vmlinuz APPEND initrd=boot/fdi-image-rhel_7-img rootflags=loop root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nomodeset proxy.url=https://SATELLITE_CAPSULE_URL:9090 proxy.type=proxy IPAPPEND 2
Theproxy.typeoption can be eitherproxyorforeman. Forproxy, all communication goes through the Capsule. Forforeman, the communication goes directly to Satellite Server, which was the behavior in Satellite 6.0.Theproxy.urlspecifies the URL of the Satellite Capsule or Server. Both HTTP and HTTPS protocols are supported.

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.