|
|
|
|
|
|
|
|
default_storage_engine = InnoDB |
|
|
default_storage_engine = InnoDB |
|
|
# you can't just change log file size, requires special procedure |
|
|
# you can't just change log file size, requires special procedure |
|
|
#innodb_log_file_size = 50M |
|
|
#innodb_log_file_size = 50M |
|
|
innodb_buffer_pool_size = 12G |
|
|
|
|
|
|
|
|
innodb_buffer_pool_size = {{ service.get('innodb_buffer_pool_size', 2G) }} |
|
|
innodb_log_buffer_size = 8M |
|
|
innodb_log_buffer_size = 8M |
|
|
innodb_file_per_table = 1 |
|
|
innodb_file_per_table = 1 |
|
|
innodb_open_files = 400 |
|
|
innodb_open_files = 400 |
|
|
|
|
|
|
|
|
bind-address={{ service.bind.address }} |
|
|
bind-address={{ service.bind.address }} |
|
|
#wsrep_cluster_address=gcomm:// |
|
|
#wsrep_cluster_address=gcomm:// |
|
|
wsrep_cluster_address=gcomm://{% for member in service.members %}{{ member.host}}{% if not loop.last %},{% endif %}{% endfor %}?pc.wait_prim=no |
|
|
wsrep_cluster_address=gcomm://{% for member in service.members %}{{ member.host}}{% if not loop.last %},{% endif %}{% endfor %}?pc.wait_prim=no |
|
|
wsrep_provider_options="gcache.size=8192M" |
|
|
|
|
|
|
|
|
wsrep_provider_options="gcache.size={{ service.get('gcache.size', 2048M) }}" |
|
|
#wsrep_provider_options="pc.bootstrap=true" |
|
|
#wsrep_provider_options="pc.bootstrap=true" |
|
|
# Mandatory settings |
|
|
# Mandatory settings |
|
|
#wsrep_provider= |
|
|
#wsrep_provider= |