Adding CentOS Server to Satellite 6.2

Subscribe
Voiced by Amazon Polly

Adding CentOS to Satellite 6.2

Satellite is a great product offered by Red Hat.  You can use it to provision, manage, and patch servers in your environment.  For the most part, you would think you would add RHEL servers to Satellite, as that is its primary purpose.

You can, however, add your CentOS servers to the system so that they can be monitored for needed errata, and patched.  You’ll need to set up your CentOS channels to download the proper repositories and such to help manage the CentOS systems.  I have setup CentOS activation keys, content views, and host groups all which are based on CentOS only.

Our example

This example shows the portion of the process where we add the CentOS server to the Satellite environment.

Login to the CentOS server you wish to add as root and run the following commands.

yum install subscription-manager
yum install http://satellitevm.example.com/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org="THEROOTUSER" --activationkey="AK-CENTOS7_Base_x86_64_Reg_to_Dev" --name 'CENTOS_SERVER01.example.com'
yum localinstall http://fedorapeople.org/groups/katello/releases/yum/2.2/katello/RHEL/7Server/x86_64/katello-repos-latest.rpm
yum install katello-agent

Once the commands have all been run you will see a green status on your CentOS server, and it will be ready to patch with a yum update.

If you have any questions, please feel free to ask in the comments section below.

Cheers,

Ivan Windon – RHCSA

Share

Ivan Windon

Ivan Windon is a Senior Technical Support Engineer at Red Hat, where Ivan supports Red Hat Satellite. Ivan is actively engaged in Cloud Technologies with AWS, Google, and Azure. Ivan has extensive experience with Linux and Windows administration, DNS, Networking, IDM, and Security. In his free time, he enjoys being with his wife and two children. The family enjoys hiking, and traveling when able. His favorite locations are Yosemite NPS, and San Francisco, California.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: