~/talk

Automate MariaDB Galera deployments with Ansible

Talkat MariaDB HA MiniFest 2021 · on Wednesday, 2021-03-24· [devops-and-delivery]
slides:none on file

Automates a three‑node MariaDB Galera deployment and monitoring stack using Ansible with a working GitHub example that “installs everything you need”; uses two inventories (production/staging), a meta role mariadb-galera-complete that pulls in roles (linux‑for‑mariadb, chrony, mariadb‑galera, mariadb‑permissions, mydumper, pmm‑client, cronjobs), validates variables with assertions, and conditionally wipes data when db_init is set; bootstraps by writing wsrep_cluster_address for the first node and tunes kernel swappiness = 0.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:11About MariaDB Knowledge Base
  3. 2:28Example project overview
  4. 2:56Ansible inventories explained
  5. 5:12Production vs staging deployments
  6. 5:35Ansible play and roles structure
  7. 6:17Meta role dependencies
  8. 7:25Base roles for MariaDB
  9. 9:32Linux optimizations for MariaDB
  10. 12:37Validating variables in roles
  11. 15:08Reinitializing data directory
  12. 16:23Node information structure
  13. 17:35Bootstrapping Galera cluster
  14. 19:54Restoring backups on first node
  15. 20:21Database permissions setup
  16. 21:25Centralized cronjob management
  17. 22:33Q&A session begins
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.