ClusterControl

唐彦
2023-12-01

ClusterControl Docker操作

1.docker pull severalnines/clustercontrol
2.docker run -d --name ClusterControl -p 5000:80 severalnines/clustercontrol
3.docker logs -f ClusterControl
4.docker run -d --name MySQL1 -p 6661:3306 --link ClusterControl:ClusterControl -e CLUSTER_TYPE=rency -e CLUSTER_NAME=RencyCC -e INITIAL_CLUSTER_SIZE=3 severalnines/centos-ssh
5.docker run -d --name MySQL2 -p 6662:3306 --link ClusterControl:ClusterControl -e CLUSTER_TYPE=rency -e CLUSTER_NAME=RencyCC -e INITIAL_CLUSTER_SIZE=3 severalnines/centos-ssh
6.docker run -d --name MySQL3 -p 6663:3306 --link ClusterControl:ClusterControl -e CLUSTER_TYPE=rency -e CLUSTER_NAME=RencyCC -e INITIAL_CLUSTER_SIZE=3 severalnines/centos-ssh
7.http://{Docker_host}:5000/ClusterControl ->Activity->Jobs
8.docker run -d --name HAProxy1 -p 6664:3306 --link ClusterControl:ClusterControl -e CLUSTER_TYPE=rency -e CLUSTER_NAME=RencyCC -e INITIAL_CLUSTER_SIZE=3 severalnines/centos-ssh
9.docker exec -it ClusterControl /bin/bash
10.ssh-copy-id 172.17.0.2/3/4



 类似资料:

相关阅读

相关文章

相关问答