v0.0.0
This commit is contained in:
20
conf.d/galera.cnf.template
Normal file
20
conf.d/galera.cnf.template
Normal file
@@ -0,0 +1,20 @@
|
||||
[mysqld]
|
||||
# 基本設定
|
||||
bind-address=0.0.0.0
|
||||
binlog_format=ROW
|
||||
default_storage_engine=InnoDB
|
||||
innodb_autoinc_lock_mode=2
|
||||
innodb_flush_log_at_trx_commit=0
|
||||
query_cache_size=0
|
||||
query_cache_type=0
|
||||
|
||||
# Galera Cluster
|
||||
wsrep_on=ON
|
||||
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
||||
wsrep_node_name="${MariaDB__NODE_NAME}"
|
||||
wsrep_node_address="${MariaDB__NODE_ADDRESS}"
|
||||
wsrep_cluster_name="${MariaDB__CLUSTER_NAME}"
|
||||
wsrep_cluster_address="${MariaDB__CLUSTER_ADDRESS}"
|
||||
|
||||
# SST (State Snapshot Transfer)
|
||||
wsrep_sst_method=rsync
|
||||
Reference in New Issue
Block a user