haproxy administration web interface
Hi, A simple question, is there any web interface to administer haproxy via web? -- Regards; Israel Garcia
Re: haproxy administration web interface
Hi, On 07.12.09 20:49, Israel Garcia wrote: Hi, A simple question, is there any web interface to administer haproxy via web? A simple answer: Nope, at least no free one I have heard of. Maybe you could find something from loadbalancer.org However, I am currently looking into developing a simple twisted and/or django based REST-webservice to manage some aspects of Haproxy. Currently, I am planning the following features: * Create and edit a complete configuration by using something like haproxy-config (http://github.com/finnlabs/haproxy) * Add, edit and remove complete sections * Allow member servers of backends and listeners to be added and removed * Use the stats-socket to interface directly with Haproxy * Set the weight of individual backend servers (for Haproxy 1.4) * Provide a (readonly) webservice API to the various Haproxy stats Optionally: Provide a callback interface to perform certain used defined actions based on state changes of ressources by providing callbacks to which user code can register itself. This interface could be called from something like syslog-ng in nearly realtime. I plan on hacking on it during the evenings / nights of the upcomming 26c3. So if you have any ideas, feel free to provide them here. --Holger
Re: haproxy administration web interface
On 12/7/09, Duncan Hall dun...@viator.com wrote: Israel Garcia wrote: Hi, A simple question, is there any web interface to administer haproxy via web? Hi Duncan, HAProxy has a dashboard that shows the status of the load balancing. It doesn't include an interface for making changes. Yes, a very good stats page in deed..:-) PFsense (a FreeBSD based firewall http://pfsense.org) has a php interface for administering the haproxy package, but it does not include all of the configuration options (yet). I'll take a look... thanks in advance regards, Israel. Regards, Duncan -- Regards; Israel Garcia
Re: haproxy administration web interface
On 12/7/09, Holger Just w...@meine-er.de wrote: Hi, On 07.12.09 20:49, Israel Garcia wrote: Hi, A simple question, is there any web interface to administer haproxy via web? Hi Holder, A simple answer: Nope, at least no free one I have heard of. Maybe you could find something from loadbalancer.org However, I am currently looking into developing a simple twisted and/or django based REST-webservice to manage some aspects of Haproxy. That's very interesting.. I'll take a look at this... I'll keep you posted.. Currently, I am planning the following features: * Create and edit a complete configuration by using something like haproxy-config (http://github.com/finnlabs/haproxy) * Add, edit and remove complete sections * Allow member servers of backends and listeners to be added and removed * Use the stats-socket to interface directly with Haproxy * Set the weight of individual backend servers (for Haproxy 1.4) * Provide a (readonly) webservice API to the various Haproxy stats Optionally: Provide a callback interface to perform certain used defined actions based on state changes of ressources by providing callbacks to which user code can register itself. This interface could be called from something like syslog-ng in nearly realtime. I plan on hacking on it during the evenings / nights of the upcomming 26c3. So if you have any ideas, feel free to provide them here. thanks in advance regards, Israel. --Holger -- Regards; Israel Garcia
Re: haproxy administration web interface
Hi, On Mon, Dec 07, 2009 at 02:49:30PM -0500, Israel Garcia wrote: Hi, A simple question, is there any web interface to administer haproxy via web? The only web interfaces I'm aware of are the ones in commercial products using haproxy (Exceliance ALOHA, Loadbalancer.org, maybe others ?). But quite frankly, it's very hard not to be limited by a web interface for a load balancer. A load balancer is not a firewall, it does only dirty things. You always have to use a lot of tricks. Passing special parameters, placing proper ACLs at the right place, rewrite headers, etc... And believe me, every time I heard hey no I just need a basic setup, the guys finally had to use funny tricks for a special case. So if you're looking for a web interface to make config writing easier, I'd suggest that you use scripts and templates instead to generate your configuration. Then you'll find that you have the power of the flat file with the ability to add services and servers using very few parameters. In the end it might be a better solution than a web interface. Regards, Willy