Conga+web+nfs
Client 192.168.0.40
物理机 eth0:192.168.0.50
Web master eth0:192.168.0.115
Web backup eth0 : 192.168.0.109
Nfs eth0:192.168.0.110
Vip 192.168.0.130
Web master和backup 以及nfs 物理机分别在/etc/hosts 添加这4台机器的IP 与主机名对应
例如我的
192.168.0.115 pankuo3
192.168.0.109 pankuo4
192.168.0.110 pankuo1
192.168.0.50 pankuo
都关掉防火墙和selinux
在4个服务器上配置yum,需要支持光盘上的Server 、 VT 、 Cluster 、 ClusterStorage
分别配置yum 下面是我的配置:(记得都要挂载光盘)
[redhat]
name=redhat
baseurl=file:///mnt/Server
[VT]
name=VT
baseurl=file:///mnt/VT
[cluster]
name=cluster
baseurl=file:///mnt/Cluster
[ClusterStorage]
name=ClusterStorage
baseurl=file:///mnt/ClusterStorage
配置虚拟IP
# ifconfig lo:0192.168.0.130 netmask 255.255.255.255 broadcast 192.168.0.130 up #VIP
# route add-host 192.168.0.130 dev lo:0 #加一条主机路由表项
部署NFS
# mkdir /apache/
# echo "Conga test" >/apache/index.html
# vim /etc/exportscat
/apache *(ro,sync)
# service nfs restart
分别测试web1 和 web2在挂载nfs共享后,都能够正常显示, 测试后停止httpd服务,卸载nfs
部署Conga
分别在2个HA节点(web1 和 web2)上部署ricci
# yum install ricci
# service ricci start
NFS作为管理节点部署luci
# yum install luci
# luci_admin init
Initializing the luci server
Creating the 'admin' user
Enter password:123456
Confirm password:123456
Please wait...
The admin password has been successfullyset.
Generating SSL certificates...
The luci server has been successfullyinitialized
You must restart the luci server forchanges to take effect.
Run "service luci restart" to doso
# service lucirestart
配置Conga
详细的请到百度云盘 下载 技术文档
本文转自潘阔 51CTO博客,原文链接:http://blog.51cto.com/pankuo/1390470,如需转载请自行联系原作者