[[email protected] zxdata]# /usr/local/xenon/bin/xenoncli cluster status
+-------------------+---------------------------------+---------+---------+--------------------------+---------------------+----------------+-------------------+
| ID | Raft | Mysqld | Monitor | Backup | Mysql | IO/SQL_RUNNING | MyLeader |
+-------------------+---------------------------------+---------+---------+--------------------------+---------------------+----------------+-------------------+
| 196.55.3.xx:8801 | [ViewID:162 EpochID:2]@LEADER | RUNNING | ON | state:[NONE]? | [ALIVE] [READWRITE] | [true/true] | 196.55.3.xx:8801 |
| | | | | LastError: | | | |
+-------------------+---------------------------------+---------+---------+--------------------------+---------------------+----------------+-------------------+
| 196.55.3.xx:8801 | [ViewID:162 EpochID:2]@FOLLOWER | RUNNING | ON | state:[NONE]? | [ALIVE] [READONLY] | [true/true] | 196.55.3.xx:8801 |
| | | | | LastError: | | | |
+-------------------+---------------------------------+---------+---------+--------------------------+---------------------+----------------+-------------------+
| 196.55.3.xx:8801 | [ViewID:162 EpochID:2]@FOLLOWER | RUNNING | ON | state:[NONE]? | [ALIVE] [READONLY] | [true/true] | 196.55.3.xx:8801 |
| | | | | LastError: | | | |
+-------------------+---------------------------------+---------+---------+--------------------------+---------------------+----------------+-------------------+
(3 rows)
原文:https://blog.51cto.com/roidba/2456100