conga+web+nfs(图文详细过程)

                               Conga+web+nfs

Client              192.168.0.40

物理机             eth0:192.168.0.50

Web master          eth0192.168.0.115

Web backup         eth0 : 192.168.0.109

Nfs                eth0:192.168.0.110

Vip                192.168.0.130


Web masterbackup 以及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

分别在2HA节点(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

nfs服务器上打开https://192.168.0.110:8084


详细的请到百度云盘  下载 技术文档

可以到百度云盘下载账号[email protected]密码pk492940446


你可能感兴趣的:(Web,nfs,REDHAT5.8)