RedHat 镐可用性集群实验(防单点故障)
实验环境:
192.168.0.31 ---->网络共享存储主机
192.168.0.11 ---->节点1
192.168.0.12----->节点2
192.168.0.32---->管理机
备注:
管理机:A
节点1:B
节点2:C
存储机:D
ABC:service ntpd restart (重启ntpd服务,使时间与服务器同步)
ABC:watch -n.1 date (查看是否与服务器时间同步)
B:service syslog restart
ABC: vim /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.61 station61.example.com station61 (节点)
192.168.0.62 station62.example.com station62 (节点)
192.168.0.12 station12.example.com station12 (管理机)
A:yum -y install luci
BC:yum -y install ricci httpd
BC:service ricci start
BC:chkconfig ricci on
A:luci_admin init
redhat ---- redhat (初始化创建密码)
A:chkconfig luci on
A:service luci restart (如果有失败就多重启几次就好了)
Point your web browser to https://station32.example.com:8084 to access luci
在浏览器中打开: https://station32.example.com:8084
选择cluster菜单
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21021875/viewspace-620370/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21021875/viewspace-620370/