I have setup a cluster with 3 nodes :
galera.cnf file is
cat /etc/my.cnf.d/galera.cnf
[mysqld]
wsrep_on=ON
wsrep_provider=/usr/lib64/galera-4/libgalera_smm.so
wsrep_cluster_address="gcomm://1xx.1.23.112,1xx.1.23.97,1xx.1.23.95"
binlog_format=row
wsrep_sst_method=mariabackup
wsrep_sst_auth = xxxxxxx:yyyyy
default_storage_engine=InnoDB
innodb_autoinc_lock_mode=2
wsrep_node_address=1xx.1.23.97
wsrep_node_name=node2
the cluster has been started well with the three nodes , but when I stopped mariaBD service on
1xx.1.23.112 , it doesn't want to start again
when I type :
systemctl status -l mariadb
● mariadb.service - MariaDB 10.4.28 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: activating (start) since خ 2023-03-02 09:03:51 UTC; 2s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/ Process: 10370 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 10368 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 10453 (mysqld)
CGroup: /system.slice/mariadb.service
└─10453 /usr/sbin/mysqld --wsrep_start_position=00000000-0000-0000-0000-000000000000:-1
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: restore pc from disk failed
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: GMCast version 0
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: (2805daf1-bd63, 'tcp://
0.0.0.0:4567') listening at tcp://
0.0.0.0:4567مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: (2805daf1-bd63, 'tcp://
0.0.0.0:4567') multicast: , ttl: 1
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: EVS version 1
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: gcomm: connecting to group 'my_wsrep_cluster', peer '1xx.1.23.95:,1xx.1.23.97:,1xx.1.23.112:'
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: (2805daf1-bd63, 'tcp://
0.0.0.0:4567') Found matching local endpoint for a connection, blacklisting address tcp://1xx.1.23.112:4567
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: (2805daf1-bd63, 'tcp://
0.0.0.0:4567') connection established to bc2b6b87-9739 tcp://xx.1.23.95:4567
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: (2805daf1-bd63, 'tcp://
0.0.0.0:4567') turning message relay requesting on, nonlive peers:
مار 02 09:03:53
testupgrade.xx.eu mysqld[10453]: 2023-03-02 9:03:53 0 [Note] WSREP: (2805daf1-bd63, 'tcp://
0.0.0.0:4567') connection established to 3cbdb95a-b46c tcp://xx.1.23.97:4567