blob: 531d647f09a249c8f62b035fbacbe9224a03bc2e (
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
|
parameters:
haproxy:
proxy:
listen:
elasticsearch:
mode: http
options:
- httplog
- http-keep-alive
- prefer-last-server
- dontlog-normal
balance: roundrobin
binds:
- address: ${_param:cluster_vip_address}
port: 9200
servers:
- name: ${_param:cluster_node01_hostname}
host: ${_param:cluster_node01_address}
port: 9200
params: 'check inter 10s fastinter 2s downinter 3s rise 3 fall 3'
- name: ${_param:cluster_node02_hostname}
host: ${_param:cluster_node02_address}
port: 9200
params: 'check inter 10s fastinter 2s downinter 3s rise 3 fall 3'
- name: ${_param:cluster_node03_hostname}
host: ${_param:cluster_node03_address}
port: 9200
params: 'check inter 10s fastinter 2s downinter 3s rise 3 fall 3'
|