Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: mod_backhand: users

New to backhand

 

 

mod_backhand users RSS feed   Index | Next | Previous | View Threaded


mike at vpi

Apr 11, 2002, 4:41 PM

Post #1 of 5 (729 views)
Permalink
New to backhand

Hi,
I am looking for a load balancing solution, However I am looking to
balance the load for the entire website rather then just a directory
ex: cgi-bin Is mod backhand the solution? I already loaded the mod on
one server but only want to run it on 2 servers rather then 10 or more.

My other question is how would I configure it for just 2 servers using
the following example. Assuming that my broadcast IP is 10.0.0.10 and my
other server is 10.0.0.11

Is the following a valid config?


<IfModule mod_backhand.c>
# This directorty must be readable and writable by euid of apache
(nobody) # The mod_backhand-Arriba and the AF_UNIX domain files are
stored in here.
UnixSocketDir /var/backhand/backhand
# This would be the way to do ethernet broadcast
# MulticastStats 128.220.221.255:4445
# but we choose to use the following IP multicast address with a TTL
of 1
MulticastStats 10.0.0.10:4445,1
# We want to accept resource information originating from any IP on
our
# network.
AcceptStats 10.0.0.11
</IfModule>

Thanks in advance

Mike


case at twd

Apr 11, 2002, 11:49 PM

Post #2 of 5 (692 views)
Permalink
New to backhand [In reply to]

Mike,

Welcome! I'll save the configuration questions for someone else
since I'm fairly new to backhand and don't want to steer you
wrong.

The only trouble you may run into with backhand with only two
servers is that it seems designed to handle larger pools. Using
some of the standard candidacy funtions (such as byBusyChildren
or byLoad) on only two machines can cause some problems if you
don't tweak things correctly.

Since you only have two choices, the problem I had was that
all requests were either going to one machine or the other
at any given time. I'd see one machine with 50 busy clients
and the other with 10, then it would flip flop.

Backhand really starts to work well once you get beyond two
servers, so you can eliminate some of them from the pool
using byLogWindow. You can also tweak the settings a bit
to keep requests on the local machine more often than
forwarding them.

If anyone else has any good suggestions on the above scenario,
I'd love to hear them as well. Maybe there is a much smoother
way to implement across only two servers, but I really have
not found it yet.

If you know for sure that you will always only need to balance
your entire server, you might look at something like LVS
(www.linuxvirtualserver.org). You can get higher throughput
using a method like LVS, but you don't have the fine control
that you do with backhand.

Personally, I prefer backhand since it's easier to administer
and I can really fine tune what I want balanced and how. Plus
you don't have to deal with kernel patches or modules.

Jeremy

-----Original Message-----
From: backhand-users-admin [at] lists
[mailto:backhand-users-admin [at] lists]On Behalf Of Mike
Jimenez
Sent: Thursday, April 11, 2002 4:41 PM
To: backhand-users [at] lists
Subject: [m_b_users] New to backhand


Hi,
I am looking for a load balancing solution, However I am looking to
balance the load for the entire website rather then just a directory
ex: cgi-bin Is mod backhand the solution? I already loaded the mod on
one server but only want to run it on 2 servers rather then 10 or more.

My other question is how would I configure it for just 2 servers using
the following example. Assuming that my broadcast IP is 10.0.0.10 and my
other server is 10.0.0.11
Mike


mike at vpi

Apr 12, 2002, 9:03 AM

Post #3 of 5 (702 views)
Permalink
New to backhand [In reply to]

Jeremy,
Thanks for the info, If there is anyone out there that can help with
providing a solution for 2 server configuration with backhand please let
me know.
Thanks
Mike


-----Original Message-----
From: backhand-users-admin [at] lists
[mailto:backhand-users-admin [at] lists] On Behalf Of Jeremy
Rusnak
Sent: Thursday, April 11, 2002 11:50 PM
To: backhand-users [at] lists
Subject: RE: [m_b_users] New to backhand


Mike,

Welcome! I'll save the configuration questions for someone else since
I'm fairly new to backhand and don't want to steer you wrong.

The only trouble you may run into with backhand with only two servers is
that it seems designed to handle larger pools. Using some of the
standard candidacy funtions (such as byBusyChildren or byLoad) on only
two machines can cause some problems if you don't tweak things
correctly.

Since you only have two choices, the problem I had was that
all requests were either going to one machine or the other
at any given time. I'd see one machine with 50 busy clients and the
other with 10, then it would flip flop.

Backhand really starts to work well once you get beyond two servers, so
you can eliminate some of them from the pool using byLogWindow. You can
also tweak the settings a bit to keep requests on the local machine more
often than forwarding them.

If anyone else has any good suggestions on the above scenario, I'd love
to hear them as well. Maybe there is a much smoother way to implement
across only two servers, but I really have not found it yet.

If you know for sure that you will always only need to balance your
entire server, you might look at something like LVS
(www.linuxvirtualserver.org). You can get higher throughput using a
method like LVS, but you don't have the fine control that you do with
backhand.

Personally, I prefer backhand since it's easier to administer and I can
really fine tune what I want balanced and how. Plus you don't have to
deal with kernel patches or modules.

Jeremy

-----Original Message-----
From: backhand-users-admin [at] lists
[mailto:backhand-users-admin [at] lists]On Behalf Of Mike
Jimenez
Sent: Thursday, April 11, 2002 4:41 PM
To: backhand-users [at] lists
Subject: [m_b_users] New to backhand


Hi,
I am looking for a load balancing solution, However I am looking to
balance the load for the entire website rather then just a directory
ex: cgi-bin Is mod backhand the solution? I already loaded the mod on
one server but only want to run it on 2 servers rather then 10 or more.

My other question is how would I configure it for just 2 servers using
the following example. Assuming that my broadcast IP is 10.0.0.10 and my
other server is 10.0.0.11 Mike


_______________________________________________
backhand-users mailing list
backhand-users [at] lists
http://lists.backhand.org/mailman/listinfo/backhand-users


jesus at omniti

Apr 12, 2002, 9:05 AM

Post #4 of 5 (718 views)
Permalink
New to backhand [In reply to]

Mike Jimenez wrote:

>Thanks for the info, If there is anyone out there that can help with
>providing a solution for 2 server configuration with backhand please let
>me know.
>
byRandom should work just fine if the machines are homogeneous.

--
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


mike at vpi

Apr 12, 2002, 9:10 AM

Post #5 of 5 (714 views)
Permalink
New to backhand [In reply to]

Theo,
I really do appreciate the info however I am really new to backhand and
I am not sure I understand what you mean. Can you please explain in a
little more detail.
Thanks
Mike



-----Original Message-----
From: backhand-users-admin [at] lists
[mailto:backhand-users-admin [at] lists] On Behalf Of Theo
Schlossnagle
Sent: Friday, April 12, 2002 9:06 AM
To: backhand-users [at] lists
Subject: Re: [m_b_users] New to backhand


Mike Jimenez wrote:

>Thanks for the info, If there is anyone out there that can help with
>providing a solution for 2 server configuration with backhand please
>let me know.
>
byRandom should work just fine if the machines are homogeneous.

--
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 [at] lists
http://lists.backhand.org/mailman/listinfo/backhand-users

mod_backhand users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.