How to Register a Linux Client into RH Satellite /Proxy server

Method-1

  1. Login to the client and run the below command:

rhnreg_ks –serverUrl=https://<proxy servername> –activationkey=1-rhel5-base

rhnreg_ks –serverUrl=https://<proxy servername> –activationkey=1-rhel6-base

 

 

The above command will run for some time and get registered in the Satellite Server or the proxy server. Login the RH Satellite Server to check whether the system is  registered. When we use proxy server as the serverUrl , the machine gets gets registered through the proxy server to the satellite server.  The Proxy acts as a go-between for client systems and Red Hat Network (or an RHN Satellite Server).

Note: The “activation key” is a key that is defined in the main satellite server Web UI based on Redhat versions, software channels etc.

 

Method-2

  1. Login to the client and download the certificate from the Satellite Sever with the below command:

cd /usr/share/rhn

wget http://satellite-servername/pub/RHN-ORG-TRUSTED-SSL-CERT -O RHN-ORG-TRUSTED-SSL-CERT

 

  1. Update the file /etc/sysconfig/rhn/up2date with the these lines:

serverURL=https://satellite-servername/XMLRPC or

serverURL=https://proxy-servername/XMLRPC

sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

 

  1. Run the rhn_register command and follow the wizard.

Leave a comment