From a32d1f2092a6455edd2f4289f68ab3430f9779dd Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 8 Aug 2016 18:28:30 -0500 Subject: qtuning the HA mode of cluster to respond for apis. Change-Id: I070b62f063ec6ecb1ea7501139dfcf1c34593a42 Signed-off-by: Narinder Gupta --- ci/config_tpl/bundle_tpl/mysql.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ci/config_tpl/bundle_tpl/mysql.yaml') diff --git a/ci/config_tpl/bundle_tpl/mysql.yaml b/ci/config_tpl/bundle_tpl/mysql.yaml index 110140e9..afa45193 100644 --- a/ci/config_tpl/bundle_tpl/mysql.yaml +++ b/ci/config_tpl/bundle_tpl/mysql.yaml @@ -2,8 +2,11 @@ charm: "local:{{ ubuntu.release }}/percona-cluster" num_units: {{ unit_qty() }} options: - innodb-buffer-pool-size: 100M - #lp1366997-workaround: true +{% if os.ha.mode == 'ha' %} + innodb-buffer-pool-size: 10G +{% else %} + innodb-buffer-pool-size: 1G +{% endif %} max-connections: 20000 root-password: {{ get_password('mysql_root') }} sst-password: {{ get_password('mysql_sst') }} -- cgit 1.2.3-korg