LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Real server monitoring

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Real server monitoring
From: Diego Bello <dbello@xxxxxxxxx>
Date: Mon, 9 Aug 2010 15:20:16 -0400
On Mon, Aug 9, 2010 at 2:10 PM, Anoop Bhat <ABhat@xxxxxxxxxxxxx> wrote:

> Hi,
>
> We use centos here and for HA, we get piranha which I know is more
> difficult to support/get help for on this list but I'm hoping that someone
> can help me figure out why (only recently) we're seeing real servers go
> inactive from the LVS perspective.
>
> The real servers are all tomcat6 and running services that we use on 8080
> HTTP.
>
> Our lvs.cf shows
>
>         send = "GET / HTTP/1.0\r\n\r\n"
>         expect = ".*"
>
> Which should result in some sort of response (400 bad request) and it
> usually does.
>
> I'm wondering if we're testing it incorrectly or if there is a better way
> to test it?
>
> These are all VMs in a ESX cluster and we're using LVS-DR instead of NAT or
> TUN.
>
> My understanding is that if it's HTTP, the send/expect above should work
> just fine.
>
> Thanks
>
> Anoop
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>

That should work. You could also try a telnet connection to the web server.

Regards,

-- 
Diego Bello Carreño
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>