diff options
author | Jan Provaznik <jprovazn@redhat.com> | 2014-04-01 06:53:38 -0400 |
---|---|---|
committer | Jan Provaznik <jprovazn@redhat.com> | 2014-04-01 13:03:47 +0200 |
commit | 0acac15f4ead9e5c6bec98411bbdda21f876d582 (patch) | |
tree | 0f92d0962c94fe6c3ea230d8dfd3f1c071a41273 | |
parent | 65351560a421f40c0d66d6dcb00ee5515d5feb0f (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
-rw-r--r-- | overcloud-source.yaml | 6 | ||||
-rw-r--r-- | undercloud-source.yaml | 6 |
2 files changed, 12 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: diff --git a/undercloud-source.yaml b/undercloud-source.yaml index 90724b76..2bf927f8 100644 --- a/undercloud-source.yaml +++ b/undercloud-source.yaml @@ -77,6 +77,10 @@ Parameters: Type: String Default: '' NoEcho: true + MysqlInnodbBufferPoolSize: + Description: Specifies the size of the buffer pool in megabytes. + Type: Number + Default: 100 Resources: RabbitCookie: Type: OS::Heat::RandomString @@ -203,6 +207,8 @@ Resources: keystone: db: mysql://keystone:unset@localhost/keystone host: 127.0.0.1 + mysql: + innodb_buffer_pool_size: {Ref: MysqlInnodbBufferPoolSize} neutron: host: 127.0.0.1 ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8 |