This was available on RHEL 6/7
Checking status of the cluster:
1clustat
2clustat -m # Display status of and exit
3clustat -s # Display status of and exit
4clustat -l # Use long format for services
5cman_tool status # how local record of cluster status
6cman_tool nodes # how local record of cluster nodes
7cman_tool nodes -af
8ccs_tool lsnode # List nodes
9ccs_tool lsfence # List fence devices
10group_tool # Displays the status of fence, dlm and gfs groups
11group_tool ls # Displays the list of groups and their membership
Resource Group Control Commands
1clusvcadm -d # Disable
2clusvcadm -e # Enable
3clusvcadm -e -F # Enable according to failover domain rules
4clusvcadm -e -m # Enable on
5clusvcadm -r -m # Relocate to member>
6clusvcadm -R # Restart a group in place.
7clusvcadm -s # Stop
Resource Group Locking (for cluster Shutdown / Debugging)
1clusvcadm -l # Lock local resource group manager.
2 # This prevents resource groups from starting on the local node.
3clusvcadm -S # Show lock state
4clusvcadm -Z # Freeze group in place
5clusvcadm -U # Unfreeze/thaw group
6clusvcadm -u # Unlock local resource group manager.
7 # This allows resource groups to start on the local node.
8clusvcadm -c # Convalesce (repair, fix) resource group.
9 # Attempts to start failed, non-critical resources within a resource group.
Comments