Added galera
This commit is contained in:
22
Galera/mariadb_conf/GLUSTER-NODE-1.cnf
Normal file
22
Galera/mariadb_conf/GLUSTER-NODE-1.cnf
Normal file
@@ -0,0 +1,22 @@
|
||||
# vim /etc/mysql/conf.d/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="GLUSTER-NPM"
|
||||
wsrep_cluster_address="gcomm://ADDRESSES,SEPARATED,WITH,COMA"
|
||||
|
||||
# Galera Synchronization Configuration
|
||||
wsrep_sst_method=rsync
|
||||
|
||||
# Galera Node Configuration
|
||||
wsrep_node_address="<THIS_NODE_IP>"
|
||||
wsrep_node_name="GLUSTER-NODE-1"
|
||||
Reference in New Issue
Block a user