MyCAT服务已经重启
loadZk=ture
zkURL=192.168.0.107:2181,192.168.0.104:2181,192.168.0.108:2181
clusterId=mycat-cluster-1
myid=mycat_01
clusterSize=2
clusterNodes=mycat_01,mycat_04
#server booster ; booster install on db same server,will reset all minCon to 2
type=server
boosterDataHosts=dataHost1
192.168.0.107 的myid.properties 配置文件是上面
192.168.0.106 的myid.properties 配置文件是下面
zkURL=192.168.0.107:2181,192.168.0.104:2181,192.168.0.108:2181
clusterId=mycat-cluster-1
myid=mycat_04
clusterSize=2
clusterNodes=mycat_01,mycat_04
#server booster ; booster install on db same server,will reset all minCon to 2
type=server
boosterDataHosts=dataHost1