Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple servers sharing NFS httpd.conf file?

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  HTML Tidy not changing the charset attribute  
Author Message
goodieboy

External


Since: Jul 13, 2007
Posts: 1



(Msg. 1) Posted: Thu Jul 12, 2007 9:56 pm
Post subject: Multiple servers sharing NFS httpd.conf file?
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Multiple servers sharing NFS httpd.conf file? 
Back to top
Login to vote
Jim Hayter

External


Since: Feb 07, 2005
Posts: 98



(Msg. 2) Posted: Fri Jul 13, 2007 12:13 pm
Post subject: Re: Multiple servers sharing NFS httpd.conf file? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

 >> Stay informed about: Multiple servers sharing NFS httpd.conf file? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]