X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fconfig_tpl%2Fbundle_tpl%2Fmysql.yaml;h=ab2c4934a9bd7619de66ff8a98c829cda82228c1;hb=934586f4578b00b54c4ae2d06443064ff7ef10c5;hp=110140e9f252f8dd3eb0057c2f6a25d2c2f9b10a;hpb=5cc5559348a8a18a41cfd25cce446955d63afb83;p=joid.git diff --git a/ci/config_tpl/bundle_tpl/mysql.yaml b/ci/config_tpl/bundle_tpl/mysql.yaml index 110140e9..ab2c4934 100644 --- a/ci/config_tpl/bundle_tpl/mysql.yaml +++ b/ci/config_tpl/bundle_tpl/mysql.yaml @@ -2,11 +2,17 @@ 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') }} +{% if os.network.ipv6 %} + prefer-ipv6: {{ os.network.ipv6 }} +{% endif %} {% if os.ha.mode == 'ha' %} vip: {{ opnfv.vip.mysql }} {% endif %}