aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifests/loadbalancer.pp19
1 files changed, 17 insertions, 2 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp
index 589d852..4596b50 100644
--- a/manifests/loadbalancer.pp
+++ b/manifests/loadbalancer.pp
@@ -29,7 +29,11 @@
#
# [*haproxy_global_maxconn*]
# The value to use as maxconn in the haproxy global config section.
-# Defaults to 10000
+# Defaults to 20480
+#
+# [*haproxy_default_maxconn*]
+# The value to use as maxconn in the haproxy default config section.
+# Defaults to 4096
#
# [*controller_host*]
# (Deprecated)Host or group of hosts to load-balance the services
@@ -231,7 +235,8 @@ class tripleo::loadbalancer (
$storage_mgmt_virtual_ip = false,
$manage_vip = true,
$haproxy_service_manage = true,
- $haproxy_global_maxconn = 10000,
+ $haproxy_global_maxconn = 20480,
+ $haproxy_default_maxconn = 4096,
$controller_host = undef,
$controller_hosts = undef,
$controller_hosts_names = undef,
@@ -612,6 +617,7 @@ class tripleo::loadbalancer (
'retries' => '3',
'option' => [ 'tcpka', 'tcplog' ],
'timeout' => [ 'http-request 10s', 'queue 1m', 'connect 10s', 'client 1m', 'server 1m', 'check 10s' ],
+ 'maxconn' => $haproxy_default_maxconn,
},
}
@@ -713,6 +719,9 @@ class tripleo::loadbalancer (
if $glance_registry {
haproxy::listen { 'glance_registry':
ipaddress => hiera('glance_registry_vip', $controller_virtual_ip),
+ options => {
+ 'option' => [ ],
+ },
ports => 9191,
collect_exported => false,
}
@@ -797,6 +806,9 @@ class tripleo::loadbalancer (
if $ceilometer {
haproxy::listen { 'ceilometer':
bind => $ceilometer_bind_opts,
+ options => {
+ 'option' => [ ],
+ },
collect_exported => false,
}
haproxy::balancermember { 'ceilometer':
@@ -911,6 +923,9 @@ class tripleo::loadbalancer (
if $ironic {
haproxy::listen { 'ironic':
bind => $ironic_bind_opts,
+ options => {
+ 'option' => [ 'httpchk GET /' ],
+ },
collect_exported => false,
}
haproxy::balancermember { 'ironic':