Skip to content

Repository files navigation

Cluster

redis/mysql/etcd cluster, addons mysqlrouter image

How to use the cluster

Prepare 3 or more servers. Clone the repository, use init.sh to init the environment.

How the check the cluster

cluster.status()
image
docker exec redis1 redis-cli -a 'A8K5h7+6!?' --cluster check 10.18.30.11:6379
image
docker exec -it etcd etcdctl --endpoints=http://10.18.30.11:2379,http://10.18.30.12:2379,http://10.18.30.13:2379 endpoint status --write-out=table
image

How to test the HA of the cluster

cluster_check.sh: used to check the health of the cluster.
cluster_operator.sh: used to test the r/w ops of the cluster.
cluster_consistency.sh: used to check the consistency of the cluster.

About

redis/mysql/etcd cluster, addons mysqlrouter

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages