[Linux-cluster] What is the proper procedure to reboot a node in a cluster?

Digimer linux at alteeve.com
Thu Mar 10 17:21:23 UTC 2011

On 03/10/2011 12:09 PM, Shi Jin wrote:
> Hi there,
> I've setup a two-node cluster with cman, clvmd and gfs2. I don't use
> qdisk but had
> <cman expected_votes="1" two_node="1"/>
> I would like to know what is the proper procedure to reboot a node in
> the two-node cluster (maybe this applies for all size?) when both nodes
> are functioning fine but I just want to reboot one for some reason (for
> example, upgrade kernel). Is there a preferred/better way to reboot the
> machine rather than just running the "reboot" command as root. I have
> been doing the "reboot" command so far and it sometimes creates problems
> for us, including  making the other node to fail. 
> Thank you very much.
> Shi
> -- 
> Shi Jin, Ph.D.

What I do is migrate any services from the node to the other member,
then stop rgmanager->gfs2->clvmd->cman (obviously adapt to what you are
running). If you have DRBD, then stop it as well. At this point, the
other node should be the only one in the cluster (confirm with
'cman_tool status'). If all is good, reboot. Once up, rejoin the cluster.

E-Mail: digimer at alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org

More information about the Linux-cluster mailing list