Piranha-list Digest, Vol 41, Issue 1
R R
za.it.services at gmail.com
Tue Nov 3 19:15:53 UTC 2009
Try adding:
*send* = "GET / HTTP/1.0\r\n\r\n"
before
expect = "HTTP"
--
Z
On Tue, Nov 3, 2009 at 7:00 PM, <piranha-list-request at redhat.com> wrote:
> Send Piranha-list mailing list submissions to
> piranha-list at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.redhat.com/mailman/listinfo/piranha-list
> or, via email, send a message with subject or body 'help' to
> piranha-list-request at redhat.com
>
> You can reach the person managing the list at
> piranha-list-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Piranha-list digest..."
>
> Today's Topics:
>
> 1. nanny "Read Timed Out" Errors (mojorising)
> 2. Re: nanny "Read Timed Out" Errors (Tapan Thapa)
> 3. Re: nanny "Read Timed Out" Errors (Fernando A. P. Gomes)
>
>
> ---------- Forwarded message ----------
> From: mojorising <moj0rising at aim.com>
> To: piranha-list at redhat.com
> Date: Mon, 2 Nov 2009 16:39:59 -0800
> Subject: nanny "Read Timed Out" Errors
> Hello!
>
> I have set up a test load balancer with IPVS and Piranha-GUI. For some
> reason, when I attempt to connect to one of the two web servers I have
> set-up via the load balancer's virtual IP, the load balancer does not
> seem to pass those requests on to the real servers.
>
> The firewall on the Piranha box is off and I can successfully
> establish HTTP sessions with netcat and telnet from the Piranha box as
> well as from my workstation. So the web services are running and
> connectivity to them is good.
>
> The error I'm getting in /var/log/messages is (public IP changed for
> privacy):
>
> Nov 2 14:28:09 omsbuild nanny[13583]: READ to 65.39.169.xxx:80 timed out
> Nov 2 14:28:10 omsbuild nanny[13582]: READ to 192.168.18.29:80 timed out
>
> It looks like nanny can't talk to the web servers but I can't figure
> out why. That may not be the only problem I have here but it's
> probably one of them. All the other services are up and seem to be
> running fine.
>
> I've googled around quite a bit and checked the documentation but I
> haven't found anything in those places that gets me to a solution.
>
> Can anyone out there give me a little push in the right direction as
> to what the problem might be?
>
>
> Thank you!
>
> Mike
>
>
> My lvs.conf file:
>
> serial_no = 76
> primary = 192.168.3.28
> service = lvs
> backup = 0.0.0.0
> heartbeat = 1
> heartbeat_port = 539
> keepalive = 6
> deadtime = 18
> network = direct
> debug_level = NONE
> virtual test1 {
> active = 1
> address = 192.168.0.69 eth0:1
> vip_nmask = 255.255.248.0
> port = 3128
> expect = "HTTP"
> use_regex = 0
> load_monitor = none
> scheduler = lc
> protocol = tcp
> timeout = 6
> reentry = 15
> quiesce_server = 0
> server Speedy {
> address = 192.168.18.29
> active = 1
> port = 80
> weight = 1
> }
> server test1 {
> address = 65.39.169.xxx
> active = 1
> port = 80
> weight = 1
> }
>
>
>
>
> ---------- Forwarded message ----------
> From: Tapan Thapa <tapan.thapa2000 at gmail.com>
> To: "Piranha clustering/HA technology" <piranha-list at redhat.com>
> Date: Tue, 3 Nov 2009 08:57:57 +0530
> Subject: Re: nanny "Read Timed Out" Errors
> Hello Mike,
>
> I am not an expert in IPVS but recently i have setup IPVS with the help of
> Piranha and i am quite comfortable with IPVS.
>
> Please let me know your Network diagram and also the output of below
> mentioned command.
>
> ipvsadm -L -n
>
> ----------------------------------------
> I think your network diagram should be---
>
> Linux Director ----(One NIC)--->First Real Server (One NIC)
> --->Second Real Server (One NIC)
> ----------------------------------------------
>
> Your Linux Director and Your real server should be on the same network
> segment. Please also post your Linux Director's (Where you have installed
> Piranha) Network cards ip information.
>
>
> Regards
> Tapan Thapa
> India
>
> On Tue, Nov 3, 2009 at 6:09 AM, mojorising <moj0rising at aim.com> wrote:
>
>> Hello!
>>
>> I have set up a test load balancer with IPVS and Piranha-GUI. For some
>> reason, when I attempt to connect to one of the two web servers I have
>> set-up via the load balancer's virtual IP, the load balancer does not
>> seem to pass those requests on to the real servers.
>>
>> The firewall on the Piranha box is off and I can successfully
>> establish HTTP sessions with netcat and telnet from the Piranha box as
>> well as from my workstation. So the web services are running and
>> connectivity to them is good.
>>
>> The error I'm getting in /var/log/messages is (public IP changed for
>> privacy):
>>
>> Nov 2 14:28:09 omsbuild nanny[13583]: READ to 65.39.169.xxx:80 timed out
>> Nov 2 14:28:10 omsbuild nanny[13582]: READ to 192.168.18.29:80 timed out
>>
>> It looks like nanny can't talk to the web servers but I can't figure
>> out why. That may not be the only problem I have here but it's
>> probably one of them. All the other services are up and seem to be
>> running fine.
>>
>> I've googled around quite a bit and checked the documentation but I
>> haven't found anything in those places that gets me to a solution.
>>
>> Can anyone out there give me a little push in the right direction as
>> to what the problem might be?
>>
>>
>> Thank you!
>>
>> Mike
>>
>>
>> My lvs.conf file:
>>
>> serial_no = 76
>> primary = 192.168.3.28
>> service = lvs
>> backup = 0.0.0.0
>> heartbeat = 1
>> heartbeat_port = 539
>> keepalive = 6
>> deadtime = 18
>> network = direct
>> debug_level = NONE
>> virtual test1 {
>> active = 1
>> address = 192.168.0.69 eth0:1
>> vip_nmask = 255.255.248.0
>> port = 3128
>> expect = "HTTP"
>> use_regex = 0
>> load_monitor = none
>> scheduler = lc
>> protocol = tcp
>> timeout = 6
>> reentry = 15
>> quiesce_server = 0
>> server Speedy {
>> address = 192.168.18.29
>> active = 1
>> port = 80
>> weight = 1
>> }
>> server test1 {
>> address = 65.39.169.xxx
>> active = 1
>> port = 80
>> weight = 1
>> }
>>
>> _______________________________________________
>> Piranha-list mailing list
>> Piranha-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/piranha-list
>>
>
>
>
> ---------- Forwarded message ----------
> From: "Fernando A. P. Gomes" <fapg at eurotux.com>
> To: piranha-list at redhat.com
> Date: Tue, 3 Nov 2009 10:58:10 +0000
> Subject: Re: nanny "Read Timed Out" Errors
> Can you send your configuration?
>
> Regards,
> Fernando Gomes
>
> On Tuesday 03 November 2009, mojorising wrote:
> > Hello!
> >
> > I have set up a test load balancer with IPVS and Piranha-GUI. For some
> > reason, when I attempt to connect to one of the two web servers I have
> > set-up via the load balancer's virtual IP, the load balancer does not
> > seem to pass those requests on to the real servers.
> >
> > The firewall on the Piranha box is off and I can successfully
> > establish HTTP sessions with netcat and telnet from the Piranha box as
> > well as from my workstation. So the web services are running and
> > connectivity to them is good.
> >
> > The error I'm getting in /var/log/messages is (public IP changed for
> > privacy):
> >
> > Nov 2 14:28:09 omsbuild nanny[13583]: READ to 65.39.169.xxx:80 timed out
> > Nov 2 14:28:10 omsbuild nanny[13582]: READ to 192.168.18.29:80 timed
> out
> >
> > It looks like nanny can't talk to the web servers but I can't figure
> > out why. That may not be the only problem I have here but it's
> > probably one of them. All the other services are up and seem to be
> > running fine.
> >
> > I've googled around quite a bit and checked the documentation but I
> > haven't found anything in those places that gets me to a solution.
> >
> > Can anyone out there give me a little push in the right direction as
> > to what the problem might be?
> >
> >
> > Thank you!
> >
> > Mike
> >
> >
> > My lvs.conf file:
> >
> > serial_no = 76
> > primary = 192.168.3.28
> > service = lvs
> > backup = 0.0.0.0
> > heartbeat = 1
> > heartbeat_port = 539
> > keepalive = 6
> > deadtime = 18
> > network = direct
> > debug_level = NONE
> > virtual test1 {
> > active = 1
> > address = 192.168.0.69 eth0:1
> > vip_nmask = 255.255.248.0
> > port = 3128
> > expect = "HTTP"
> > use_regex = 0
> > load_monitor = none
> > scheduler = lc
> > protocol = tcp
> > timeout = 6
> > reentry = 15
> > quiesce_server = 0
> > server Speedy {
> > address = 192.168.18.29
> > active = 1
> > port = 80
> > weight = 1
> > }
> > server test1 {
> > address = 65.39.169.xxx
> > active = 1
> > port = 80
> > weight = 1
> > }
> >
> > _______________________________________________
> > Piranha-list mailing list
> > Piranha-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/piranha-list
> >
> --
> Fernando Alexandre Peixoto Gomes <fapg at eurotux.com>
> Microsoft Certified Systems Engineer
> Eurotux Informática, S.A. [http://eurotux.com]
> Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL
> Tel: (+351) 253 257395 - Fax: (+351) 253 257396
>
> _______________________________________________
> Piranha-list mailing list
> Piranha-list at redhat.com
> https://www.redhat.com/mailman/listinfo/piranha-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/piranha-list/attachments/20091103/61b55ad5/attachment.htm>
More information about the Piranha-list
mailing list