Mailing List Archive

FILE-TYPE TROUBLES
I've just set up backhand on my Red Hat (7.2) servers, and everything
appears to be working fine, except that when I specify an 'HTML' file
(as opposed to a file name without a 'type specifier' -- "go" vs.
"go.html"), the system doesn't roll over to the next server (using
'proxy'); instead, it loads the default page on the first (main) server. I
have my installation "patched" into Apache (rather than compiled into
Apache). Could this an Apache problem? Any suggestions? Thanx.

-Moe

P.S. Here's an excerpt from my 'httpd.conf' file:

<Directory>

<Files ~ "(\.html)$">

Backhand byLoad
Backhand byRandom
Backhand byAge 2

</files>

</Directory>

MulticastStats 192.168.1.255:4445,1
AcceptStats 192.168.1.0/16

BackhandLogLevel +netall
BackhandLogLevel +mbcsall
BackhandLogLevel +dcsnall

<Location "/backhand/">

SetHandler backhand-handler

</Location>

</IfModule>
FILE-TYPE TROUBLES [ In reply to ]
On Tuesday, July 2, 2002, at 07:12 PM, Moe wrote:
> <Files ~ "(\.html)$">
>
> Backhand byLoad
> Backhand byRandom

byLoad and then byRandom is a waste of time. The both completely
reorder the set of servers. The second will all always order the set
the way it likes completely nulliying the actions of the first
statement. So, chose byRandom, or byLoad, but not both.

> Backhand byAge 2

byAge should go first... so as to reduce the set size before you order
byLoad or byRandom. Why? Becuase byLoad and byRandom are both O(n lg
n) running time and byAge is O(n). If you can reduce the set size by
running byAge first, then byLoad and byRandom will run much faster. Not
that it will make all that much difference, but I am anal :-)

> </files>

It looks okay to me. you should be getting lots of stuff printed to the
error log with the BackhandLogLevel's you have chosen. Perhaps you can
glean some more information from that. Can you see all the potential
servers when visiting /backhand/?


--
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
FILE-TYPE TROUBLES [ In reply to ]
Thank you both, Daniel, and Theo -- this sheds some light on things, and
I'll try the recommended changes in my configurations.

-Moe


On Tue, 2 Jul 2002, Theo Schlossnagle wrote:

>
> On Tuesday, July 2, 2002, at 07:12 PM, Moe wrote:
> > <Files ~ "(\.html)$">
> >
> > Backhand byLoad
> > Backhand byRandom
>
> byLoad and then byRandom is a waste of time. The both completely
> reorder the set of servers. The second will all always order the set
> the way it likes completely nulliying the actions of the first
> statement. So, chose byRandom, or byLoad, but not both.
>
> > Backhand byAge 2
>
> byAge should go first... so as to reduce the set size before you order
> byLoad or byRandom. Why? Becuase byLoad and byRandom are both O(n lg
> n) running time and byAge is O(n). If you can reduce the set size by
> running byAge first, then byLoad and byRandom will run much faster. Not
> that it will make all that much difference, but I am anal :-)
>
> > </files>
>
> It looks okay to me. you should be getting lots of stuff printed to the
> error log with the BackhandLogLevel's you have chosen. Perhaps you can
> glean some more information from that. Can you see all the potential
> servers when visiting /backhand/?
>
>
> --
> 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
>
FILE-TYPE TROUBLES [ In reply to ]
Hello,

I have a couple of very simple questions that I could not find the answer
to. Please excuse my ignorance.

Using backhand, if I have say four servers that I want to share the load.

Will the servers appear to browsers as

www.mydomain.com
www1.mydomain.com
www2.mydomain.com
www3.mydomain.com

or something similar or will the end user always just see www.mydomain.com
? These will be ssl transactions and I don't want to have to add another
cert with each new server added.

Thank You


----- Original Message -----
From: "Moe" <moe@cahuenga.com>
To: <backhand-users@lists.backhand.org>
Sent: Wednesday, July 03, 2002 2:43 PM
Subject: Re: [m_b_users] FILE-TYPE TROUBLES


> Thank you both, Daniel, and Theo -- this sheds some light on things, and
> I'll try the recommended changes in my configurations.
>
> -Moe
>
>
> On Tue, 2 Jul 2002, Theo Schlossnagle wrote:
>
> >
> > On Tuesday, July 2, 2002, at 07:12 PM, Moe wrote:
> > > <Files ~ "(\.html)$">
> > >
> > > Backhand byLoad
> > > Backhand byRandom
> >
> > byLoad and then byRandom is a waste of time. The both completely
> > reorder the set of servers. The second will all always order the set
> > the way it likes completely nulliying the actions of the first
> > statement. So, chose byRandom, or byLoad, but not both.
> >
> > > Backhand byAge 2
> >
> > byAge should go first... so as to reduce the set size before you order
> > byLoad or byRandom. Why? Becuase byLoad and byRandom are both O(n lg
> > n) running time and byAge is O(n). If you can reduce the set size by
> > running byAge first, then byLoad and byRandom will run much faster. Not
> > that it will make all that much difference, but I am anal :-)
> >
> > > </files>
> >
> > It looks okay to me. you should be getting lots of stuff printed to the
> > error log with the BackhandLogLevel's you have chosen. Perhaps you can
> > glean some more information from that. Can you see all the potential
> > servers when visiting /backhand/?
> >
> >
> > --
> > 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
> >
>
>
>
> _______________________________________________
> backhand-users mailing list
> backhand-users@lists.backhand.org
> http://lists.backhand.org/mailman/listinfo/backhand-users
>
FILE-TYPE TROUBLES [ In reply to ]
Alan Homewood ( 2Checkout.com ) wrote:

>Hello,
>
>I have a couple of very simple questions that I could not find the answer
>to. Please excuse my ignorance.
>
>Using backhand, if I have say four servers that I want to share the load.
>
>Will the servers appear to browsers as
>
>www.mydomain.com
>www1.mydomain.com
>www2.mydomain.com
>www3.mydomain.com
>
>or something similar or will the end user always just see www.mydomain.com
>? These will be ssl transactions and I don't want to have to add another
>cert with each new server added.
>
>
As long as you don't have HTTPRedirectByName in your candidacy function
list you will only see www.domain.com.

mod_backhand, by default, uses TCP/IP proxying, so it is completely
transparent to the end user. one CERT.. one name.

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