Browse Source

Update the haproxy config file about the option of galera_cluster

listen galera_cluster option: httpchk -->  mysql-check

Change-Id: I0ef872914fc762abad30acd86afa670e0e78d04d
Closes-Bug: #1566771
zhangguoqing 3 years ago
parent
commit
b4a22f65c7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      doc/ha-guide/source/controller-ha-haproxy.rst

+ 1
- 1
doc/ha-guide/source/controller-ha-haproxy.rst View File

@@ -94,7 +94,7 @@ You need a copy of it on each controller node.
94 94
    listen galera_cluster
95 95
      bind <Virtual IP>:3306
96 96
      balance  source
97
-     option  httpchk
97
+     option  mysql-check
98 98
      server controller1 10.0.0.12:3306 check port 9200 inter 2000 rise 2 fall 5
99 99
      server controller2 10.0.0.13:3306 backup check port 9200 inter 2000 rise 2 fall 5
100 100
      server controller3 10.0.0.14:3306 backup check port 9200 inter 2000 rise 2 fall 5

Loading…
Cancel
Save