[Linux-cluster] What's the proper way to shut down my cluster?

Cleber Rodrigues crosa at redhat.com
Tue Nov 10 14:28:50 UTC 2009


If this is RHEL5, then "#service cman stop" will attempt to shutdown all
associated daemons (fenced, for instance). Maybe it's just me, but I
find it quite unreliable...

IMHO, the best options are:

1) Use the "leave cluster" functionality from luci
2) Do it manually, something like:
   - umount gfs
   - # service clvmd stop
   - # service rgmanager stop
   - # fence_tool leave ...
   - # cman_tool leave remove ...

CR.

On Tue, 2009-11-10 at 09:14 -0500, Jon Erickson wrote:
> So I was wondering what the proper way to shut down a cluster is?  The
> CMAN faq says to use 'cman_tool leave remove', but the Redhat docs say
> to run 'service cman stop'.
> 
> Thanks.
> 
> Sources:
> http://sources.redhat.com/cluster/wiki/FAQ/CMAN
> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/pdf/Cluster_Administration/Cluster_Administration.pdf
> 


-- 
Cleber Rodrigues <crosa at redhat.com>
Solutions Architect - Red Hat, Inc.
Mobile: +55 61 9185.3454




More information about the Linux-cluster mailing list