|
|
|
|
|
|
|
|
innodb_doublewrite=0 |
|
|
innodb_doublewrite=0 |
|
|
innodb_autoinc_lock_mode=2 |
|
|
innodb_autoinc_lock_mode=2 |
|
|
innodb_locks_unsafe_for_binlog=1 |
|
|
innodb_locks_unsafe_for_binlog=1 |
|
|
|
|
|
{%- if service.members|length > 1 %} |
|
|
wsrep_cluster_address="gcomm://{% for member in service.members %}{{ member.host}}:4567{% if not loop.last %},{% endif %}{% endfor %}/?pc.wait_prim=no" |
|
|
wsrep_cluster_address="gcomm://{% for member in service.members %}{{ member.host}}:4567{% if not loop.last %},{% endif %}{% endfor %}/?pc.wait_prim=no" |
|
|
|
|
|
{%- else %} |
|
|
|
|
|
wsrep_cluster_address="gcomm://" |
|
|
|
|
|
{%- endif %} |
|
|
wsrep_provider={{ service.wsrep_provider }} |
|
|
wsrep_provider={{ service.wsrep_provider }} |
|
|
wsrep_cluster_name="openstack" |
|
|
wsrep_cluster_name="openstack" |
|
|
|
|
|
|