For Red Hat Satellite you need to know the following things:<br><br>On the local server (not satellite)<br><br>/etc/sysconfig/rhn/up2date   -&gt; You main client config for red hat satellite<br><br>serverURL[comment]=Remote server URL<br>
serverURL=<a href="https://rhn.redhat.com/XMLRPC">https://rhn.redhat.com/XMLRPC</a>   -&gt; If you just want to register to <a href="http://rhn.redhat.com">rhn.redhat.com</a> &amp;&amp; set the CERT accordingly<br>serverURL=<a href="https://disconnectedsatellite.your.domain/XMLRPC">https://disconnectedsatellite.your.domain/XMLRPC</a>    -&gt; If you want to register to your own hosted Red Hat Satellite serverURL<br>
<br><br>sslCACert[comment]=The CA cert used to verify the ssl server<br>sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT    -&gt; This cert comes from your local satellite server when you generate its ssl key.  You have to scp it from your local satellite server over to this server<br>
sslCACert=/usr/share/rhn/RHNS-CA-CERT      -&gt; This cert is the one that is on <a href="http://rhn.redhat.com">rhn.redhat.com</a><br><br><br>So, when you run rhn_register, it&#39;ll go out to the satellite listed in serverURL above then, check the sslCACert to make sure its the SSL cert for that Satellite.<br>
<br><br>When you configure activation keys to autosubscripe server to a particular custom channel, you use the syntax:<br>  rhnreg_ks --activationkey=1-xxx --force<br><br>  <br><br><br><br>Also, fyi I scripted the entire registration process including creation of my ssl cert for my local satellite:<br>
<br><br>(I simplified it to the below for the this thread)<br><br>#!/bin/bash<br><br><br>### Variables  -&gt; Need to be updated for rhel 3 servers ( esu1l011) and rhel 4 servers (esu1l298)<br>RHEL3_VER=`cat /etc/redhat-release | awk &#39;{print $7}&#39;`<br>
RHEL3_Point=`cat /etc/redhat-release | awk &#39;{print $10}&#39; | cut -c 1`<br><br><br>RHEL_VER=$RHEL3_VER$RHEL3_Point<br>ARCH=`uname -a | awk &#39;{ print $12 }&#39;`<br><br>cp /etc/sysconfig/rhn/up2date /etc/sysconfig/rhn/up2date.bk<br>
cp /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT  /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT.bk<br><br>## Remove old <a href="http://rhn.redhat.com">rhn.redhat.com</a> entry if it exists<br>perl -npe &#39;s/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g&#39; -i /etc/sysconfig/rhn/*<br>
perl -npe &#39;s/<a href="http://xmlrpc.rhn.redhat.com/mysatellite.my.domain/">xmlrpc.rhn.redhat.com/mysatellite.my.domain/</a>&#39; -i /etc/sysconfig/rhn/up2date<br><br>## Insert correct SSL Cert and GPG Key<br><br>cat &gt; /tmp/gpg-key-1 &lt;&lt;&#39;EOF&#39;<br>
-----BEGIN PGP PUBLIC KEY BLOCK-----<br>xxxxxxxxxxxxxxxxxxx<br>-----END PGP PUBLIC KEY BLOCK-----<br><br>EOF<br># gpg-key1<br>rpm --import /tmp/gpg-key-1<br><br><br><br>cat &gt; /tmp/ssl-key-1 &lt;&lt;&#39;EOF&#39;<br>Certificate:<br>
-----END CERTIFICATE-----<br>EOF<br># ssl-key1<br>cat /tmp/ssl-key-1 &gt; /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT<br><br><br><br>if [ $RHEL_VER = 38 -a $ARCH = i686 ]<br>then<br>                        rhnreg_ks --activationkey=1-xxx --force<br>
                        service rhnsd stop<br>                        chkconfig rhnsd off<br>fi<br><br><br>if [ $RHEL_VER = 45 -a $ARCH = x86_64 ]<br>then<br>                        rhnreg_ks --activationkey=1-xxx --force<br>
                        service rhnsd stop<br>                        chkconfig rhnsd off<br>fi<br><br><br>if [ $RHEL_VER = 46 -a $ARCH = i686 ]<br>then<br>                        rhnreg_ks --activationkey=1-xxx --force<br>
                        service rhnsd stop<br>                        chkconfig rhnsd off<br>fi<br><br><br>if [ $RHEL_VER = 46 -a $ARCH = x86_64 ]<br>then<br>                        rhnreg_ks --activationkey=1-xxx --force<br>
                        service rhnsd stop<br>                        chkconfig rhnsd off<br>fi<br><br>if [ $RHEL_VER = 48 -a $ARCH = i686 ]<br>then<br>                        rhnreg_ks --activationkey=1-xxx --force<br>                        service rhnsd stop<br>
                        chkconfig rhnsd off<br>fi<br><br>if [ $RHEL_VER = 48 -a $ARCH = x86_64 ]<br>then<br>                        rhnreg_ks --activationkey=1-xxx --force<br>                        service rhnsd stop<br>
                        chkconfig rhnsd off<br>fi<br><br>if [ $RHEL_VER = 5.3 -a $ARCH = x86_64 ]<br>then<br>                        service yum-updatesd stop<br>                        chkconfig yum-updatesd off<br>                        rhnreg_ks --activationkey=1-xxx --force<br>
                        <br>fi<br><br>if [ $RHEL_VER = 5.4 -a $ARCH = x86_64 ]<br>then<br>                        <br>                        service yum-updatesd stop<br>                        chkconfig yum-updatesd off<br>
                        rhnreg_ks --activationkey=1-xxx --force<br>                        <br>fi<br><br>if [ $RHEL_VER = 5.4 -a $ARCH = i686 ]<br>then<br>                        service yum-updatesd stop<br>                        chkconfig yum-updatesd off<br>
                        rhnreg_ks --activationkey=1-xxx --force<br>                        <br>fi<br><br>if [ $RHEL_VER = 5.6 -a $ARCH = x86_64 ]<br>then<br>                        service yum-updatesd stop<br>                        chkconfig yum-updatesd off<br>
                        rhnreg_ks --activationkey=1-xxx --force<br>                        <br>fi<br><br>if [ $RHEL_VER = 5.6 -a $ARCH = i686 ]<br>then<br>                        service yum-updatesd stop<br>                        chkconfig yum-updatesd off<br>
                        rhnreg_ks --activationkey=1-xxx --force<br>                        <br>fi<br><br>if [ $RHEL_VER = 6 -a $ARCH = x86_64 ]<br>then<br>                        service yum-updatesd stop<br>                        chkconfig yum-updatesd off<br>
                        rhnreg_ks --activationkey=1-xxx --force<br>                        <br>fi<br><br><br><br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 1:00 PM, Damon Chesser <span dir="ltr">&lt;<a href="mailto:dchesser@acsi2000.com">dchesser@acsi2000.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Yes, I don’t run the command up2date, but an xml file is there with that label, and that ties in what server/username/password you use to register with.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">At least if I move them out of the way (up2date and systemid), THEN I can register again.  This is NOT the command up2date.  Systemid seems to set parameters to run with (such as how often you will poll the server).<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">This is RHEL 5+<u></u><u></u></span></p><div class="im">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Damon Chesser<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><a href="mailto:dchesser@acsi2000.com" target="_blank">dchesser@acsi2000.com</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><a href="mailto:damon@damtek.com" target="_blank">damon@damtek.com</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
</div><div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a>]
<b>On Behalf Of </b>Lightner, Jeff<br>
<b>Sent:</b> Monday, July 25, 2011 12:48 PM<div><div></div><div class="h5"><br>
<b>To:</b> Atlanta Linux Enthusiasts<br>
<b>Subject:</b> Re: [ale] RHEL and Satellite<u></u><u></u></div></div></span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: navy;">You mentioned up2date.   Please be aware that RHEL4 and earlier use up2date but RHEL5 and later use yum instead.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: navy;"><u></u> <u></u></span></p>
<p> <u></u><u></u></p>
<p> <u></u><u></u></p>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">
<hr align="center" size="2" width="100%">
</span></div>
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a>]
<b>On Behalf Of </b>Damon Chesser<br>
<b>Sent:</b> Monday, July 25, 2011 12:24 PM<br>
<b>To:</b> Atlanta Linux Enthusiasts<br>
<b>Subject:</b> Re: [ale] RHEL and Satellite</span><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Answering my own question:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><a href="http://www.cyberciti.biz/faq/reregister-rhel-system-with-red-hat-network/" target="_blank">http://www.cyberciti.biz/faq/reregister-rhel-system-with-red-hat-network/</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="font-size: 10.5pt; color: rgb(17, 17, 17);">e) Login to your system and delete<span> </span><b><span>/etc/sysconfig/rhn/systemid</span></b><span> </span>file
 using rm command, enter:<br>
</span><code><span style="font-size: 9pt; font-family: Consolas; color: rgb(17, 17, 17); border: 1pt solid rgb(221, 221, 221); padding: 8pt; background: none repeat scroll 0% 0% rgb(238, 238, 238);"># rm /etc/sysconfig/rhn/systemid</span></code><span style="font-size: 10.5pt; color: rgb(17, 17, 17);"><u></u><u></u></span></p>

<p style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="font-size: 10.5pt; color: rgb(17, 17, 17);">f) Now register box with the update agent using<span> </span><b><span>rhn_register</span></b>,
 enter:<br>
</span><code><span style="font-size: 9pt; font-family: Consolas; color: rgb(17, 17, 17); border: 1pt solid rgb(221, 221, 221); padding: 8pt; background: none repeat scroll 0% 0% rgb(238, 238, 238);"># rhn_register</span></code><span style="font-size: 10.5pt; color: rgb(17, 17, 17);"><br>

