[galera] use same value for galera and haproxy max conn

Use same value for galera and haproxy max connection

The extra connection will be dropped by haproxy instead of galera.
This commit is contained in:
Mehdi Abaakouk
2014-09-18 11:05:33 +02:00
committed by Mehdi Abaakouk
parent 253aaeb138
commit 8ced994f79
2 changed files with 2 additions and 0 deletions

View File

@@ -491,6 +491,7 @@ class cloud::loadbalancer(
ipaddress => $galera_ip,
ports => 3306,
options => {
'maxconn' => '1000',
'mode' => 'tcp',
'balance' => 'roundrobin',
'option' => ['tcpka', 'tcplog', 'httpchk'], #httpchk mandatory expect 200 on port 9000

View File

@@ -206,6 +206,7 @@ describe 'cloud::loadbalancer' do
:ipaddress => params[:galera_ip],
:ports => '3306',
:options => {
'maxconn' => '1000',
'mode' => 'tcp',
'balance' => 'roundrobin',
'option' => ['tcpka','tcplog','httpchk'],