Multiple servers sharing NFS httpd.conf file?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Multiple servers sharing NFS httpd.conf file?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Multiple servers sharing NFS httpd.conf file?  
goodieboy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-13-07 06:24 AM

Hi,

I've got a server setup with a hardware balancer. There are 5 nodes
and a common/shared nfs mount. I've sym linked each nodes apache
"conf" directory to the shared NFS mount. I'm just trying to keep
maintenance down. Does this sound OK to do? If so, how do I set the
ServerName for each node, or do I need to even do that?

Thanks!

Matt






[ Post a follow-up to this message ]



    Re: Multiple servers sharing NFS httpd.conf file?  
Jim Hayter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-13-07 06:23 PM

goodieboy wrote:
> Hi,
>
> I've got a server setup with a hardware balancer. There are 5 nodes
> and a common/shared nfs mount. I've sym linked each nodes apache
> "conf" directory to the shared NFS mount. I'm just trying to keep
> maintenance down. Does this sound OK to do? If so, how do I set the
> ServerName for each node, or do I need to even do that?
>

I have a similar situation and decided to NOT symlink all my web servers
to an NFS config directory.
1) If my NFS server is down for maintenance, I can still use files in
the local config directory for my "down for maintenance" web server config.
2) This allows me to use the same source for my production systems and
development systems and still play with the config on the dev box
without affecting production.
3) I keep my config source files on an NFS volume under SCCS.  I use
designated tokens in the config for values that change for each server.
I use a script to load a NFS directory with the current files under
SCCS and use another script that copies those files to the local apache
config directory and replaces the tokens with appropriate values (e.g.,
hostname, IP addresses).  This script is on the NFS volume and symlinked
from my apache top level directory.

HTH,
Jim





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register