LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: dead peer detection, ipvsadm

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: dead peer detection, ipvsadm
From: Siim Põder <windo@xxxxxxxxxxxxxxx>
Date: Sun, 03 Sep 2006 09:11:27 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yo

On 03.09.2006 06:51, Gary W. Smith wrote:
> I'm looking for dead peer detection for the real servers.  I already
> have ipvsadm setup using linux-ha on a cluster.  This part seems to work
> fine.  When I take one of the SMTP nodes offline (being a large incoming
> SMTP configuration) I would like it to be detected and no traffic to be
> routed there.  I have read various howto's on a variety of techniques
> (including the use of feedbackd).  
> 
> If there is a specific howto, or specific section in the howto, can you
> please point me in that direction?
> 
> This really isn't a blind question from me per say.  I've been talking
> to some of my colleagues that also use ipvsadm and they just didn't have
> a good way of doing this out of the box.  But they have also admitted
> that they are by no means experts on ipvsadm.

what do you think about keepalived?

> This works great for balancing the connections.  But it seems to die
> miserably when I take one server down (as all of the connections seem to
> go there because is has no active connections).

you could use wrr instead of wlc. then the dead peers would only get so
many connetions and if the client tries to reconnect, a new server would
be used.

- --
Siim Põder

You never truely understand something until you can explain it to your
grandmother.
        -- Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+nIPdVkoBQGQR+MRAjh7AJ9vzazUXCR89Ec8NnQ22t+byxcjFQCeIWO8
9eCTXaVxKh1R8CIz+q8l42k=
=gQ7e
-----END PGP SIGNATURE-----




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