Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
    • MySQL / MariaDB
      • Copy DB
      • Create DB
      • Export / Import
      • Percona
      • Queries
      • Reset root password
      • galera
    • Oracle
    • MS SQL
    • PostgreSQL
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
  • database

Create

# start first node
galera_new_cluster

# install 
mariadb-backup

# /etc/mysql/conf.d/90-galera.cnf
wsrep_sst_method = mariabackup

# fix systemd timeout
systemctl show mysql.service -p TimeoutStartUSec
systemctl edit mysql.service

[Service]
TimeoutStartSec=7200s

systemctl daemon-reload

# cat /etc/systemd/system/mariadb.service.d/override.conf
[Service]
TimeoutStartSec=7200s

Show node IPs

for IP in db1 db2 db3; do
    echo ${IP}
    ssh ${IP} cat /var/lib/mysql/grastate.dat
done
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung