What’s the right way to stop/ start cluster:
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)
service rgmanager stop, if you using high-availability (HA) services (rgmanager).service gfs2 stop, if you are using Red Hat GFS2umount -at gfs2, if you are using Red Hat GFS2 in conjunction withrgmanager, to ensure that any GFS2 files mounted duringrgmanagerstartup (but not unmounted during shutdown) were also unmounted.service clvmd stop, if CLVM has been used to create clustered volumesservice 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>
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
