<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Here is the command to register your system into spacewalk using Activation Key</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto">rhnreg_ks --serverUrl=http://192.168.1.15</SPAN><SPAN style="RIGHT: auto">/XMLRPC --activationkey=2-xxxxxaaarrryyyppp999444888sss --force</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    A) I used the IP address of my server as you can see </SPAN></SPAN></SPAN></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab></SPAN></SPAN></SPAN><SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    B)  I use the Activation Key 2-xxxxxaaarrryyyppp999444888sss with --force to override my existing entry into space walk.</SPAN></SPAN></SPAN></SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>    <SPAN style="RIGHT: auto" class=tab>   this will also update the spacewalk with the name of host of your client . </SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab>I hope this can help someone.</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab>Step 1 copy and paste this line in your terminal window</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab> </SPAN></SPAN></SPAN></SPAN></SPAN> <SPAN style="RIGHT: auto">rhnreg_ks --serverUrl=http://192.168.1.15</SPAN><SPAN style="RIGHT: auto">/XMLRPC --activationkey=2-xxxxxaaarrryyyppp999444888sss </SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto">Step 2 correct the IP address with the IP of your server or hostname </SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto">Step  3 paste the activation key of your spacewalk server ( what is this) </SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto"><SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    A) Click on System </SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto"><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>B) Click on Activation Key </SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto"><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    C) Copy this key if it exist if not create one </SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto" class=tab><SPAN style="RIGHT: auto"><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab><SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    <SPAN class=tab>    D) Click on Create Create new key in the top right side of the screen <VAR id=yui-ie-cursor></VAR></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></div></SPAN>
<div><BR></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Jan Pazdziora <jpazdziora@redhat.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> J.W. slone <jslonejr@yahoo.com>; spacewalk-list@redhat.com <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, November 28, 2012 8:11 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Spacewalk-list] How to register a client<BR></FONT></DIV><BR>On Wed, Nov 28, 2012 at 06:44:24AM -0800, J.W. slone wrote:<BR>> I have created a base channel with sub channels <BR>>  <BR>> 1. base channel  is
 call         RHN5_Linux <BR>>      Label is called                RHN_Linux_Test   <BR>> 2. update channel is called   RHN5_Updates<BR>>       Label is called               RHN5_Updates_Linux<BR>>  <BR>> 1st Question: How can I register new clients to my base channel?<BR>>             A) Is it better to perform this from the command line?<BR>>             B) Is it better to perform this task from the GUi  <BR><BR>This dependes on your preference. From the command line, you can use<BR>activation keys. From the GUI, you'd probably want to
 edit the<BR>distribution channel mapping, new WebUI feature in Spacewalk 1.8.<BR><BR>> 2nd  Question  How can I stop the updates from showing on all the installed clients? <BR><BR>Just don't subscribe those client to the updates child channel.<BR><BR>> 3rd  How can I push packages to clients through the GUI and the command line?  <BR><BR>Select on WebUI (SSM or one-by-one), schedule package install action,<BR>have the clients pick them up either using rhnsd, osad, or manually<BR>via rhn_check. From the command line, you might want to look at<BR>spacecmd and API. From the clients, you can of course also use yum<BR>directly.<BR><BR>-- <BR>Jan Pazdziora<BR>Principal Software Engineer, Satellite Engineering, Red Hat<BR><BR><BR></DIV></DIV></div></body></html>