Re: API/Programmatic Interface

2013-04-24 Thread Stefan Majer
Hi Dave,

we use haproxy for cloud loadbalancer and we generate the whole config upon
changes in the cloud configuration and reload haproxy with the new config.
We generate the configuration files with a templating mechanism.
Reloading happens many times daily, and this is a production environment.
This setup works like a charm.

kudos to Will et.al. !

Greetings
Stefan


On Wed, Apr 24, 2013 at 8:15 PM, Dave Ariens  wrote:

>  Hi subs,
>
> ** **
>
> I've looked around online and on the official site's add-ons and other
> solutions areas but can't find mention of a programmatic interface to
> managing an HA Proxy instance.
>
> ** **
>
> What are other users doing to address this?  
>
> ** **
>
> A few top user stories are:
>
> ** **
>
> - Modifying server status
>
> - Adding/removing pool members
>
> - changing load balancing algorithm
>
> - Adjusting weight
>
> - more?
>
> ** **
>
> ** **
>
> --
>
> Dave Ariens
>
> Platform Architect, Cloud Automation
>
> BlackBerry Infrastructure Engineering 
>
> dariens (at) BlackBerry.com
>
> +1-519-888-7465 x76792
>
> ** **
>  -
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be
> unlawful.
>



-- 
Stefan Majer


Re: API/Programmatic Interface

2013-04-24 Thread PiBa-NL

Hi Dave,

Some of those are possible see: "9.2. Unix Socket commands": 
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2


For example these and their disable/get counterparts:
*enable server 
*/
*set weight 
*/[%]


But i think it wont allow you to add new servers.. Nor change the 
loadbalancing algorithm.


Greets PiBa-NL

Op 24-4-2013 20:15, Dave Ariens schreef:


Hi subs,

I've looked around online and on the official site's add-ons and other 
solutions areas but can't find mention of a programmatic interface to 
managing an HA Proxy instance.


What are other users doing to address this?

A few top user stories are:

- Modifying server status

- Adding/removing pool members

- changing load balancing algorithm

- Adjusting weight

- more?

--

Dave Ariens

Platform Architect, Cloud Automation

BlackBerry Infrastructure Engineering

dariens (at) BlackBerry.com

+1-519-888-7465 x76792

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute 
non-public information. Any use of this information by anyone other 
than the intended recipient is prohibited. If you have received this 
transmission in error, please immediately reply to the sender and 
delete this information from your system. Use, dissemination, 
distribution, or reproduction of this transmission by unintended 
recipients is not authorized and may be unlawful. 




API/Programmatic Interface

2013-04-24 Thread Dave Ariens
Hi subs,

I've looked around online and on the official site's add-ons and other 
solutions areas but can't find mention of a programmatic interface to managing 
an HA Proxy instance.

What are other users doing to address this?

A few top user stories are:

- Modifying server status
- Adding/removing pool members
- changing load balancing algorithm
- Adjusting weight
- more?


--
Dave Ariens
Platform Architect, Cloud Automation
BlackBerry Infrastructure Engineering
dariens (at) BlackBerry.com
+1-519-888-7465 x76792


-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.