LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] keepalived

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] keepalived
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Tue, 11 Sep 2007 00:11:51 +0100
On Mon, 2007-09-10 at 23:37 +0200, Andre Weitekamp wrote:
> I've a problem with keepalived. When the http service is not available 
> than the server is removed from the pool, but when the service is 
> running the server will not come back in the pool. Does someone had the 
> same Problem and can tell me why?

This has been discussed a few times over on the keepalived list over the
years, and is usually down to a bad config. In your case, it looks OK
and keepalived will start, but... you're not telling the healthchecker
what result code to scan for.

You probably need:

  SSL_GET {
    url {
      path /webroot/check.sh
      status_code 200
    }
    connect_timeout 3
    nb_get_retry 3
    delay_before_retry 5
  }

Try this and see.

Graeme



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