[prev in list] [next in list] [prev in thread] [next in thread] 

List:       backhand-users
Subject:    Re: [m_b_users] Multiple apache servers on one machine?
From:       Theo Schlossnagle <jesus () omniti ! com>
Date:       2002-07-31 18:02:19
[Download RAW message or body]

Mark A. Garcia wrote:

>Greetings,
>
>I'm working with 4.6-RELEASE fbsd and have setup an interface with 3
>additional ip's:
>
>        inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
>        inet 10.10.10.2 netmask 0xffffffff broadcast 10.10.10.2
>        inet 10.10.10.3 netmask 0xffffffff broadcast 10.10.10.3
>        inet 10.10.10.4 netmask 0xffffffff broadcast 10.10.10.4
>
>I would like to run three backhand enabled apache servers that each are
>listening to one IP.  I have 3 seperate server roots:
>  
>
Without code modification, this simply won't work.

mod_backhand is designed to balance between Apache instances based on 
the resource information that instance has to use.  If you run three 
instances on the same machine, they are all advertising overlapping 
resources -- which doesn't make much sense in this model.

The implementation binds to a specific UDP port.  As this port needs to 
be the same, the bind will fail on all subsequent Apache instaces that 
are started.

There were plans to separate the resource discovery and distribution 
mechanism from the rest of themod_backhand code base (as they could well 
be useful for other applications).  If this were done, you could run one 
resource daemon and three backhand instances on the same machine.  This 
would solve the "can I" part of the problem -- but the "should I" part 
still remains :-)

Why do you want to run three separate instances on the same machine and 
"balance" them with mod_backhand.  They are inherrently balanced as they 
all use a single shared set of resources.

-- 
Theo Schlossnagle
Principal Consultant
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone:  +1 301 776 6376       Fax:  +1 410 880 4879
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7





_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic