aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud-source.yaml
diff options
context:
space:
mode:
authorJan Provaznik <jprovazn@redhat.com>2014-04-01 06:53:38 -0400
committerJan Provaznik <jprovazn@redhat.com>2014-04-01 13:03:47 +0200
commit0acac15f4ead9e5c6bec98411bbdda21f876d582 (patch)
tree0f92d0962c94fe6c3ea230d8dfd3f1c071a41273 /overcloud-source.yaml
parent65351560a421f40c0d66d6dcb00ee5515d5feb0f (diff)
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
Diffstat (limited to 'overcloud-source.yaml')
-rw-r--r--overcloud-source.yaml6
1 files changed, 6 insertions, 0 deletions
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: