******************* 搭建叢集結點 *****************
# 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