What’s the right way to stop/ start cluster:

Latest response

As per RH, we can bring down cluster services in reverse order BUT service group might failover to 2nd node which I think can be stop by freezing cluster (please correct me if I am wrong)

 

  1. service rgmanager stop, if you using high-availability (HA) services (rgmanager).
  2. service gfs2 stop, if you are using Red Hat GFS2
  3. umount -at gfs2, if you are using Red Hat GFS2 in conjunction with rgmanager, to ensure that any GFS2 files mounted during rgmanagerstartup (but not unmounted during shutdown) were also unmounted.
  4. service clvmd stop, if CLVM has been used to create clustered volumes
  5. service cman stop

OR can I simply stop by running “clusvcadm -s servicegroup” on both nodes (A&B) & restarts with “clusvcadm -e servicegroup -m nodename”.

 Appreciate if anyone share their experience or best practice. 

Thanks

 

Responses

Faisal

start and stop procedure of cluster software is documented in below link.

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/Cluster_Administration/index.html#s1-admin-start-CA

If you are planning to stop a resource group ( service ) used in cluster.conf, then you can stop it using

clusvcadm -s service-name

and to enable it you can use

clusvcadm -e service-name -m node-name

In order to freeze it, you can use

clusvcadm -Z <service>

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.