Merge "Expose Innodb_buffer_pool_size" into stable/train
This commit is contained in:
commit
bc8627c83f
|
@ -72,12 +72,18 @@ parameters:
|
||||||
default: ''
|
default: ''
|
||||||
description: Override the private key size used when creating the
|
description: Override the private key size used when creating the
|
||||||
certificate for this service
|
certificate for this service
|
||||||
|
MysqlInnodbBufferPoolSize:
|
||||||
|
type: string
|
||||||
|
description: Buffer pool size for MySQL database; this needs to be larger
|
||||||
|
for at-scale deployments
|
||||||
|
default: ''
|
||||||
|
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
|
|
||||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||||
key_size_override_unset: {equals: [{get_param: MysqlCertificateKeySize}, '']}
|
key_size_override_unset: {equals: [{get_param: MysqlCertificateKeySize}, '']}
|
||||||
|
innodb_buffer_pool_size: {not: {equals: [{get_param: MysqlInnodbBufferPoolSize}, '']}}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
container_config_scripts:
|
container_config_scripts:
|
||||||
|
@ -180,6 +186,11 @@ outputs:
|
||||||
- {get_param: CertificateKeySize}
|
- {get_param: CertificateKeySize}
|
||||||
- {get_param: MysqlCertificateKeySize}
|
- {get_param: MysqlCertificateKeySize}
|
||||||
- {}
|
- {}
|
||||||
|
-
|
||||||
|
if:
|
||||||
|
- innodb_buffer_pool_size
|
||||||
|
- innodb_buffer_pool_size: {get_param: MysqlInodbBufferPoolSize}
|
||||||
|
- {}
|
||||||
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