[Linux-cluster] What is the current recommendation concerning shutting down a cluster node?

Kit Gerrits kitgerrits at gmail.com
Mon Jan 10 20:17:43 UTC 2011


Hello,

I have found the same behaviour.
Shutting down a cluster node without first stopping the cluster services
results in a node that has not logged out from the cluster.
The cluster may even fence the node and bring it back on-line.
(it won't stay dead!)


You can also leave the cluster with 'cman_tool leave':

http://linux.die.net/man/8/cman_tool

Tells CMAN to leave the cluster. You cannot do this if there are subsystems
(eg DLM, GFS) active. You should dismount all GFS filesystems, shutdown
CLVM, fenced and anything else using the cluster manager before using
cman_tool leave. Look at 'cman_tool status|services' to see how many (and
which) services are running.
When a node leaves the cluster, the remaining nodes recalculate quorum and
this may block cluster activity if the required number of votes is not
present. If this node is to be down for an extended period of time and you
need to keep the cluster running, add the remove option, and the remaining
nodes will recalculate quorum such that activity can continue. 


Regards,

Kit


-----Original Message-----
From: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] On Behalf Of Digimer
Sent: vrijdag 7 januari 2011 16:24
To: linux clustering
Subject: Re: [Linux-cluster] What is the current recommendation concerning
shutting down a cluster node?

On 01/07/2011 09:14 AM, Nicolas Ross wrote:
>> On 01/06/2011 01:00 PM, Hofmeister, James (WTEC Linux) wrote:
>>> umount gfs
>>> service rgmanager stop
>>> service gfs stop
>>> service clvmd stop
>>> service cman stop
>>
>> This is my method. However, note that stopping GFS unmounts the 
>> volumes, so you can skip the manual unmount.
> 
> Would a regular shutdown (-r/-h) now do the exact same thing ?

Technically it should, I suppose, but I've had it not work enough times that
I've now created a little 'stop_cluster.sh' and 'start_cluster.sh'
scripts that I run.

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

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




More information about the Linux-cluster mailing list