where the config of the cluster Galera mysql 5.7 and how to run it?

67 views
Skip to first unread message

sashancool

unread,
Aug 25, 2017, 3:49:09 PM8/25/17
to codership
Hellow!
Can`t found how to start the cluster Galera for mysql 5.7. For mysql 5.6 I created a separate file galera.cnf and put it in /etc/mysql/galera.cnf. To start the cluster before doing sudo /etc/init.d/mysql start --wsrep-new-cluster (ubuntu 16.04). For Mysql version 5.7 on your documentation is written it should be in /usr/bin/mysqld_bootstrap. Where should be spelled out these options и как запустить кластер без /etc/init.d ? 

query_cache_size=0
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
query_cache_type=0
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://first_ip,second_ip,third_ip"
# Galera Synchronization Configuration
wsrep_sst_method=rsync
# Galera Node Configuration
wsrep_node_address="this_node_ip"
wsrep_node_name="this_node_name"  ?
Reply all
Reply to author
Forward
0 new messages