Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
infrastructure:db:mariadb:cluster [26/12/2020 14:40] Stéphane Pailletinfrastructure:db:mariadb:cluster [02/05/2024 10:57] (Version actuelle) Stéphane Paillet
Ligne 1: Ligne 1:
 ====== Cluster MariaDB ======= ====== Cluster MariaDB =======
 +{{tag>DB "bases de données" MariaDB cluster Galera Haproxy}}
  
 ===== Infrastructure ===== ===== Infrastructure =====
Ligne 423: Ligne 423:
 } }
  
-vrrp_script haproxy +vrrp_script chk_haproxy 
-        script "killall -haproxy"+        script "/usr/bin/systemctl is-active --quiet haproxy"
         interval 2         interval 2
         weight 2         weight 2
Ligne 444: Ligne 444:
         }         }
         track_script {         track_script {
-                haproxy+                chk_haproxy
         }         }
 } }
Ligne 455: Ligne 455:
 global_defs { global_defs {
         notification_email {         notification_email {
-                root@neotion.com+                root@example.com
         }         }
         notification_email_from lac-dbcl01-lb02-noreply@neotion.com         notification_email_from lac-dbcl01-lb02-noreply@neotion.com
-        smtp_server smtp.neotion.com+        smtp_server smtp.example.com
         smtp_connect_timeout 30         smtp_connect_timeout 30
         router_id lac-dbcl01-lb02         router_id lac-dbcl01-lb02
 } }
  
-vrrp_script haproxy +vrrp_script chk_haproxy 
-        script "killall -haproxy"+        script "/usr/bin/systemctl is-active --quiet haproxy"
         interval 2         interval 2
         weight 2         weight 2
Ligne 484: Ligne 484:
         }         }
         track_script {         track_script {
-                haproxy+                chk_haproxy
         }         }
 } }
  • infrastructure/db/mariadb/cluster.1608993600.txt.gz
  • Dernière modification : 26/12/2020 14:40
  • de Stéphane Paillet