Hi @all,
last weekend I tried to configured a galera cluster using mysql 5.7 respectively mariadb 10.1 at some ubuntu-hosts 16.04.
wsrep should be included into mysql respectively mariadb so no dedicated wsrep-package should be necessary.
Always when I wanted to start the mysql-deamon I got the message that --wsrep-new-cluster is an unknown option.
I have no clue what is wrong.
When I comment all wsrep-parameter then mysql starts well.
/usr/lib/libgalera_smm.so is available.
The setting within /etc/mysql/my.cnf are:
!includedir /etc/mysql/conf.d/
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
binlog_format=ROW
#bind-address=0.0.0.0
default_storage_engine=innodb
innodb_autoinc_lock_mode=2
innodb_flush_log_at_trx_commit=0
innodb_buffer_pool_size=122M
wsrep_on=ON
wsrep_provider=/usr/lib/libgalera_smm.so
wsrep_provider_options="gcache.size=300M; gcache.page_size=300M"
wsrep_cluster_name="myGalera"
wsrep_cluster_address="gcomm://
192.168.31.10,192.168.31.20,192.168.31.40"
wsrep_node_name=u-1
wsrep_node_address="192.168.31.10"
wsrep_sst_method=rsync
[mysql_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Does anyone has a hint?
Thanks a lot
Frank