LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord action on failure

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ldirectord action on failure
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 7 Jun 2005 15:08:48 +0900
On Tue, May 31, 2005 at 11:48:35AM +0530, Ramprasad A Padmanabhan wrote:
> Hi,
>   We are planning to use LVS-DR for our smtp servers. Running ldiretord
> on the Director I can poll my real servers if any of them is down they
> would get removed from the directors ipvsadm table.
> 
> How can I configure ldirectord to run some script if any on the real
> servers is down 

Ldirectord doesn't offer such a feature at this time.
It should be pretty easy to add, I would guess
it should hook into _service_up() and _service_down().
I am happy to consider patches to add this feature.

-- 
Horms

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