-
-
Save erichowey/6a9fe7022cb6ad6d71208454ca57e136 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
daemon | |
nbthread 4 | |
defaults | |
mode tcp | |
timeout connect 5000ms | |
timeout client 5000ms | |
timeout server 5000ms | |
frontend mariadb | |
bind *:3306 | |
timeout client 480m | |
default_backend mariadb | |
backend mariadb | |
mode tcp | |
balance roundrobin | |
timeout server 480m | |
option mysql-check user heartbeat post-41 | |
server mariadb-1:10.99.1.66:3306 10.99.1.66:3306 check inter 1s | |
server mariadb-2:10.99.1.67:3306 10.99.1.67:3306 check inter 1s | |
server mariadb-3:10.99.1.68:3306 10.99.1.68:3306 check inter 1s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment