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.
Graeme
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|