Expose Innodb_buffer_pool_size
This can now be set via 'MySQLInnodbBufferPoolSize'. Change-Id: I59e74a76d8467bd49c95da5031a23cda0cc6f52d
This commit is contained in:
parent
110405217c
commit
05d943107f
|
@ -62,6 +62,11 @@ parameters:
|
||||||
default: false
|
default: false
|
||||||
description: Enable IPv6 in MySQL
|
description: Enable IPv6 in MySQL
|
||||||
type: boolean
|
type: boolean
|
||||||
|
MySQLInnodbBufferPoolSize:
|
||||||
|
type: string
|
||||||
|
description: Buffer pool size for MySQL database; this needs to be larger
|
||||||
|
for at-scale deployments
|
||||||
|
default: ''
|
||||||
|
|
||||||
parameter_groups:
|
parameter_groups:
|
||||||
- label: deprecated
|
- label: deprecated
|
||||||
|
@ -80,6 +85,7 @@ conditions:
|
||||||
equals:
|
equals:
|
||||||
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MysqlNetwork]}]}
|
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MysqlNetwork]}]}
|
||||||
- 6
|
- 6
|
||||||
|
innodb_buffer_pool_size: {not: {equals: [{get_param: MySQLInnodbBufferPoolSize}, '']}}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
|
@ -162,6 +168,11 @@ outputs:
|
||||||
params:
|
params:
|
||||||
NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
|
NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
|
||||||
- {}
|
- {}
|
||||||
|
-
|
||||||
|
if:
|
||||||
|
- innodb_buffer_pool_size
|
||||||
|
- innodb_buffer_pool_size: {get_param: MySQLInnodbBufferPoolSize}
|
||||||
|
- {}
|
||||||
step_config: |
|
step_config: |
|
||||||
include tripleo::profile::base::database::mysql
|
include tripleo::profile::base::database::mysql
|
||||||
metadata_settings:
|
metadata_settings:
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The MariaDB tuning parameter for Innodb_buffer_pool_size can now be set via
|
||||||
|
a new TripleO Heat Template parameter 'MySQLInnodbBufferPoolSize'.
|
||||||
|
By default this is undefined.
|
Loading…
Reference in New Issue