[Linux-cluster] how to mount a gfs2 volume on all our real webservers in /var/www/html

Lon Hohberger lhh at redhat.com
Fri Aug 1 19:38:18 UTC 2008


On Thu, 2008-07-31 at 13:22 +0300, Alex wrote:
> On Thursday 31 July 2008 11:52, 张会光 wrote:
> > This is a typical LVS model.
> 
> Indeed is a LVS. I have an router in front of rs1, rs2, rs3 webservers which 
> is configured as LVS with load balancing.
> 
> > Do not add your httpd script and mount script into source in your
> > cluster.conf
> 
> In redhat howto "Example of Setting Up Apache HTTP Server" they are saying to 
> not start httpd server at boot time and leave the cluster to do that! Thats 
> why i added http_service in my cluster.conf.

It's a different use case than what you want.  The one in the
documentation you were reading is referring to failover of a single
instance of httpd, not running httpd on 3 nodes at the same time.

* put your gfs2 volumes in /etc/fstab
* turn on httpd

-- Lon





More information about the Linux-cluster mailing list