Linux, Open Source and more
Saturday, September 20, 2014
Enable/Disable HAproxy Backend Servers via Python
Sometimes we may want to automatically enable/disable machines behind our HAproxy automatically (during a deploy or maintenance), this is how it's done via Python code. The idea is to use HAproxy Unix Socket based API.