Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Last active August 29, 2015 14:02
Show Gist options
  • Save hub-cap/16d3e78d5c5bfb36baf0 to your computer and use it in GitHub Desktop.
Save hub-cap/16d3e78d5c5bfb36baf0 to your computer and use it in GitHub Desktop.
Components
* MySQL Layer
* list of ips and ports (pub/priv) per haproxy
* list of avail pub ips
* choose ip (should be blocking so only one thing can do at a time)
* API Layer
* Add/Remove pub ip (needs mysql list of avail ips)
* Move vip
* Add/Remove port for existing pub ip
* Haproxy Layer
* Regenerate config (needs mysql list of in use ips)
* HUP / reload
* active / passive configs
* move vip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment