金融级MySQL高可用方案-Xenon

搞了一下午,终于把xenon环境搭建起来了。

目前创新互联已为成百上千家的企业提供了网站建设、域名、网页空间、网站改版维护、企业网站设计、林芝网站维护等服务,公司将坚持客户导向、应用为本的策略,正道将秉承"和谐、参与、激情"的文化,与客户和合作伙伴齐心协力一起成长,共同发展。

[root@devdb01 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)

文章名称:金融级MySQL高可用方案-Xenon
网页地址:http://myzitong.com/article/gspoed.html