1.检查节点glusterd服务状态。
systemctl status glusterd检查servera确认glusterd处于active状态。systemctl status glusterd检查serverb确认glusterd处于active状态。
[root@servera ~]# systemctl status glusterd
● glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-01-21 11:09:33 CST; 11min ago
Process: 1236 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid --log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1254 (glusterd)
CGroup: /system.slice/glusterd.service
└─1254 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO
Jan 21 11:08:57 servera.lab.example.com systemd[1]: Starting GlusterFS, a clustered file-system server...
Jan 21 11:09:33 servera.lab.example.com systemd[1]: Started GlusterFS, a clustered file-system server.
[root@serverb ~]# systemctl status glusterd
● glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-01-21 08:52:25 CST; 2h 29min ago
Process: 1230 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid --log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exite