www.icesr.com
IT运维工程师的摇篮

ClusterControl

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

未经允许不得转载:冰点网络 » ClusterControl

分享到:更多 ()

评论 抢沙发

评论前必须登录!