<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=855431115-09052005><FONT face=Arial color=#0000ff
size=2>Alright,</FONT></SPAN></DIV>
<DIV><SPAN class=855431115-09052005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=855431115-09052005><FONT face=Arial color=#0000ff size=2>it
looks like the automation mechanism is available via the RHN API. Has
anyone</FONT></SPAN></DIV>
<DIV><SPAN class=855431115-09052005><FONT face=Arial color=#0000ff
size=2>developed a script to do this? Looks pretty easy according to
available</FONT></SPAN></DIV>
<DIV><SPAN class=855431115-09052005><FONT face=Arial color=#0000ff
size=2>documentation.</FONT></SPAN></DIV>
<DIV> </DIV><BR>
<P><FONT face=Arial size=2>Christoph F. Doerbeck</FONT> <BR><FONT face=Arial
size=2>F</FONT><FONT face=Arial size=2>idelity Investments Systems Company
(UTS)</FONT> <BR><FONT face=Arial size=2>Voice:</FONT><FONT face=Arial
size=2></FONT> <FONT face=Arial size=2></FONT> <FONT face=Arial
size=2>(</FONT><FONT face=Arial size=2>508</FONT><FONT face=Arial
size=2>)</FONT> <FONT face=Arial size=2>787-</FONT><FONT face=Arial
size=2>6915</FONT> <BR><FONT face=Arial size=2>Mobile: (508) 826-2756</FONT>
<BR><FONT face=Arial size=2>Pager: (800)-SkyTel2 pin#1467205</FONT> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Doerbeck,
Christoph <BR><B>Sent:</B> Monday, May 09, 2005 10:57 AM<BR><B>To:</B> Red Hat
Network Users List<BR><B>Subject:</B> [rhn-users] CLI method for changing host
RHN channel subscription?<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005>Greetings,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=250534914-09052005>I
currently operate a RHN Satellite server with 3 proxies. I want to
automate a process</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=250534914-09052005>to
reactivate hosts (essentially registering them to alternate base+child
channels) without</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005>creating a new/duplicate host RHN
profile.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005>Example: current host is registered to
Custom-AS-3-v1 channel</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005>
now I want it registered to Custom-AS-3-v2 channel</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=250534914-09052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=250534914-09052005>Is
there a command line method for changing a hosts channel
subscriptions?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=250534914-09052005>Does
that make sense? </SPAN></FONT></DIV><FONT face=Arial color=#0000ff
size=2></FONT><BR>
<P><FONT face=Arial size=2>Christoph</FONT></P></BLOCKQUOTE></BODY></HTML>