Upgrading Red Hat satellite and Capsule server

In this article, we will be Upgrading Red Hat satellite and Capsule server to 6.7.

Prerequisites

Upgrading Red Hat Satellite

First check subscription manager repos are enabled

[root@satellite ~]#rpm -qa |grep -I satellite

Stop the katello sevice

[root@satellite ~]#katello-service stop

Update the RHEL OS packages

[root@satellite ~]#yum update -y

Now lets perform the upgrade checks

[root@satellite ~]#satellite-installer –scenario satellite –upgrade –verbopse –noop

Check the version compatibility which we need to upgrade satellite to using foreman-maintain

[root@satellite ~]#foreman-maintain upgrade check –target-version 6.7 –whitelist=”disk-performance”

Finally we will run the upgrade with target version 6.7

[root@satellite ~]#foreman-maintain upgrade run –target-version 6.7 –whitelist=”disk-performance”

Once upgrade is completed, re-enable the sync plans

[root@satellite ~]#re-enable sync plans

Upgrading Red Hat Capsule server

Login to the capsule server and list out the enabled repositories

[root@capsule ~]#subscription-manager repos –list-enabled

Ensure you only have following repos enabled:

Rhel-x-server-rpms
Rhel-x-server-satellite-capsule-6.7-rpms
Rhel-server-rhscl-x-rpms
Rhel-x-server-satellite-tools-6.7-rpms

Stop the Katello service

[root@capsule ~]# katello-service stop

Backup the httpd.conf before performing system upgrade

[root@capsule ~]#cp /etc/httpd/conf/httpd.conf /var/tmp

Once httpd.conf is backed up, let upgrade the OS

[root@capsule ~]#yum update -y

Perform preupgrade checks

[root@capsule ~]#satellite-installer –scenario capsule -upgrade –version –noop

Finally upgrade the capsule server

[root@capsule ~] satellite-installer –scenario capsule –upgrade

Once the upgrade is successfully done, we will get Success message: Upgrade completed

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments