node1配置
修改主机名和hosts文件
[root@localhost ~]#vim /etc/sysconfig/network
HOSTNAME=node1.a.com
[root@localhost ~]# hostname node1.a.com
[root@localhost ~]#vim /etc/hosts
192.168.100.10 node1.a.com node1
192.168.100.20 node2.a.com node2
安装软件,开启服务
[root@localhost ~]#yum –y install ricci
[root@localhost ~]#service ricci start
[root@localhost ~]#chkconfig ricci on
node2配置
修改主机名和hosts文件
[root@localhost ~]#vim /etc/sysconfig/network
HOSTNAME=node1.a.com
[root@localhost ~]# hostname node1.a.com
[root@localhost ~]#vim /etc/hosts
192.168.100.11 node1.a.com node1
192.168.100.20 node2.a.com node2
安装软件,开启服务
[root@localhost ~]#yum –y install ricci
[root@localhost ~]#service ricci start
[root@localhost ~]#chkconfig ricci on
luci设置
安装luci
[root@target ~]# yum -y install luci
初始化
[root@target ~]#luci_admin init
重启服务
[root@target ~]#chkconfig luci on
[root@target ~]#luci_admin init
[root@target ~]#service luci restart
群集设置
创建cluster1

添加结点

创建fence

结点添加fence

创建失效域

