RHCS is a cluster in Red Hat system, which integrates many useful tools in RHCS. These tools of Red Hat are also available on other Linux systems. Of course, RHCS as a collection of these tools also needs some maintenance. This article will introduce the Linux system using commands to maintain RHCS.
1. Check the cluster status
clustat
cman_tool status
cman_tool nodes -a
Here is the command to query Example of display results:
#1.1 clustat View cluster status (most commonly used)
At node 1, the Local in the status is displayed on node 1.
#clustat
Cluster Status for new_cluster @ Tue Sep 1 12:23:09 2015
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
heartdb1 1 Online, Local, rgmanager
heartdb2 2 Online, rgmanager
Service Name Owner (Last) State
------- ---- ----- ------ -----
Service:orares heartdb1 started
#1.2 cman_tool status View
# cman_tool status
Version: 6.2.0
Config Version: 18
< Cluster Name: new_cluster
Cluster Id: 23732
Cluster Member: Yes
Cluster Generation: 432
Membership state: Cluster-Member
Nodes: 2
Expected votes: 1
Total votes: 2
Quorum: 1
Active subsystems: 8
Flags: 2node Dirty
Ports Bound: 0 177
Node name: heartdb1
Node ID: 1
Multicast addresses: 239.192.92.17
Node addresses: 192.168.1.1
#1.3 cman_tool View nodes information
# cman_tool nodes -a
Node Sts Inc Joined Name
1 M 404 2015-08-03 17:52:20 heartdb1
Addresses: 192.168.1.1
2 M 432 2015-09-01 14:32:27 heartdb2
Addresses: 192.168.1.2 Previous123Next page Total 3 pages
After Kali Linux is installed, many people dont know how to configure the network.
I finally installed arm-linux-insight on Ubuntu system, but I found that the target could not be set
When the Ubuntu system copies a file to another file, it prompts “Permission denied
Some Red Flag Linux 6.0 system users find that their computer cant mount NTFS parti
How do Linux systems configure IPv6 addresses?
How does the Linux system redirect data streams?
Linux ps command example summary
Linux system safely delete files skills
CentOS uses Java method via Chrome
Linux system how to configure rdate time server
Application of mkdir command in Linux
How to install and set up Samba service
How to configure Nginx under Linux to restrict website users to use proxy IP access
How Linux uses the kill command to force a process to terminate
Linux yum prompts Loaded plugins error?
How Linux uses the arping command to detect IP address conflicts
PS can't play the word how to do
How does the Win10 system get blue screen error DMP files?
Beware of Win XP's "Automatic Update"
Gossip: Win9 preview, see you in October
Blocking the Windows 7 (Flagship) system Aero Shake function
Exploring the Windows 8 features that Microsoft could not introduce before.
How does Win8 system let broadband remember account and password
How does the Win7 Ultimate system change the computer sleep time
What should I do if the C drive is up after upgrading Windows 10?