From 0acac15f4ead9e5c6bec98411bbdda21f876d582 Mon Sep 17 00:00:00 2001 From: Jan Provaznik Date: Tue, 1 Apr 2014 06:53:38 -0400 Subject: Add mysql innodb buffer pool size Innodb buffer pool size in mysql config file is now set to 592M, this value is for VMs with 2G RAM too much. This patch makes the pool size configurable and decreases default value to 100 MB (this should be sufficient for default devtest setup). A patch which for tripleo-image-element which sets this value in my.cnf will follow. Change-Id: I0d2529abe51d4dc34415bf6c40da7a267bf3e65b --- overcloud-source.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'overcloud-source.yaml') diff --git a/overcloud-source.yaml b/overcloud-source.yaml index bba161e1..a7098227 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -166,6 +166,10 @@ Parameters: Type: String Description: The image ID for live-updates to the overcloud compute nodes. Default: '' + MysqlInnodbBufferPoolSize: + Description: Specifies the size of the buffer pool in megabytes. + Type: Number + Default: 100 Resources: RabbitCookie: Type: OS::Heat::RandomString @@ -410,6 +414,8 @@ Resources: - Fn::GetAtt: - notCompute0 - networks + mysql: + innodb_buffer_pool_size: {Ref: MysqlInnodbBufferPoolSize} neutron: flat-networks: {Ref: NeutronFlatNetworks} host: -- cgit 1.2.3-korg