Ed,

If you look into the "stats socket"  it has the same functionality as
the web interface.  you can interact with it via shell scripts and
similar.   I use this with ansible to take backends out of haproxy
before doing maintenance or updates.  so that may work for you.

If you are looking for like a restful API or similar,  you are going
to have to use a 3rd party solution as haproxy doesn't have this
capability built in.



On Tue, Nov 17, 2015 at 4:37 PM, Ed Young <[email protected]> wrote:
> I'm aware of the stats application and have it configured to manually
> enable, disable and soft stop/start nodes.
>
> The UI is nice, but what I'm asking about is whether there is an web service
> or API to enable/disable/soft stop/start nodes programmatically.
>
> That way when I have a release or some other maintenance, I can do it all
> from Jenkins, for example.
>
> Eucalyptus?
> is this what you mean?
> https://github.com/eucalyptus/load-balancer-servo
>
>
>
>
>
> On Tue, Nov 17, 2015 at 1:47 PM, Park, Sang-Min <[email protected]>
> wrote:
>>
>> Fyi, Eucalyptus implements AWS ELB api using haproxy as its backend.
>> -------------------
>> Sang-Min Park – Software Engineer
>> HP Enterprise / Eucalyptus
>>
>> From: Ed Young <[email protected]<mailto:[email protected]>>
>> Date: Tuesday, November 17, 2015 at 12:10 PM
>> To: "[email protected]<mailto:[email protected]>"
>> <[email protected]<mailto:[email protected]>>
>> Subject: haproxy management web service ?
>>
>> So there a web service api that would support bringing nodes up and Down
>> programmatically for orchestration of upgrades and other maintenance events?
>>
>> --
>> - Ed
>
>
>
>
> --
> - Ed



-- 
Jeff Palmer
https://PalmerIT.net

Reply via email to