Mariadb 集群在重新启动时不会启动

Mariadb 集群在重新启动时不会启动

我在 3 个虚拟机(称为controller1、controller2、controller3)上为 mariadb 创建集群,它们工作正常。

但是,在我重新启动虚拟机后,mariadb 未启动:

[root@controller1 ~]# rabbitmqctl cluster_status
Cluster status of node rabbit@controller1 ...
Error: unable to connect to node rabbit@controller1: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit@controller1]

rabbit@controller1:
  * connected to epmd (port 4369) on controller1
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on controller1
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-24@controller1'
- home dir: /var/lib/rabbitmq
- cookie hash: MpCdZgRS3T3SYr+AfOYx+A==

正常情况下,我们知道如果重新启动集群节点,mariadb 集群也会重新启动。

我的虚拟机系统是 CentOS 7.2,我确信 ntp 日期是相同的。

相关内容