Expose Innodb_buffer_pool_size

This can now be set via 'MySQLInnodbBufferPoolSize'.

Change-Id: I59e74a76d8467bd49c95da5031a23cda0cc6f52d
This commit is contained in:
David J Peacock 2020-08-25 13:38:49 -04:00
parent 110405217c
commit 05d943107f
2 changed files with 17 additions and 0 deletions

View File

@ -62,6 +62,11 @@ parameters:
default: false
description: Enable IPv6 in MySQL
type: boolean
MySQLInnodbBufferPoolSize:
type: string
description: Buffer pool size for MySQL database; this needs to be larger
for at-scale deployments
default: ''
parameter_groups:
- label: deprecated
@ -80,6 +85,7 @@ conditions:
equals:
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MysqlNetwork]}]}
- 6
innodb_buffer_pool_size: {not: {equals: [{get_param: MySQLInnodbBufferPoolSize}, '']}}
outputs:
role_data:
@ -162,6 +168,11 @@ outputs:
params:
NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
- {}
-
if:
- innodb_buffer_pool_size
- innodb_buffer_pool_size: {get_param: MySQLInnodbBufferPoolSize}
- {}
step_config: |
include tripleo::profile::base::database::mysql
metadata_settings:

View File

@ -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.