Allow setting additional galera WSREP options
Change-Id: I26206bece95d31c0182e75f2a585c50d6f0fad6f
This commit is contained in:
parent
3190a2fdaa
commit
ea36bbf1d1
@ -69,6 +69,11 @@ mariadb_extra_volumes: "{{ default_extra_volumes }}"
|
|||||||
########################################
|
########################################
|
||||||
mariadb_service: "{{ mariadb_services['mariadb'] }}"
|
mariadb_service: "{{ mariadb_services['mariadb'] }}"
|
||||||
|
|
||||||
|
###############
|
||||||
|
# WSREP options
|
||||||
|
###############
|
||||||
|
mariadb_wsrep_extra_provider_options: []
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# Backups
|
# Backups
|
||||||
####################
|
####################
|
||||||
|
@ -32,9 +32,9 @@ wsrep_cluster_address=gcomm://{% if (groups['mariadb'] | length) > 1 %}{% for ho
|
|||||||
# FIXME(jeffrey4l): Revert when using C8 (CentOS+Ussuri)
|
# FIXME(jeffrey4l): Revert when using C8 (CentOS+Ussuri)
|
||||||
# Use [::] to avoid galera issue.
|
# Use [::] to avoid galera issue.
|
||||||
# for more info see https://github.com/codership/galera/issues/534#issuecomment-472607544
|
# for more info see https://github.com/codership/galera/issues/534#issuecomment-472607544
|
||||||
wsrep_provider_options=gmcast.listen_addr=tcp://[::]:{{ mariadb_wsrep_port }};ist.recv_addr={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_ist_port }}
|
wsrep_provider_options=gmcast.listen_addr=tcp://[::]:{{ mariadb_wsrep_port }};ist.recv_addr={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_ist_port }};{% for option in mariadb_wsrep_extra_provider_options %}{{ option }}{% if not loop.last %};{% endif %}{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
wsrep_provider_options=gmcast.listen_addr=tcp://{{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_wsrep_port }};ist.recv_addr={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_ist_port }}
|
wsrep_provider_options=gmcast.listen_addr=tcp://{{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_wsrep_port }};ist.recv_addr={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_ist_port }};{% for option in mariadb_wsrep_extra_provider_options %}{{ option }}{% if not loop.last %};{% endif %}{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
wsrep_node_address={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_wsrep_port }}
|
wsrep_node_address={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_wsrep_port }}
|
||||||
|
@ -362,6 +362,12 @@
|
|||||||
# to configure IPv6 in RabbitMQ server.
|
# to configure IPv6 in RabbitMQ server.
|
||||||
#rabbitmq_server_additional_erl_args: ""
|
#rabbitmq_server_additional_erl_args: ""
|
||||||
|
|
||||||
|
#################
|
||||||
|
# MariaDB options
|
||||||
|
#################
|
||||||
|
# List of additional WSREP options
|
||||||
|
#mariadb_wsrep_extra_provider_options: []
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# External Ceph options
|
# External Ceph options
|
||||||
#######################
|
#######################
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Introduce new configuration variable `mariadb_wsrep_extra_provider_options`
|
||||||
|
allowing users to set additional WSREP options.
|
Loading…
Reference in New Issue
Block a user