blob: 254dc3b03e34bad6bff4e4193188d03385196463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
parameters:
haproxy:
proxy:
timeout:
queue: '10s'
connect: '10s'
client: '10s'
server: '10s'
check: '10s'
listen:
mysql_cluster:
type: mysql
service_name: mysql
binds:
- address: ${_param:cluster_vip_address}
port: 3306
servers:
- name: ${_param:cluster_node01_hostname}
host: ${_param:cluster_node01_address}
port: 3306
params: check inter 20s fastinter 2s downinter 2s rise 3 fall 3
- name: ${_param:cluster_node02_hostname}
host: ${_param:cluster_node02_address}
port: 3306
params: backup check inter 20s fastinter 2s downinter 2s rise 3 fall 3
- name: ${_param:cluster_node03_hostname}
host: ${_param:cluster_node03_address}
port: 3306
params: backup check inter 20s fastinter 2s downinter 2s rise 3 fall 3
|