Re: [lvs-users] LVS API?

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS API?
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Mon, 15 Jun 2009 10:51:11 +0100
On Sat, 2009-06-13 at 18:11 +0800, howard chen wrote:
> Are there any API (prefer in Perl/PHP) so Round-Robin weight can be
> changed on the fly from remote server.

As Joe points out, no. The API is either the command line, or the
underlying ip_vs library which can be called by other applications in
their code.

> I need this to auto-balance server weighting without sysadmin change
> them manually everytime.

Then you should consider using keepalived to manage your system, which
can adjust weights according to the result of scripts called by the
health check process.


Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

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