As TCP loader balancer

  1. frontend mysql-lb
  2. bind *:3306
  3. mode tcp
  4. default_backend mysql-cluster
  5. backend mysql-cluster
  6. balance roundrobin
  7. mode tcp
  8. server s1 10.0.0.101:3306
  9. server s2 10.0.0.102:3306
  10. server s3 10.0.0.103:3306