Re: Hardware Based Apache Cluster - help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jul 12, 2007, at 5:49 PM, Matt M. wrote:

Hi,

I've got a small cluster (5) of Apache servers. I've got lots of questions about this but I'll just start with one for now! :)

It's a hardware balancer.

I'm wondering if I can sym link each Apache "conf" directory to the shared NFS mount:

Sure! Make sure that you put the server-specific files on a local mount, like PidFile, ErrorLog etc., and any lock/mutex file. NFS doesn't do well for those because of locking problems.

It would allow me to have one set of config files for easier maintenance. I've tried sharing the conf/httpd.conf file and it seems to work fine. I was curious about the ServerName though, should it be the server name of the balancer, or the actual name of the node?

That should be the hostname of the web site you're serving. In any case, with the default setting of UseCanonicalName (Off in 2.2), it doesn't really matter because Apache will use the Host: header from the client as input.

S.

--
Sander Temme
sctemme@xxxxxxxxxx
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux