<HTML dir=ltr><HEAD><TITLE>Re: [rhn-users] learning the RHN ropes</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText44147 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>thank you very much for your helpful response. turns out I have been doing what you suggested, scheduling the updates in small batches. I will also turn off the auto errata, as it doesnt seem to be doing much, and it does sound safer off as you say.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature64622 dir=ltr><PRE>William I. Martín
Programmer/Analyst
LGB & Associates, Inc.
<BR><HR tabIndex=-1><FONT face=Tahoma size=2><B>From:</B> rhn-users-bounces@redhat.com on behalf of inode0<BR><B>Sent:</B> Wed 1/2/2008 11:05 PM<BR><B>To:</B> Discussions about Red Hat Network (rhn.redhat.com)<BR><B>Subject:</B> Re: [rhn-users] learning the RHN ropes<BR></FONT><BR></PRE></DIV>
<DIV>
<P><FONT size=2>On Dec 21, 2007 1:59 PM, Martin, William <wmartin@lgb-inc.com> wrote:<BR>> I have been put in charge of some RH servers, and inherited the RHN account<BR>> from the previous sysadmin, with no guidance. I have little sysadmin<BR>> experience, so I have some newbie questions about RHN updates:<BR>><BR>> - the servers are set up with Auto Errata Update = Yes, but there is a huge<BR>> list of Errata and Packages to update the servers with, months-worth of<BR>> them. the rhnsd daemon is running every four hours, but as reported by<BR>> logwatch it only does a few updates now and then (a few a week). no idea how<BR>> it picks them. it does pick up updates I explicitly schedule on RHN, so that<BR>> part works fine. doesnt Auto Errata Update mean all updates should be done<BR>> without user intervention?<BR><BR>Sorry about taking so long to respond to this ... as a first comment<BR>I'd say it is probably a bit risky to apply errata automatically to a<BR>server. I would turn that off except perhaps on desktops or other<BR>systems where if something went wrong it wouldn't be critical.<BR><BR>To be honest our experience with the auto errata update facility has<BR>been inconsistent with it often not working as expected. At this point<BR>I would not rely on it even if it were what I wanted to accomplish. On<BR>systems older than RHEL5 running "up2date -u" (or something similar<BR>modified to taste) from cron once a day is more reliable. On RHEL5<BR>systems yum-updatesd can be configured to apply errata automatically<BR>as well regardless of this setting on RHN.<BR><BR>> - what is the relationship between rhnsd and up2date? up2date --list does<BR>> show the whole long list of pending updates. it seems rhnsd is not running<BR>> off the same list, or just picks a tiny fraction of it.<BR><BR>rhnsd checks in with RHN periodically. If it finds actions scheduled<BR>on RHN (errata or other scheduled actions) if should fire off<BR>rhn_check to pick them up and apply them. Generally if you don't<BR>schedule actions on RHN to be picked up automatically I don't see any<BR>reason to run rhnsd.<BR><BR>It sounds like some of the errata failed to get scheduled. This is not<BR>an unusual outcome for us and is why I don't recommend relying on this<BR>mechanism to keep your systems up to date.<BR><BR>If at this point you have a large number of updates to be applied I<BR>think mass updates generally go smoother if you apply them in smaller<BR>hunks. So I wouldn't do an "up2date -u" to try to get them all in one<BR>pass. Going to RHN and scheduling them all followed by running<BR>rhn_check on the system tends to work better in this sort of<BR>situation. It will pick up and apply the updates in smaller chunks<BR>(one errata at a time plus dependencies pulled in) leading to fewer<BR>dependency and other problems.<BR><BR>My experience may differ from that of others here. Hope this helps.<BR><BR>John<BR><BR>_______________________________________________<BR>rhn-users mailing list<BR>rhn-users@redhat.com<BR><A href="https://www.redhat.com/mailman/listinfo/rhn-users">https://www.redhat.com/mailman/listinfo/rhn-users</A><BR><BR></FONT></P></DIV></BODY></HTML>