Merge "Improvement of ProxySQL Monitoring Configuration"
This commit is contained in:
commit
1cf6c3af3b
@ -480,7 +480,15 @@ mariadb_wsrep_port: "4567"
|
||||
mariadb_ist_port: "4568"
|
||||
mariadb_sst_port: "4444"
|
||||
mariadb_clustercheck_port: "4569"
|
||||
|
||||
mariadb_monitor_user: "{{ 'monitor' if enable_proxysql | bool else 'haproxy' }}"
|
||||
mariadb_monitor_connect_interval: "2000"
|
||||
mariadb_monitor_galera_healthcheck_interval: "4000"
|
||||
mariadb_monitor_galera_healthcheck_timeout: "1000"
|
||||
mariadb_monitor_galera_healthcheck_max_timeout_count: "2"
|
||||
mariadb_monitor_ping_interval: "3000"
|
||||
mariadb_monitor_ping_timeout: "2000"
|
||||
mariadb_monitor_ping_max_failures: "2"
|
||||
|
||||
mariadb_datadir_volume: "mariadb"
|
||||
|
||||
|
@ -22,6 +22,13 @@ mysql_variables:
|
||||
interfaces: "{{ kolla_internal_vip_address | put_address_in_context('url') }}:{{ database_port }}"
|
||||
monitor_username: "{{ mariadb_monitor_user }}"
|
||||
monitor_password: "{{ mariadb_monitor_password }}"
|
||||
monitor_connect_interval: "{{ mariadb_monitor_connect_interval }}"
|
||||
monitor_galera_healthcheck_interval: "{{ mariadb_monitor_galera_healthcheck_interval }}"
|
||||
monitor_galera_healthcheck_timeout: "{{ mariadb_monitor_galera_healthcheck_timeout }}"
|
||||
monitor_galera_healthcheck_max_timeout_count: "{{ mariadb_monitor_galera_healthcheck_max_timeout_count }}"
|
||||
monitor_ping_interval: "{{ mariadb_monitor_ping_interval }}"
|
||||
monitor_ping_timeout: "{{ mariadb_monitor_ping_timeout }}"
|
||||
monitor_ping_max_failures: "{{ mariadb_monitor_ping_max_failures }}"
|
||||
|
||||
mysql_servers:
|
||||
{% for shard_id, shard in mariadb_shards_info.shards.items() %}
|
||||
|
11
releasenotes/notes/proxysql-monitor-0adc0594c06c7362.yaml
Normal file
11
releasenotes/notes/proxysql-monitor-0adc0594c06c7362.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Introduces new variables ``mariadb_monitor_connect_interval``,
|
||||
``mariadb_monitor_galera_healthcheck_interval``,
|
||||
``mariadb_monitor_galera_healthcheck_timeout``,
|
||||
``mariadb_monitor_galera_healthcheck_max_timeout_count``,
|
||||
``mariadb_monitor_ping_interval``, ``mariadb_monitor_ping_timeout``,
|
||||
and ``mariadb_monitor_ping_max_failures``.
|
||||
These allow faster detection of issues in Galera clusters,
|
||||
reducing downtime to 10 seconds.
|
Loading…
Reference in New Issue
Block a user