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
This commit is contained in:
Kevin Carter
2015-04-09 21:20:47 -05:00
parent 7de279c072
commit e046c4caf3

View File

@@ -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