RHCS????????????cman+rgmanager??????
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RHCS????????????cman+rgmanager??????相关的知识,希望对你有一定的参考价值。
?????????rhcs????????????cman+rgmanager??????
???????????????????????????
???????????? ---> RHCS?????????????????????web?????????
??????cman+rgmanager??????RHCS???????????????luci/ricci???????????????cman???rgmanager
??????cman+rgmanage??????
1?????????cman+rgmanager???node1???node2???node3???
[[email protected] ~]# yum install cman rgmanager -y
2??????????????????????????????????????????
[[email protected] ~]# ccs_tool create tcluster
3?????????Fence?????????????????????????????????Fence???????????????????????????????????????
[[email protected] cluster]# ccs_tool addfence meatware fence-manual [[email protected] cluster]# ccs_tool lsfence Name Agent meatware fence-manual
4???????????????
[[email protected] cluster]# ccs_tool addnode -n 1 -f meatware node1 [[email protected] cluster]# ccs_tool addnode -n 2 -f meatware node2 [[email protected] cluster]# ccs_tool addnode -n 3 -f meatware node3
5??????NetworkManager????????????????????????????????????
[[email protected] ~]# chkconfig NetworkManager off [[email protected] ~]# chkconfig --list NetworkManager NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
6????????????????????????????????????
[[email protected] ~]# scp /etc/cluster/cluster.conf node2:/etc/cluster/ cluster.conf 100% 653 0.6KB/s 00:00 [[email protected] ~]# scp /etc/cluster/cluster.conf node3:/etc/cluster/ cluster.conf 100% 653 0.6KB/s 00:00
7?????????cman?????????????????????cman????????????????????????????????????
[[email protected] ~]# service cman start
8?????????????????????
[[email protected] ~]# clustat Cluster Status for tcluster @ Sun Nov 27 17:30:35 2016 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ node1 1 Online, Local node2 2 Online node3 3 Online
9?????????rgmanager??????????????????
[[email protected] ~]# service rgmanager start
10?????????cman_tool??????
cman_tool???????????????
???????????????
-h?????????????????????
-v?????????????????????
join?????????????????????
leave?????????????????????
kill???????????????
expected??????????????????????????????
votes???????????????
nodes?????????????????????
status???????????????????????????
services??????????????????????????????
??????????????????????????????????????????????????????/etc/cluster/cluster.conf???
??????????????????????????????
???????????? ???linux????????? ?????????????????????????????????http://jiayimeng.blog.51cto.com/10604001/1877068
以上是关于RHCS????????????cman+rgmanager??????的主要内容,如果未能解决你的问题,请参考以下文章