Différences
Ci-dessous, les différences entre deux révisions de la page.
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:35] – Stéphane Paillet | infrastructure: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" | ||
===== Infrastructure ===== | ===== Infrastructure ===== | ||
Ligne 306: | Ligne 306: | ||
wsrep_node_address=' | wsrep_node_address=' | ||
wsrep_node_name=' | wsrep_node_name=' | ||
+ | </ | ||
+ | |||
+ | Nous démarrons MariaDB | ||
+ | |||
+ | < | ||
+ | sudo systemctl start mariadb | ||
</ | </ | ||
Ligne 417: | Ligne 423: | ||
} | } | ||
- | vrrp_script | + | vrrp_script |
- | script "killall | + | script "/ |
interval 2 | interval 2 | ||
weight 2 | weight 2 | ||
Ligne 438: | Ligne 444: | ||
} | } | ||
track_script { | track_script { | ||
- | | + | |
} | } | ||
} | } | ||
Ligne 449: | 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 | + | vrrp_script |
- | script "killall | + | script "/ |
interval 2 | interval 2 | ||
weight 2 | weight 2 | ||
Ligne 478: | Ligne 484: | ||
} | } | ||
track_script { | track_script { | ||
- | | + | |
} | } | ||
} | } |