aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_newton_xenial/roles/ha
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-12-20 03:42:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-20 03:42:26 +0000
commiteb5dbdac42b1b7b775fbc1dc513376425a6898ff (patch)
treeff8cfcd018541027cd477f3e60748ff8016e3806 /deploy/adapters/ansible/openstack_newton_xenial/roles/ha
parent14fdbaf022ca91025164f87b1f6d2e4c07305d7d (diff)
parentd31318470bcfb236e2ed9356e0e61f34fe85cc80 (diff)
Merge "add congress support"Danube.0.1
Diffstat (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/ha')
-rw-r--r--deploy/adapters/ansible/openstack_newton_xenial/roles/ha/templates/haproxy.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/ha/templates/haproxy.cfg b/deploy/adapters/ansible/openstack_newton_xenial/roles/ha/templates/haproxy.cfg
index c0a0747d..5fbcc9d9 100644
--- a/deploy/adapters/ansible/openstack_newton_xenial/roles/ha/templates/haproxy.cfg
+++ b/deploy/adapters/ansible/openstack_newton_xenial/roles/ha/templates/haproxy.cfg
@@ -190,6 +190,17 @@ listen proxy-aodh_api_cluster
server {{ host }} {{ ip }}:8042 weight 1 check inter 2000 rise 2 fall 5
{% endfor %}
+listen proxy-congress_api_cluster
+ bind {{ internal_vip.ip }}:1789
+ bind {{ public_vip.ip }}:1789
+ mode tcp
+ option tcp-check
+ option tcplog
+ balance source
+{% for host,ip in haproxy_hosts.items() %}
+ server {{ host }} {{ ip }}:1789 weight 1 check inter 2000 rise 2 fall 5
+{% endfor %}
+
listen proxy-dashboarad
bind {{ public_vip.ip }}:80
mode http