Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] Real Server not removed from pool

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


andremag at gmail

Nov 25, 2011, 10:28 PM

Post #1 of 5 (393 views)
Permalink
[lvs-users] Real Server not removed from pool

Hi,
I am using DR and using an external program to check whether a server is
alive or not:

send_program = "/root/chknanny.sh %h"
expect = "SERVER_OK"
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 10
reentry = 10

This is the chknanny.sh script:
lynx -dump "http://$1/TestServer.ashx"

Which should return SERVER_OK . If it does not or it times out the server
should be removed from the pool.

I'm having a situation where lynx does not return SERVER_OK but the timeout
value of 10 seems to have no effect. The server still remains in the
server pool which is stranges cause messages log file report this:
Nov 26 01:34:13 dell-LB1 nanny[2753]: Ran the external sending program to (
10.0.1.108:80) but didn't get anything back

Any ideas?

Many thanks!
Andre
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

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


roger at rlmedia

Nov 27, 2011, 1:54 PM

Post #2 of 5 (375 views)
Permalink
Re: [lvs-users] Real Server not removed from pool [In reply to]

Hi Andre,

It sounds like you are using Piranha to manage LVS.

I have seen exactly the same issue when using Piranha on Centos 6 and did not manage to find a workaround for it.

It might be worth filing a bug report at http://www.centos.org/

Roger.

On 26/11/2011, at 7:28 PM, Andre Magri wrote:

> Hi,
> I am using DR and using an external program to check whether a server is
> alive or not:
>
> send_program = "/root/chknanny.sh %h"
> expect = "SERVER_OK"
> load_monitor = none
> scheduler = wlc
> protocol = tcp
> timeout = 10
> reentry = 10
>
> This is the chknanny.sh script:
> lynx -dump "http://$1/TestServer.ashx"
>
> Which should return SERVER_OK . If it does not or it times out the server
> should be removed from the pool.
>
> I'm having a situation where lynx does not return SERVER_OK but the timeout
> value of 10 seems to have no effect. The server still remains in the
> server pool which is stranges cause messages log file report this:
> Nov 26 01:34:13 dell-LB1 nanny[2753]: Ran the external sending program to (
> 10.0.1.108:80) but didn't get anything back
>
> Any ideas?
>
> Many thanks!
> Andre
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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

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


andremag at gmail

Nov 28, 2011, 3:57 AM

Post #3 of 5 (362 views)
Permalink
Re: [lvs-users] Real Server not removed from pool [In reply to]

Hi Roger,
I used Piranha for the initial configuration but didn't use it much after
that.

I'll file a bug report.

Thank you,
Andre


On 27 November 2011 22:54, Roger Littin <roger [at] rlmedia> wrote:

> Hi Andre,
>
> It sounds like you are using Piranha to manage LVS.
>
> I have seen exactly the same issue when using Piranha on Centos 6 and did
> not manage to find a workaround for it.
>
> It might be worth filing a bug report at http://www.centos.org/
>
> Roger.
>
> On 26/11/2011, at 7:28 PM, Andre Magri wrote:
>
> > Hi,
> > I am using DR and using an external program to check whether a server is
> > alive or not:
> >
> > send_program = "/root/chknanny.sh %h"
> > expect = "SERVER_OK"
> > load_monitor = none
> > scheduler = wlc
> > protocol = tcp
> > timeout = 10
> > reentry = 10
> >
> > This is the chknanny.sh script:
> > lynx -dump "http://$1/TestServer.ashx"
> >
> > Which should return SERVER_OK . If it does not or it times out the server
> > should be removed from the pool.
> >
> > I'm having a situation where lynx does not return SERVER_OK but the
> timeout
> > value of 10 seems to have no effect. The server still remains in the
> > server pool which is stranges cause messages log file report this:
> > Nov 26 01:34:13 dell-LB1 nanny[2753]: Ran the external sending program
> to (
> > 10.0.1.108:80) but didn't get anything back
> >
> > Any ideas?
> >
> > Many thanks!
> > Andre
> > _______________________________________________
> > Please read the documentation before posting - it's available at:
> > http://www.linuxvirtualserver.org/
> >
> > LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> > Send requests to lvs-users-request [at] LinuxVirtualServer
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

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


roger at rlmedia

Nov 28, 2011, 2:12 PM

Post #4 of 5 (361 views)
Permalink
Re: [lvs-users] Real Server not removed from pool [In reply to]

Hi Andre,

Nanny & Pulse are all part of the Piranha package.

It looks like nanny is not doing it's job correctly.

Roger.

On 29/11/2011, at 12:57 AM, Andre Magri wrote:

