Pick infracloud mysql connections value from hiera
It needs to be tuned depending on number of cpus and memory of the server. Change-Id: Id00d32c1bc225db16fa45d990ff8227db4f68ff0 Depends-On: Id5a0e5af031175cc0a9d8b5a3bb97ae4adfbdf1e
This commit is contained in:
parent
33fb903cfd
commit
1801c31eed
@ -2864,3 +2864,4 @@ ipv4_nameserver: '8.8.8.8'
|
||||
ipv4_subnet_mask: '255.255.224.0'
|
||||
dhcp_pool_start: '10.10.16.144'
|
||||
dhcp_pool_end: '10.10.16.190'
|
||||
mysql_max_connections: '1024'
|
||||
|
@ -1355,7 +1355,8 @@ node 'controller00.vanilla.ic.openstack.org' {
|
||||
'start=15.184.65.2,end=15.184.65.254',
|
||||
'start=15.184.66.2,end=15.184.66.254',
|
||||
'start=15.184.67.2,end=15.184.67.254'
|
||||
]
|
||||
],
|
||||
mysql_max_connections => hiera('mysql_max_connections'),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,7 @@ class openstack_project::infracloud::controller (
|
||||
$neutron_subnet_cidr,
|
||||
$neutron_subnet_gateway,
|
||||
$neutron_subnet_allocation_pools,
|
||||
$mysql_max_connections = 1024,
|
||||
) {
|
||||
include ::openstack_project::infracloud::base
|
||||
|
||||
@ -47,6 +48,7 @@ class openstack_project::infracloud::controller (
|
||||
neutron_subnet_cidr => $neutron_subnet_cidr,
|
||||
neutron_subnet_gateway => $neutron_subnet_gateway,
|
||||
neutron_subnet_allocation_pools => $neutron_subnet_allocation_pools,
|
||||
mysql_max_connections => $mysql_max_connections,
|
||||
}
|
||||
|
||||
realize (
|
||||
|
Loading…
x
Reference in New Issue
Block a user