Horms wrote (at Tue, Jun 07, 2005 at 10:25:53PM +0900):
>> Thanks for the reply,
>> IMHO There is another feature that would be very useful , if ldiretord
>> could change the weights of the servers depending on some program
>> output.
>>
>> For eg. In my case I am using LVS in front of SMTP servers , I can write
>> a script that can fetch the mailq from each of the smtp servers. I would
>> like to run a program , say every 10 minutes , and set the Real server
>> weights according to their current mailq
>>
>> Do you have any inputs , If I were to write these plugins.
>> I would be happy to contribute
>
> Take a look at feedbackd (redfishsoftware.com.au from memory),
> it includes a good discussion of some of the issues
> involved in doing this.
>
> I do like your idea, especially as it involves not including
> the logic in ldirectord. It would be pretty easy to set
> up a (Unix?) socket to feed the data into and leave it
> up to some other code to feed it numbers.
Keepalived does this, I believe.
--
Casey Zacek
Senior Engineer
NeoSpire, Inc.
|