[Spacewalk-list] How to register a client

J.W. slone jslonejr at yahoo.com
Thu Nov 29 01:51:58 UTC 2012


Here is the command to register your system into spacewalk using Activation Key
 
rhnreg_ks --serverUrl=http://192.168.1.15/XMLRPC --activationkey=2-xxxxxaaarrryyyppp999444888sss --force
            A) I used the IP address of my server as you can see 
            B)  I use the Activation Key 2-xxxxxaaarrryyyppp999444888sss with --force to override my existing entry into space walk.
                   this will also update the spacewalk with the name of host of your client . 
I hope this can help someone.
 
Step 1 copy and paste this line in your terminal window
  rhnreg_ks --serverUrl=http://192.168.1.15/XMLRPC --activationkey=2-xxxxxaaarrryyyppp999444888sss 
Step 2 correct the IP address with the IP of your server or hostname 
Step  3 paste the activation key of your spacewalk server ( what is this) 
                A) Click on System 
                B) Click on Activation Key 
                C) Copy this key if it exist if not create one 
                D) Click on Create Create new key in the top right side of the screen 


________________________________
From: Jan Pazdziora <jpazdziora at redhat.com>
To: J.W. slone <jslonejr at yahoo.com>; spacewalk-list at redhat.com 
Sent: Wednesday, November 28, 2012 8:11 AM
Subject: Re: [Spacewalk-list] How to register a client

On Wed, Nov 28, 2012 at 06:44:24AM -0800, J.W. slone wrote:
> I have created a base channel with sub channels 
>  
> 1. base channel  is call         RHN5_Linux 
>      Label is called                RHN_Linux_Test   
> 2. update channel is called   RHN5_Updates
>       Label is called               RHN5_Updates_Linux
>  
> 1st Question: How can I register new clients to my base channel?
>             A) Is it better to perform this from the command line?
>             B) Is it better to perform this task from the GUi  

This dependes on your preference. From the command line, you can use
activation keys. From the GUI, you'd probably want to edit the
distribution channel mapping, new WebUI feature in Spacewalk 1.8.

> 2nd  Question  How can I stop the updates from showing on all the installed clients? 

Just don't subscribe those client to the updates child channel.

> 3rd  How can I push packages to clients through the GUI and the command line?  

Select on WebUI (SSM or one-by-one), schedule package install action,
have the clients pick them up either using rhnsd, osad, or manually
via rhn_check. From the command line, you might want to look at
spacecmd and API. From the clients, you can of course also use yum
directly.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121128/7d968fd9/attachment.htm>


More information about the Spacewalk-list mailing list