Mailing List Archive

Another backhand issue
This is a multi-part message in MIME format.

------=_NextPart_000_004C_01C1D04B.DE8B24B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

Sorry if I am getting a bit annoying =3D)

Now, I have both servers up and running with backhand.


In server1 (the one where the dns for www.foobar.com is) I have this =
configuration:

<Directory "/var/tomcat4/domains/mejorcambio/webapps/ROOT">
AllowOverride None
Options None
Order allow,deny
Allow from all
Backhand byAge
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>


in server2 I have the exact same thing

Is the Idea correct, or should I add anything else?

Thanks a lot!

Gabriel.

------=_NextPart_000_004C_01C1D04B.DE8B24B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sorry if I am getting a bit annoying=20
=3D)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now, I have both servers up and running =
with=20
backhand.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In server1 (the one where the dns for =
<A=20
href=3D"http://www.foobar.com">www.foobar.com</A> is) I have this=20
configuration:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;Directory=20
"/var/tomcat4/domains/mejorcambio/webapps/ROOT"&gt;<BR>&nbsp;&nbsp;&nbsp;=
=20
AllowOverride None<BR>&nbsp;&nbsp;&nbsp; Options =
None<BR>&nbsp;&nbsp;&nbsp;=20
Order allow,deny<BR>&nbsp;&nbsp;&nbsp; Allow from =
all<BR>&nbsp;&nbsp;&nbsp;=20
Backhand byAge<BR>&nbsp;&nbsp;&nbsp; Backhand =
byRandom<BR>&nbsp;&nbsp;&nbsp;=20
Backhand byLogWindow<BR>&nbsp;&nbsp;&nbsp; Backhand=20
byLoad<BR>&lt;/Directory&gt;<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>in server2 I have the exact same =
thing</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is the Idea correct, or should I add =
anything=20
else?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks a lot!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT =
size=3D2>Gabriel.</FONT></DIV></FONT></BODY></HTML>

------=_NextPart_000_004C_01C1D04B.DE8B24B0--
Another backhand issue [ In reply to ]
In server 2 (server2.foobar.com) I have this

0 server2.foobar.com 0 63.69.23x.xxx:443 249 MB 146 MB 3/5 0 [0] 397492 1
0.000/2 0.980
1 server1.foobar.com 0 63.69.23x.xxx:443 375 MB 210 MB 7/10 0 [0] 304879 1
0.290/2 1.000

And in server 1 I have

0 server1.foobar.com 1 63.69.23x.xxx:443 375 MB 212 MB 2/5 0 [0] 304879 1
0.490/2 0.960
1 server2.foobar.com 1 63.69.23x.xxx:443 249 MB 146 MB 6/6 0 [0] 397492 1
0.020/2 1.000


Now, why are they listening in 443, when they should be listening in both
ports?
Should I add the <Directory></Directory> stuff inside the virtualhost
configuration? or even the mod_backhand too?


Thanks

Gabriel Maffia.
----- Original Message -----
From: "Sean Chittenden" <sean@chittenden.org>
To: "Gabriel Maffia" <gmaffia@technisys.net>
Cc: <backhand-users@lists.backhand.org>
Sent: Wednesday, April 17, 2002 8:31 PM
Subject: Re: [m_b_users] Another backhand issue


> > In server1 (the one where the dns for www.foobar.com is) I have this
configuration:
> >
> > <Directory "/var/tomcat4/domains/mejorcambio/webapps/ROOT">
> > AllowOverride None
> > Options None
> > Order allow,deny
> > Allow from all
> > Backhand byAge
> > Backhand byRandom
> > Backhand byLogWindow
> > Backhand byLoad
> > </Directory>
>
> If you've only got two servers, you shouldn't use byLogWindow. Just
> use byAge 3 instead. What does the bachand handler page say (nifty
> stats page)? -sc
>
>
> PS, it sounds like you have the right idea.
>
> --
> Sean Chittenden
Another backhand issue [ In reply to ]
Now I´m having in ms/req[#req] for server1 : 46[22] and 0[0] for
server2....it seems that server2 isn't being sent anything...

I don't know if this is useful in any way

Thanks again =)

Gabriel Maffia.

----- Original Message -----
From: "Sean Chittenden" <sean@chittenden.org>
To: "Gabriel Maffia" <gmaffia@technisys.net>
Cc: <backhand-users@lists.backhand.org>
Sent: Wednesday, April 17, 2002 8:31 PM
Subject: Re: [m_b_users] Another backhand issue


> > In server1 (the one where the dns for www.foobar.com is) I have this
configuration:
> >
> > <Directory "/var/tomcat4/domains/mejorcambio/webapps/ROOT">
> > AllowOverride None
> > Options None
> > Order allow,deny
> > Allow from all
> > Backhand byAge
> > Backhand byRandom
> > Backhand byLogWindow
> > Backhand byLoad
> > </Directory>
>
> If you've only got two servers, you shouldn't use byLogWindow. Just
> use byAge 3 instead. What does the bachand handler page say (nifty
> stats page)? -sc
>
>
> PS, it sounds like you have the right idea.
>
> --
> Sean Chittenden
Another backhand issue [ In reply to ]
> In server1 (the one where the dns for www.foobar.com is) I have this configuration:
>
> <Directory "/var/tomcat4/domains/mejorcambio/webapps/ROOT">
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> Backhand byAge
> Backhand byRandom
> Backhand byLogWindow
> Backhand byLoad
> </Directory>

If you've only got two servers, you shouldn't use byLogWindow. Just
use byAge 3 instead. What does the bachand handler page say (nifty
stats page)? -sc


PS, it sounds like you have the right idea.

--
Sean Chittenden
Another backhand issue [ In reply to ]
> Now I´m having in ms/req[#req] for server1 : 46[22] and 0[0] for
> server2....it seems that server2 isn't being sent anything...
>
> I don't know if this is useful in any way

I think your diagnosis is dead on the money: server1 is getting all of
the traffic. Didn't you say that server1 had www.foobar.com pointed
to it? This'll only work if both server1 and server2 have
www.foobar.com pointed to them (unless you want server1 to do all of
the backhanding: akin to a reverse proxy).

Requests/sec = number of backhanded requests, not necessarily the
number of requests served. -sc

--
Sean Chittenden