charm: "local:{{ ubuntu.release }}/percona-cluster"
num_units: {{ unit_qty() }}
options:
- dataset-size: 2G
- lp1366997-workaround: true
- max-connections: 10000
+ innodb-buffer-pool-size: 100M
+ #lp1366997-workaround: true
+ max-connections: 20000
root-password: {{ get_password('mysql_root') }}
sst-password: {{ get_password('mysql_sst') }}
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.mysql }}
{% endif %}
+ min-cluster-size: {{ unit_qty() }}
to:
{% for unit_id in to_select() %}
- "lxc:nodes={{ unit_id }}"