kolla-ansible/ansible/roles
Michal Arbet 7989756699 Improvement of ProxySQL Monitoring Configuration
This update enhances the monitoring of the databasecluster
in ProxySQL. The default monitoring intervals were insufficient
for reliably detecting failures in the Galera cluster environment.

A detailed configuration for monitoring intervals has been
introduced, providing better control over how quickly and accurately
ProxySQL can identify issues.

  - Variables such as `mariadb_monitor_connect_interval`,
    `mariadb_monitor_galera_healthcheck_interval, and
    `mariadb_monitor_ping_interval` significantly reduce
    the time between connection checks.

  - Timeouts like `mariadb_monitor_galera_healthcheck_timeout`
    and `mariadb_monitor_ping_timeout` allow faster failure
    detection, while `mariadb_monitor_galera_healthcheck_max_timeout_count`
    sets the maximum number of allowed timeouts before marking a node as down.

Calculation:

 - Galera healthcheck:

   4 seconds (interval) + 1 second (timeout) + 4 seconds (interval)
   + 1 second (timeout) = 10 seconds.

 - Ping healthcheck:

   3 seconds (interval) + 2 seconds (timeout) + 3 seconds (interval)
   + 2 seconds (timeout) = 10 seconds.

Both the health check and ping check mechanisms will detect a node failure
within a maximum of 10 seconds. Both processes (health check and ping)
operate independently, and failure in either mechanism will mark the node
as failed.

Health Check Failure Detection: Up to 10 seconds.
Ping Failure Detection: Up to 10 seconds.
Connect Attempts: ProxySQL also tries to connect every 2 seconds, which
helps monitor connectivity.

These changes ensure that ProxySQL can detect issues in 10 seconds
as haproxy, significantly reducing downtime compared to default settings.
This adjustment enables faster and more reliable monitoring, improving system
stability and reducing potential downtime in production environments.

Change-Id: Ic28801519cdb35ed2387a1468b9df661847a5476
2024-09-23 15:38:10 +02:00
..
aodh Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
barbican Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
bifrost Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
blazar Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
ceilometer Refactor dev mode 2024-09-03 09:49:37 +02:00
ceph-rgw haproxy: support single external frontend 2023-06-29 01:44:00 +02:00
certificates Add support for LetsEncrypt-managed certs 2023-11-07 10:59:51 +01:00
cinder Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
cloudkitty Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
collectd Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
common Add fluentd_enable_watch_timer to Let’s Encrypt 2024-08-29 10:21:56 +02:00
cyborg Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
designate Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
destroy Add container engine option to scripts 2023-04-28 16:16:55 +02:00
etcd Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
glance Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
gnocchi Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
grafana Merge "Fix redundant extra config files in grafana role" 2024-08-22 11:36:10 +00:00
hacluster Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
haproxy-config Merge "Apply public firewalld rules immediately" 2024-08-21 12:47:50 +00:00
heat Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
horizon Refactor dev mode 2024-09-03 09:49:37 +02:00
influxdb Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
ironic [Trivial] Fix ironic when proxysql is enabled 2024-09-19 21:09:27 +02:00
iscsi Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
keystone make OIDCClaimDelimiter configurable 2024-09-12 10:14:49 +02:00
kuryr Refactor dev mode 2024-09-03 09:49:37 +02:00
letsencrypt Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
loadbalancer Improvement of ProxySQL Monitoring Configuration 2024-09-23 15:38:10 +02:00
loadbalancer-config Add proxysql-config role and wrap it in loadbalancer-config role 2022-08-09 12:16:16 +02:00
magnum Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
manila Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
mariadb Fix mariadb backup not working 2024-09-17 09:58:10 +02:00
masakari Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
memcached Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
mistral Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
module-load Drop support for /etc/modules 2020-08-25 20:20:57 +01:00
multipathd Fix os-brick multipathd del map fails for SAN multipath devices 2024-09-05 12:59:04 +03:00
neutron Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
nova Merge "Refactor nova upgrade task" 2024-09-13 13:26:49 +00:00
nova-cell Refactor dev mode 2024-09-03 09:49:37 +02:00
octavia Merge "Fix octavia-interface timeout" 2024-09-18 14:43:48 +00:00
octavia-certificates Add support for checking Octavia cert expiration 2023-04-27 15:22:12 +01:00
opensearch Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
openvswitch Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
ovn-controller Merge "Add support for customising Neutron physical network names" 2024-08-21 09:54:23 +00:00
ovn-db Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
ovs-dpdk Merge "Add support for customising Neutron physical network names" 2024-08-21 09:54:23 +00:00
placement Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
prechecks Bump Ansible versions to 2.16 and 2.17 2024-08-16 18:52:07 +00:00
prometheus Add option to enable proxysql's prometheus exporter 2024-09-17 09:58:10 +02:00
proxysql-config Fix issues introduced by ansible-lint 6.6.0 2022-09-21 14:34:54 +00:00
prune-images Add support of podman deployment 2023-10-20 17:51:52 +02:00
rabbitmq Add a precheck to catch RMQ SLURP upgrades 2024-08-29 11:47:31 +00:00
redis Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
service-cert-copy Patch service-cert-copy role to be used w/o HAProxy 2024-06-28 10:20:54 +02:00
service-config-validate Refactor of kolla_container_facts 2024-08-12 09:54:05 +02:00
service-images-pull Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
service-ks-register Update keystone service user passwords 2024-01-29 15:05:09 +00:00
service-precheck Add Ansible group check to prechecks 2020-02-28 16:23:14 +00:00
service-rabbitmq Set node to a valid rabbitmq host 2024-06-10 15:30:01 -05:00
service-stop/tasks Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
skyline Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
swift Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
sysctl Add sysctl role 2024-04-08 13:12:41 +02:00
tacker Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
telegraf Merge "Add support for docker_image_name_prefix" 2024-08-20 13:37:50 +00:00
trove Refactor dev mode 2024-09-03 09:49:37 +02:00
venus Refactor dev mode 2024-09-03 09:49:37 +02:00
watcher Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00
zun Merge "Put memcache_security_strategy in single place at all.yml" 2024-09-11 14:54:15 +00:00