blob: 244655c536daded999d0e8cbdd7bfed441ed207f [file] [log] [blame]
haproxy:
proxy:
enabled: true
nbproc: 4
global:
maxconn: 99999
cpu_map:
1: 0
2: 1
3: 2
4: 3
stats_bind_process: "1 2"
listen:
glance_registry:
binds:
- address: 192.168.2.11
port: 9191
ssl:
enabled: true
pem_file: /etc/haproxy/ssl/all.pem
http_request:
- action: set-header X-Forwarded-Proto https
mode: http
options:
- httpchk GET /
- httplog
- httpclose
servers:
- host: 127.0.0.1
name: ctl01
params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
port: 9191
glance_api:
type: openstack-service
bind_process: "1 2 3 4"
binds:
- address: 127.0.0.1
port: 9292
servers:
- name: ctl01
host: 127.0.0.1
port: 9292
params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
- name: ctl02
host: 127.0.0.1
port: 9292
params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
- name: ctl03
host: 127.0.0.1
port: 9292
params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
# For haproxy/meta/sensu.yml
linux:
network:
fqdn: linux.ci.local