天天看点

搭建集群平台

******************* 搭建集群结点 *****************

# vim /etc/yum.repos.d/rhel-source.repo

<a href="https://s1.51cto.com/wyfs02/M01/9C/E4/wKiom1l3RzGzvhFdAAFcH0mpNv4956.png" target="_blank"></a>

安装服务:

# yum install -y ricci   (两个结点上都安装)

# passwd ricci

# /etc/init.d/ricci start

# chkconfig ricci on#开机自启动

# yum install -y luci   (在server1上安装)

# /etc/init.d/luci start

# chkconfig luci on

启动图形界面设置结点:

访问https://172.25.62.1:8084进入图形化界面

输入主机密码:

<a href="https://s1.51cto.com/wyfs02/M00/9C/E4/wKiom1l3Ro7RLJbNAACU7vf1NvQ072.png" target="_blank"></a>

创建集群westos_haha并设置2个集群结点server1和server4,ricci端口为11111:

<a href="https://s5.51cto.com/wyfs02/M00/9C/E4/wKioL1l3Ro_hkrMCAAEVPb32F88732.png" target="_blank"></a>

结点创建成功:

<a href="https://s5.51cto.com/wyfs02/M00/9C/E4/wKioL1l3Ro_AUBt8AAEHS2HH6Cw189.png" target="_blank"></a>

查看集群信息:

<a href="https://s4.51cto.com/wyfs02/M01/9C/E4/wKiom1l3RpDzZzuIAAB3zLE1jqk342.png" target="_blank"></a>

集群配置文件:

<a href="https://s5.51cto.com/wyfs02/M01/9C/E4/wKiom1l3RpHgUaOfAAC15XRW1po664.png" target="_blank"></a>

本文转自cuijb0221 51CTO博客,原文链接:http://blog.51cto.com/cuijb/1950941

继续阅读