From e046c4caf37a190f28cf743a3001bbeb7ae615af Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 9 Apr 2015 21:20:47 -0500 Subject: [PATCH] Updated galera cache size when boostrapping AIO This change modifies the cache sizes for galera when bootstrapping an AIO. This change lowers the cache sizes to allow the for normal operations on hosts that may be resource constrained. Change-Id: Ie7b9c12a3231b92e6414e97f535ec128d13bf2d2 Closes-Bug: #1442028 --- scripts/bootstrap-aio.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap-aio.sh b/scripts/bootstrap-aio.sh index df3ac0a9ba..173496c71e 100755 --- a/scripts/bootstrap-aio.sh +++ b/scripts/bootstrap-aio.sh @@ -262,7 +262,9 @@ echo "nova_virt_type: ${NOVA_VIRT_TYPE}" | tee -a /etc/openstack_deploy/user_var echo "tempest_public_subnet_cidr: ${TEMPEST_FLAT_CIDR}" | tee -a /etc/openstack_deploy/user_variables.yml # Minimize galera cache -echo 'galera_gcache_size: 50M' | tee -a /etc/openstack_deploy/user_variables.yml +echo 'galera_gcache_size: 32M' | tee -a /etc/openstack_deploy/user_variables.yml +echo 'galera_innodb_buffer_pool_size: 512M' | tee -a /etc/openstack_deploy/user_variables.yml +echo 'galera_innodb_log_buffer_size: 32M' | tee -a /etc/openstack_deploy/user_variables.yml # Set the running kernel as the required kernel echo "required_kernel: $(uname --kernel-release)" | tee -a /etc/openstack_deploy/user_variables.yml