From 1c798433632a5c0171cc639f8da4c3d8c463c652 Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Wed, 10 Feb 2016 15:07:38 +0100 Subject: [PATCH] Add mysql-status frontend to docs Change-Id: I9990f8439c01b96d9d217063658138f653d57ddd --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 37c3f36..8a397b2 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,20 @@ After this you can open any yaml in `./deployment_1/` directory and check contro If you want to Public TLS then please note that Fuel generates self-signed SSL certificate during deployment, so you can't download it before deployment starts and configure it on external load balancer. The best solution is to create your own certificate (self signed or issued) and upload it via Environment -> Settings -> Security. +**Important!** It's required to configure mysql-status frontend on external load-balancer (we do not configure such frontend on controllers using Haproxy because we use mysql frontend for that). This frontend should balance 49000 port across all controllers with HTTP chk option. Here's an example of frontend config for Haproxy: + +``` +listen mysqld-status + bind 1.1.1.1:49000 + http-request set-header X-Forwarded-Proto https if { ssl_fc } + option httpchk + option httplog + option httpclose + server node-1 10.144.2.11:49000 check inter 20s fastinter 2s downinter 2s rise 3 fall 3 + server node-3 10.146.2.11:49000 check inter 20s fastinter 2s downinter 2s rise 3 fall 3 + server node-2 10.145.2.12:49000 check inter 20s fastinter 2s downinter 2s rise 3 fall 3 +``` + ## Known limitations * OSTF is not working * Floating IPs are not working if controllers are in different racks