[Linux-cluster] About CS global shutdown

Alain Moulle Alain.Moulle at bull.net
Thu Jul 20 13:40:38 UTC 2006


Hi

I wonder what is the best way to stop safely the CS 4 on a big amount
HA pairs, from a management node,  with the idea to shutdown
all nodes after that :

Is it better to use :
1/
pdsh "clusvcadm -l" launched on all nodes
then
pdsh "clushutdown" launched on all nodes
then
proceed to poweroff on all nodes.

or
2/
pdsh "service rgmanager stop" launched on all nodes
pdsh "service fenced stop" launched on all nodes
pdsh "service cman stop" launched on all nodes
pdsh "service ccsd stop" launched on all nodes

I think that 1/ is more safe, because in 2/ some applications
could begin to failover just before the 2nd node of a pair
receives at its turn the stop commands .
The 1/ avoids any attempt to failover for nothing.

Am I right ?
Thanks
Alain





More information about the Linux-cluster mailing list