Skip to content

Enable Distributed Cluster

Uplusware edited this page Apr 16, 2018 · 6 revisions

NOTE: The distributed cluster is based on the MySQL/MariaDB replication function.

use make DIST=1 to compile the code. And install it into every host of cluster.

Pick up one host as master and set ClusterMaster = yes and others set ClusterMaster = no

sudo eriseutil --install

Set mysql replciation in the slaves for the following tables:

replicate-do-table=erisemail_db.usertbl

replicate-do-table=erisemail_db.leveltbl

replicate-do-table=erisemail_db.grouptbl