How to do health check of RHCS
?著作權(quán)歸作者所有:來自51CTO博客作者老衲不宅的原創(chuàng)作品,請聯(lián)系作者獲取轉(zhuǎn)載授權(quán),否則將追究法律責(zé)任
1. If you use gfs, then you may use following command to see if the list output and df output are the same on all the nodes, e.g:
#gfs_tool list
#gfs_tool df
2. And for RHCS services, you may using following command to see if all the nodes in normal status,e.g:
# clustat
# cman_tool status
3. To check failover function works or not, there are two level failover you may need to check: service level, node level,
most of time you may focus on the service level(you business logic) failover:
3.1 for service level failover, you unplug the virtual IP network to provide cluster services (business logic) and to see if the service can migrate to other nodes
Note:
before you test the service level failover, you may try to test if you can manually migrate the server from one node to another node, e.g:
# clusvcadm -r service -m other_node
3.2 for node level failover, you can try fencing function works in your cluster or not, at last, you may unplug the heartbeat network which used to communicate among nodes to see if the node can be rebooted, e.g:
1) Test by fence agent without cman/cluster.conf configured
# fence_xxxx -a <ipaddress> -l <username> -p <password>
The default action will reboot the other node, use "-o status" will not reboot.
2) Test fence while cman is started
# fence_node <node_name>
3) Test fence by cutting down the heartbeat network
Note:
1. ideally the RHCS could separate this three network to different NIC. If you use only one NIC, then all the failover test described here cannot be done
2. the heartbeat network is the one used to communicate with other nodes in the cluster, it don't specified in configuration file,
RHCS use the corresponding IP address for the hostname to communicate with the other nodes in the cluster, if fencing network and heartbeat network are setup on the same NIC,
unplug the heartbeat network cable cannot cause the node reboot.
相關(guān)知識
Stress and Distress During Pregnancy: How to Protect Both Mother and Child
As we all know, smoking is harmful to one's health . =As is known to all, smoking is harmful to o——青夏教育精英家教網(wǎng)——
Pregnant women: addressing maternal mental health in Africa
運動與健康(Sport and health)
The Health Benefits of Dietary Fibre
健康的生活方式英語作文(精選20篇)
十大創(chuàng)新技術(shù)將變革醫(yī)學(xué)健康模式
健康的生活方式英語作文(精選16篇)
System construction of international health impact assessment: From policy to legal status
健康飲食的英語作文及翻譯(通用16篇)
網(wǎng)址: How to do health check of RHCS http://www.u1s5d6.cn/newsview645786.html
推薦資訊
- 1發(fā)朋友圈對老公徹底失望的心情 12775
- 2BMI體重指數(shù)計算公式是什么 11235
- 3補腎吃什么 補腎最佳食物推薦 11199
- 4性生活姿勢有哪些 盤點夫妻性 10425
- 5BMI正常值范圍一般是多少? 10137
- 6在線基礎(chǔ)代謝率(BMR)計算 9652
- 7一邊做飯一邊躁狂怎么辦 9138
- 8從出汗看健康 出汗透露你的健 9063
- 9早上怎么喝水最健康? 8613
- 10五大原因危害女性健康 如何保 7826