> Hi Roger,
> I used Piranha for the initial configuration but didn't use it much after
> that.
>
> I'll file a bug report.
>
> Thank you,
> Andre
>
>
> On 27 November 2011 22:54, Roger Littin <roger [at] rlmedia> wrote:
>
>> Hi Andre,
>>
>> It sounds like you are using Piranha to manage LVS.
>>
>> I have seen exactly the same issue when using Piranha on Centos 6 and did
>> not manage to find a workaround for it.
>>
>> It might be worth filing a bug report at http://www.centos.org/
>>
>> Roger.
>>
>> On 26/11/2011, at 7:28 PM, Andre Magri wrote:
>>
>>> Hi,
>>> I am using DR and using an external program to check whether a server is
>>> alive or not:
>>>
>>> send_program = "/root/chknanny.sh %h"
>>> expect = "SERVER_OK"
>>> load_monitor = none
>>> scheduler = wlc
>>> protocol = tcp
>>> timeout = 10
>>> reentry = 10
>>>
>>> This is the chknanny.sh script:
>>> lynx -dump "http://$1/TestServer.ashx"
>>>
>>> Which should return SERVER_OK . If it does not or it times out the server
>>> should be removed from the pool.
>>>
>>> I'm having a situation where lynx does not return SERVER_OK but the
>> timeout
>>> value of 10 seems to have no effect. The server still remains in the
>>> server pool which is stranges cause messages log file report this:
>>> Nov 26 01:34:13 dell-LB1 nanny[2753]: Ran the external sending program
>> to (
>>> 10.0.1.108:80) but didn't get anything back
>>>
>>> Any ideas?
>>>
>>> Many thanks!
>>> Andre
>>> _______________________________________________
>>> Please read the documentation before posting - it's available at:
>>> http://www.linuxvirtualserver.org/
>>>
>>> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
>>> Send requests to lvs-users-request [at] LinuxVirtualServer
>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>>
>> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
>> Send requests to lvs-users-request [at] LinuxVirtualServer
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users


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

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


andremag at gmail

Nov 28, 2011, 11:57 PM

Post #5 of 5 (360 views)
Permalink
Re: [lvs-users] Real Server not removed from pool [In reply to]

HI Roger,
I see, thank you for the explanation, I didn't know they form part of the
same package.

Do you think I can try to update the Piranha package then? Since its a
live system I wouldn't like to take unneccessary risks.

Regards,
Andre

On 28 November 2011 23:12, Roger Littin <roger [at] rlmedia> wrote:

> Hi Andre,
>
> Nanny & Pulse are all part of the Piranha package.
>
> It looks like nanny is not doing it's job correctly.
>
> Roger.
>
> On 29/11/2011, at 12:57 AM, Andre Magri wrote:
>
> > Hi Roger,
> > I used Piranha for the initial configuration but didn't use it much after
> > that.
> >
> > I'll file a bug report.
> >
> > Thank you,
> > Andre
> >
> >
> > On 27 November 2011 22:54, Roger Littin <roger [at] rlmedia> wrote:
> >
> >> Hi Andre,
> >>
> >> It sounds like you are using Piranha to manage LVS.
> >>
> >> I have seen exactly the same issue when using Piranha on Centos 6 and
> did
> >> not manage to find a workaround for it.
> >>
> >> It might be worth filing a bug report at http://www.centos.org/
> >>
> >> Roger.
> >>
> >> On 26/11/2011, at 7:28 PM, Andre Magri wrote:
> >>
> >>> Hi,
> >>> I am using DR and using an external program to check whether a server
> is
> >>> alive or not:
> >>>
> >>> send_program = "/root/chknanny.sh %h"
> >>> expect = "SERVER_OK"
> >>> load_monitor = none
> >>> scheduler = wlc
> >>> protocol = tcp
> >>> timeout = 10
> >>> reentry = 10
> >>>
> >>> This is the chknanny.sh script:
> >>> lynx -dump "http://$1/TestServer.ashx"
> >>>
> >>> Which should return SERVER_OK . If it does not or it times out the
> server
> >>> should be removed from the pool.
> >>>
> >>> I'm having a situation where lynx does not return SERVER_OK but the
> >> timeout
> >>> value of 10 seems to have no effect. The server still remains in the
> >>> server pool which is stranges cause messages log file report this:
> >>> Nov 26 01:34:13 dell-LB1 nanny[2753]: Ran the external sending program
> >> to (
> >>> 10.0.1.108:80) but didn't get anything back
> >>>
> >>> Any ideas?
> >>>
> >>> Many thanks!
> >>> Andre
> >>> _______________________________________________
> >>> Please read the documentation before posting - it's available at:
> >>> http://www.linuxvirtualserver.org/
> >>>
> >>> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> >>> Send requests to lvs-users-request [at] LinuxVirtualServer
> >>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >>
> >> _______________________________________________
> >> Please read the documentation before posting - it's available at:
> >> http://www.linuxvirtualserver.org/
> >>
> >> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> >> Send requests to lvs-users-request [at] LinuxVirtualServer
> >> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >>
> > _______________________________________________
> > Please read the documentation before posting - it's available at:
> > http://www.linuxvirtualserver.org/
> >
> > LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> > Send requests to lvs-users-request [at] LinuxVirtualServer
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

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

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.