Re: What is the proper procedure to reboot a node in a cluster?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux