[CentOS] yum update

Thu Aug 13 16:32:20 UTC 2009
Curt Mills <hacker at fluke.com>

On Thu, 13 Aug 2009, Les Mikesell wrote:

> Geoff Galitz wrote:
>>
>> ...so I
>> know for a fact updates can break a running system.
>
> On CentOS?  Fedora does that all the time but _not_ having behavior-changing
> updates in the long life of a major release is most of the point of 'enterprise'
> distributions.  It's probably not perfect - and I wouldn't do auto-updates on
> production servers either but it should at least be very unusual for a CentOS
> update to break anything.

You mean like every time new Apache2 updates come along they
_shouldn't_ break my failover cluster???

I've gotten into the habit of doing this each time I see an "httpd"
update come down 'cuz a reboot will kill the cluster again:

If I did a reboot I need to edit haresources and restart heartbeat
to get my DRBD drive back, then add links back in:

*) Remove "httpd" from the end of /etc/ha.d/haresources
*) Restart heartbeat so that it'll mount my DRBD drive.
*) Fix up the symlinks in /replicated/etc/httpd/:

     logs -> ../../var/log/httpd
     modules -> /usr/lib64/httpd/modules
     run -> /var/run

*) Add "httpd" back into the haresources file.
*) Restart heartbeat to check that the cluster comes up ok.

"httpd" updates remove the symlinks (that maybe "drbdlinks" creates?
Can't recall) which point into my DRBD drive.

If I didn't do a reboot yet then I can fix things up with a subset
of the above 'cuz the DRBD drive will still be mounted.

The above is probably necessary because I'm doing something wrong...
Do I need to break the cluster before the update so that Apache2
doesn't touch the DRBD drive/drbdlinks stuff, then restart the
cluster?  That seems likely.

-- 
Curt Mills, WE7U                    hacker at fluke dot com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"

Please be advised that this email may contain confidential information.
 If you are not the intended recipient, please do not read, copy or
re-transmit this email.  If you have received this email in error,
please notify us by email by replying to the sender and by telephone
(call us collect at +1 202-828-0850) and delete this message and any
attachments.  Thank you in advance for your cooperation and assistance.

In addition, Danaher and its subsidiaries disclaim that the content of
this email constitutes an offer to enter into, or the acceptance of, 
any
contract or agreement or any amendment thereto; provided that the
foregoing disclaimer does not invalidate the binding effect of any
digital or other electronic reproduction of a manual signature that is
included in any attachment to this email.