Re: What is the current recommendation concerning shutting down a cluster node?

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

 



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@xxxxxxxxxx
[mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Digimer
Sent: vrijdag 7 januari 2011 16:24
To: linux clustering
Subject: Re:  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@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

--
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