Install and Register Spacewalk Clients

This article shows you How To register Spacewalk Clients to the Spacewalk Server. All you need is to make sure before the registration you are logged in as ROOT and the SSL Cert is downloaded from the server to the client host. There is a Once Click BASH SCRIPT as well you can download.

You can download the SSL cert from the Spacewalk server through this URL

# wget https://your-satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT -P /usr/share/rhn/ 

First you need to download some rpms

# rpm -Uvh http://yum.spacewalkproject.org/2.2-client/RHEL/6/x86_64/spacewalk-client-repo-2.2-1.el6.noarch.rpm
# BASEARCH=$(uname -i)
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm
# yum -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
# yum -y install rhncfg
# yum -y install osad
# yum -y install rhncfg-actions.noarch
# yum -y install spacewalk-abrt.noarch
# rhn-actions-control --enable-all

Then you need to restart sshd

# service sshd restart

Lastly, would be to register the client via the command given below.

# rhnreg_ks --serverUrl=https://your-satellite.example.com/XMLRPC --activationkey=1-your activation key

*NOTE: The URL address needs to be Fully Qualified Domain Name(FQDN) otherwise the there will be issues registering / pushing updates to clients.

If you encounter any errors during the process, let us know via Contact Us and will get it resolved promptly.

Infra Related Articles....

It's now possible to install both Puppet Master and Agent on the same host with different certs for each, to...
This article shows you how to Automate iptables for the whole infrastructure (linux/unix) and maintain the state during the lifecycle...
When adding multiple users in IDM/freeIPA its a pain inputting each user and its time consuming. This script/one liner allows...
This article covers the setup and configuration of PuppetDB and Puppetmaster on separate nodes/hosts. I have used PostgreSQL as PuppetDB...
The process of upgrading Red Hat Satellite 5.6 to 5.7 is fairly simple if you follow the steps properly and...
Joomla! Україна