Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] LVS API?

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


howachen at gmail

Jun 13, 2009, 3:11 AM

Post #1 of 4 (951 views)
Permalink
[lvs-users] LVS API?

Hello,

Are there any API (prefer in Perl/PHP) so Round-Robin weight can be
changed on the fly from remote server.

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

Also, any web-based LVS front-end recommended?

Thank very much.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Jun 13, 2009, 4:11 AM

Post #2 of 4 (907 views)
Permalink
Re: [lvs-users] LVS API? [In reply to]

On Sat, 13 Jun 2009, howard chen wrote:

> Hello,
>
> Are there any API (prefer in Perl/PHP) so Round-Robin weight can be
> changed on the fly from remote server.

no. You'd need to do it with ssh.

> Also, any web-based LVS front-end recommended?

a few have been written. look in the HOWTO. They're all
written by one person who posts the code and no-one seems to
use them and then they aren't maintained.

Joe
>

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


graeme at graemef

Jun 15, 2009, 2:51 AM

Post #3 of 4 (890 views)
Permalink
Re: [lvs-users] LVS API? [In reply to]

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 [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


paolo.penzo at banca

Jun 15, 2009, 8:08 AM

Post #4 of 4 (904 views)
Permalink
Re: [lvs-users] LVS API? [In reply to]

Hi,
I got the same problem which I solved using the misc_dynamic option of
the keepalived daemon misc_check feature.

Regards,
Paolo.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.