Tomasz Wendlandt

Avatar

Tech blog

HAProxy and MySQL health check

Prawie miesiąc temu opublikowano stabilną wersję HAProxy 1.4 . W nowej wersji dodano bardzo przydatny check do MySQLa (option mysql-check). W końcu HAProxy potrafi monitorować stan bazy bez customizowanych skryptów czy innych wynalazków.

listen mysql 0.0.0.0:3306
mode tcp
option mysql-check
balance roundrobin
server mysql_server_1 1.1.1.1:3306 check port 3306

No Comments, Comment or Ping

Reply to “HAProxy and MySQL health check”

Poznań

  • Cloud and Visibility OK
  • Temperature: 10°C
  • Visibility: 10km
  • Clouds: Cloud and Visibility OK
  • Wind: E at 9 km/h
  • Barometer: 1014 hPa
  • Humidity: 87.4%
  • Sunrise: 8:53 GMT+2
  • Sunset: 21:00 GMT+2