rhn_register is a client program that registers your system with Red Hat Network (or a Red Hat Network Satellite). After registering, your system can recieve software updates, install new software, and remotely manage your system. It can run both in graphical
 and text modes.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I was not googling correctly.  I was looking for “registered with RH Satellite re-register with RHN” and such things but it hit me:  “Can’t register with RHN”!  Erueka!  2<sup>nd</sup> hit (first was blocked).<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> Sincerely,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">Damon Chesser</span><span style="color: rgb(31, 73, 125);"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">SRP Linux/Red Hat Engineer<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Core Integration Engineering</span><span style="font-size: 10pt; color: rgb(31, 73, 125);"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="color: rgb(31, 73, 125);">Apex Computer Systems Inc.<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Cell <a href="tel:404-271-8699" value="+14042718699" target="_blank">404-271-8699</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);"><a href="mailto:dchesser@acsi2000.com" target="_blank">dchesser@acsi2000.com</a></span><span style="color: rgb(31, 73, 125);"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a>]
<b>On Behalf Of </b>Damon Chesser<br>
<b>Sent:</b> Monday, July 25, 2011 12:18 PM<br>
<b>To:</b> Atlanta Linux Enthusiasts<br>
<b>Subject:</b> [ale] RHEL and Satellite<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a base install.  We don’t have a Satellite server ready for production yet.  A co-worker wanted to test the registration to the satellite and then they “would force a RHN” registration.  That was Friday.  Now it is Monday and I can’t
 seem to run any commands on the server to allow it to register with the RedHat Network. 
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">rhn_register --nox does not allow me to change the server.  A manual I have says to run rhn_register --nox –configure, but of course –-configure is not a real option.  I suppose I could move the /etc/sysconfig/rhn/up2date out of the way
 and see what happens but I am curious, what is the correct way to change this setting?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Googleing so far turns up hits on how to register, how to drop a client (servers side) but I am not finding anything about the client side.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Damon Chesser<u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:dchesser@acsi2000.com" target="_blank">dchesser@acsi2000.com</a><u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:damon@damtek.com" target="_blank">damon@damtek.com</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><u></u> <u></u></span></p>
<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">
<hr align="center" size="2" width="100%">
</span></div>
<p class="MsoNormal"><span style="font-size: 7.5pt; color: gray;">Disclaimer: This electronic transmission and any attachments contain confidential information belonging to the sender. This information may be legally protected.
 The information is intended only for the use of the individual or entity named above. If you are not the intended recipient or receive this message in error, you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance
 on or regarding the contents of this information is strictly prohibited. Please notify the sender immediately if you have received this information in error.<br>
<br>
<a href="http://www.acsi2000.com" target="_blank">www.acsi2000.com</a><br>
</span><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><br>
_____________________________________________________________________________<br>
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit <a href="http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954" target="_blank">http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954</a><br>

_____________________________________________________________________________<br>
<br>
_____________________________________________________________________________<br>
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit <a href="http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954" target="_blank">http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954</a><br>

_____________________________________________________________________________<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><u></u> <u></u></span></p>
<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">
<hr align="center" size="2" width="100%">
</span></div>
<p class="MsoNormal"><span style="font-size: 7.5pt; color: gray;">Disclaimer: This electronic transmission and any attachments contain confidential information belonging to the sender. This information may be legally protected.
 The information is intended only for the use of the individual or entity named above. If you are not the intended recipient or receive this message in error, you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance
 on or regarding the contents of this information is strictly prohibited. Please notify the sender immediately if you have received this information in error.<br>
<br>
<a href="http://www.acsi2000.com" target="_blank">www.acsi2000.com</a></span><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><u></u><u></u></span></p>
<p> <u></u><u></u></p>
<p> <u></u><u></u></p>
<p> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Proud partner. Susan G. Komen for the Cure.</span><u></u><u></u></p>
<p class="MsoNormal"> <span style="font-size: 10pt;"><u></u><u></u></span></p>
<p class="MsoNormal"> <i><span style="font-size: 7.5pt; color: green;">Please consider our environment before printing this e-mail or attachments.</span></i>
<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size: 10pt;">----------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information
 is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------</span><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;"><u></u><u></u></span></p>
<p> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><br>
_____________________________________________________________________________<br>
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit <a href="http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954" target="_blank">http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954</a><br>

_____________________________________________________________________________<u></u><u></u></span></p>
</div></div></div><div><div></div><div class="h5">
<br>
<hr>
<font color="Gray" face="Arial" size="1">Disclaimer: This electronic transmission and any attachments contain confidential information belonging to the sender. This information may be legally protected. The information is intended only for the use of the individual
 or entity named above. If you are not the intended recipient or receive this message in error, you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on or regarding the contents of this information is strictly
 prohibited. Please notify the sender immediately if you have received this information in error.<br>
<br>
<a href="http://www.acsi2000.com" target="_blank">www.acsi2000.com</a><br>
</font>
</div></div></div>

<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br>