Skip to content
Snippets Groups Projects
Commit f78b5e04 authored by Quentin MACHU's avatar Quentin MACHU
Browse files

Increased Galera max connections (previously: 151) and added the corresponding parameter

parent 246e9c96
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,17 @@ class iaas::profile::database (
$servers = undef,
$galera_master = undef,
$galera_password = undef,
$max_connections = 1024,
) {
class { 'galera':
galera_servers => $servers,
galera_master => $galera_master,
root_password => $galera_password,
configure_firewall => false,
override_options => {
'mysqld' => { 'max_connections' => "${max_connections}" }
}
} -> Service['mysqld'] -> anchor { 'database-service': }
@@haproxy::balancermember { "galera_${::fqdn}":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment