[lvs-users] LVS API?

Graeme Fowler graeme at graemef.net
Mon Jun 15 10:51:11 BST 2009

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.


More information about the lvs-users mailing list