Categories
Linux Red Hat RHEL Satellite

Red Hat Satellite 6.5 -> 6.6 Upgrade

Standard warning do not do this in a production environment, follow official documentation, always make a backup, yadda, yadda, yadda, so on and so forth.

Anyways so I had an install of Red Hat Satellite to manage some of my personal work labs that was running version 6.5.3. In this post I will detail how I upgraded my Satellite install to version 6.6.3.

First let’s check what versions of Satellite are available to us.

sudo foreman-maintain upgrade list-versions

If all goes well we should get available versions of which 6.6 we will be choosing. Next we will want to run a check to make sure all is well before proceeding with our update.

sudo foreman-maintain upgrade check --target-version 6.6

Install any prerequisites you maybe missing and if the check comes back successfully then we may kick off the upgrade process.

sudo foreman-maintain upgrade run --target-version 6.6

Make sure you confirm the upgrade process when prompted to do so. If all goes well run this final command.

sudo hash -d foreman-maintain service 2> /dev/null

You should have a fully upgraded Red Hat Satellite server now running version 6.6!

-Mike

Categories
Containers OpenShift RHEL

OpenShift Origin 3.11 on RHEL 7

OpenShift Origin (OKD) 3.11 on a single node while using RHEL 7 can be a bit different than the CentOS 7 install. In this article I will cover those instructions. We will assume you have installed the latest version of RHEL 7 on your node that you will be deploying on.

From there you will want to log in and update the system after enabling the repos we need.

sudo subscription-manager repos --disable "*"

sudo subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-extras-rpms

sudo yum update -y

Next we will install the dependencies we need to continue followed by a reboot.

sudo yum install -y python3-pip python-devel git && sudo yum group install -y "Development Tools" && sudo reboot

Now that we have our dependencies installed and our system up to date we will want to clone the openshift-ansible install from github.

git clone https://github.com/openshift/openshift-ansible
cd openshift-ansible
git checkout release-3.11

Now we will install the python dependencies using pip we installed earlier.

sudo pip3 install -r requirements.txt

Finally we run the two playbooks needed to deploy the standalone 3.11 version of OpenShift on RHEL 7.

sudo /usr/local/bin/ansible-playbook -i inventory/hosts.localhost playbooks/prerequisites.yml
sudo /usr/local/bin/ansible-playbook -i inventory/hosts.localhost playbooks/deploy_cluster.yml

Enjoy your OpenShift Origin 3.11 test environment on RHEL 7!