summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Yatsenko <myatsenko@mirantis.com>2016-07-05 11:26:22 +0300
committerMaksym Yatsenko <myatsenko@mirantis.com>2016-07-05 11:26:22 +0300
commit856dfaea799b5bfb824adef73162f6296e491288 (patch)
tree46e826e10d4d4034653e26563478319f2751472a
parentb60d40b7991486a9627abf3118943b0aef8cb5ce (diff)
Adjust HA-proxy config for slapd service.
HA-porxy config for slapd service was tuned. Change-Id: I05492ad36bc4be070053ac30ef079dbfc89d42a7 Related-Bug: #1599065
Notes
Notes (review): Code-Review+2: Ivan Berezovskiy <iberezovskiy@mirantis.com> Workflow+1: Ivan Berezovskiy <iberezovskiy@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 05 Jul 2016 14:13:59 +0000 Reviewed-on: https://review.openstack.org/337540 Project: openstack/fuel-plugin-ldap Branch: refs/heads/master
-rw-r--r--deployment_scripts/puppet/modules/plugin_ldap/manifests/ldap_proxy_init.pp17
1 files changed, 10 insertions, 7 deletions
diff --git a/deployment_scripts/puppet/modules/plugin_ldap/manifests/ldap_proxy_init.pp b/deployment_scripts/puppet/modules/plugin_ldap/manifests/ldap_proxy_init.pp
index 915696f..040bca2 100644
--- a/deployment_scripts/puppet/modules/plugin_ldap/manifests/ldap_proxy_init.pp
+++ b/deployment_scripts/puppet/modules/plugin_ldap/manifests/ldap_proxy_init.pp
@@ -62,14 +62,17 @@ class plugin_ldap::ldap_proxy_init (
62 internal_virtual_ip => $internal_virtual_ip, 62 internal_virtual_ip => $internal_virtual_ip,
63 ipaddresses => $controller_ip, 63 ipaddresses => $controller_ip,
64 server_names => $controller_nodes, 64 server_names => $controller_nodes,
65 order => '180',
66 listen_port => '389',
67 define_backups => true,
65 haproxy_config_options => { 68 haproxy_config_options => {
66 mode => 'tcp', 69 option => ['tcplog','clitcpka','srvtcpka', 'ldap-check'],
67 stats => 'enable', 70 balance => 'leastconn',
68 option => ['ldap-check',] 71 mode => 'tcp',
72 'timeout server' => '28801s',
73 'timeout client' => '28801s',
69 }, 74 },
70 balancermember_options => 'maxconn 10000 check', 75 balancermember_options => 'check inter 20s fastinter 2s downinter 2s rise 3 fall 3',
71 order => '180', 76 } ~> Service<| title == 'haproxy' |>
72 listen_port => '389',
73 } ~> Service<| title == 'haproxy' |>
74 77
75} 78}