Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

Red Hat Clustering - Steps to Apply Maintenance

SOLVED
Go to solution
MikeL_4
Super Advisor

Red Hat Clustering - Steps to Apply Maintenance

I have a two node Red Hat 5.4 Linux Cluster...

Is there proper steps to take to a node in the cluster when you are going to reboot the server..

Like take the node out of the two node cluster ?? or stop certain services before hand?

Thanks
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Red Hat Clustering - Steps to Apply Maintenance

Shalom,

fail all packages over to the node not being upgraded.

Do any patches or rpm installs you need to do.

reboot the node. Hopefully it will rejoin the cluster and you can fail all packages over to it and repeat the process on the second node.

If not, you will have to have a little down time to get the cluster running on the first node, once all services are running you should be able to update node 2 without too much trouble.

Note: read the notes carefully. Cluster suite updates come out late and do not always work with the latest red hat kernel.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MikeL_4
Super Advisor

Re: Red Hat Clustering - Steps to Apply Maintenance

Didn't know if it was necessary to take the node being done out of the cluster first before rebooting it...

Normaly in ServiceGuard I would do that first before a reboot..
Serviceguard for Linux
Honored Contributor
Solution

Re: Red Hat Clustering - Steps to Apply Maintenance

Actually, on SG you don't take the node out of the cluster, you halt the clustering software on that node.

For a Red Hat cluster (from http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/pdf/Cluster_Administration.pdf)

To stop the cluster software on a member, type the following commands in this order:
1. service rgmanager stop
2. service gfs stop, if you are using Red Hat GFS
3. service clvmd stop, if CLVM has been used to create clustered volumes
4. service cman stop
Stopping the cluster services on a member causes its services to fail over to an active member.
MikeL_4
Super Advisor

Re: Red Hat Clustering - Steps to Apply Maintenance

We always did a cmhaltnode on HP-UX servers, just thought there might me a one line easy command for Red Hat..
AnthonySN
Respected Contributor

Re: Red Hat Clustering - Steps to Apply Maintenance

you can use system-config-cluster on a gui console and do the cluster management easily.