Mutiple tests for the same webpage but on diferent hosts (cluster) with bbgen
Hi,
We have a cluster (3 machines) working in a cluster environment. I can access the http server of every machine directly, but normally al requests come trougth a VIP (load balancer). For information, the tree machines use named virtual hosting of sites.
What I need to do is, have the same site (let say www.somesite.com) tested on the tree distinct machines.
My install is Redhat based with BB 1.9e + bbgen version 2.15
Reading the bb-hosts man page I have added the following to bb-hosts, but the result is not as expected.
10.10.0.200 member1-www2.somesite.com # NAME:"10.10.0.200" http://www2.somesite.com=10.10.0.200/test.htm 10.10.0.201 member2-www2.somesite.com # NAME:"10.10.0.201" http://www2.somesite.com=10.10.0.201/test.htm 10.10.0.202 member3-www2.somesite.com # NAME:"10.10.0.202" http://www2.somesite.com=10.10.0.202/test.htm
The result (seen on tcpdump'ing the http connections) is that BB+bbgen test 3 times the first of these tree hosts (10.10.0.200)
Can someone point me out what I'm doing wrong?
I would that the web test where done against every one of these tree servers, always using the "Host" tag on the HTTP request as "www2.somesite.com"
Thanks in advance for any help.
Regards
Werner
On Fri, Apr 01, 2005 at 07:29:30PM -0300, Werner Michels (Ext Lists) wrote:
My install is Redhat based with BB 1.9e + bbgen version 2.15
That's a fairly ancient version of bbgen. I would of course suggest an upgrade.
10.10.0.200 member1-www2.somesite.com # NAME:"10.10.0.200" http://www2.somesite.com=10.10.0.200/test.htm 10.10.0.201 member2-www2.somesite.com # NAME:"10.10.0.201" http://www2.somesite.com=10.10.0.201/test.htm 10.10.0.202 member3-www2.somesite.com # NAME:"10.10.0.202" http://www2.somesite.com=10.10.0.202/test.htm
The result (seen on tcpdump'ing the http connections) is that BB+bbgen test 3 times the first of these tree hosts (10.10.0.200)
Yep, it's a bug. The attached patch should fix it. (Note to the Hobbit users: This is not relevant for you).
Henrik
Henrik, The patch worked fine. Thank you.
I know that we should upgrade, but... I did try, but I had too much trouble (mostly with the HTTP test's) so I made a rollback. Our next move will be direct to hobbit, but it's not defined exactly when, because we have some (not so few) customizations on the standard BB / bbgen installation.
Any way, thank you for the nice work.
Regards
Werner
On Sat, 2 Apr 2005 09:34:36 +0200 Henrik Stoerner <henrik at hswn.dk> wrote:
On Fri, Apr 01, 2005 at 07:29:30PM -0300, Werner Michels (Ext Lists) wrote:
My install is Redhat based with BB 1.9e + bbgen version 2.15
That's a fairly ancient version of bbgen. I would of course suggest an upgrade.
10.10.0.200 member1-www2.somesite.com # NAME:"10.10.0.200" http://www2.somesite.com=10.10.0.200/test.htm 10.10.0.201 member2-www2.somesite.com # NAME:"10.10.0.201" http://www2.somesite.com=10.10.0.201/test.htm 10.10.0.202 member3-www2.somesite.com # NAME:"10.10.0.202" http://www2.somesite.com=10.10.0.202/test.htm
The result (seen on tcpdump'ing the http connections) is that BB+bbgen test 3 times the first of these tree hosts (10.10.0.200)Yep, it's a bug. The attached patch should fix it. (Note to the Hobbit users: This is not relevant for you).
Henrik
E-mail classificado pelo Identificador de Spam Inteligente Terra. Para alterar a categoria classificada, visite http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=wmlistas&_l=1,1...
participants (3)
-
henrik@hswn.dk
-
wmlist_ext@terra.com.br
-
wmlistas@terra.com.br