Skip to content

Instantly share code, notes, and snippets.

@djamp42
Created June 21, 2021 13:17
Show Gist options
  • Save djamp42/9854b9726bb163bdc33022bc2c59e272 to your computer and use it in GitHub Desktop.
Save djamp42/9854b9726bb163bdc33022bc2c59e272 to your computer and use it in GitHub Desktop.
Galera.cnf
[mysqld]
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
bind-address=0.0.0.0
# Galera Provider Configuration
wsrep_on=ON
wsrep_provider=/usr/lib/galera/libgalera_smm.so
# Galera Cluster Configuration
wsrep_cluster_name="test_cluster"
wsrep_cluster_address="gcomm://192.168.1.35,192.168.1.36,192.168.1.37"
# Galera Synchronization Configuration
wsrep_sst_method=rsync
# Galera Node Configuration
wsrep_node_address="192.168.1.36"
wsrep_node_name="librenms1.36"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment