docker平台-csphere and swarm

swarm部署参考

测试环境docker-swarm安装部署

 

csphere部署

快速上手部署和使用 cSphere 希云
通过以下命令,只需一分钟,就能把 cSphere 安装起来:
curl -SsL -o /tmp/csphere-install.sh https://csphere.cn/static/csphere-install-v2.sh
sudo env ROLE=controller CSPHERE_VERSION=1.0.1 /bin/sh /tmp/csphere-install.sh
支持的操作系统: CentOS7+、Ubuntu 14.04+查看详细说明和注意事项
注意:Agent主机添加完成后将被添加到在NAT分组中

http://172.28.2.201:1016

添加主机,在主机中执行下述命令
curl -SsL -o /tmp/csphere-install.sh https://csphere.cn/static/csphere-install-v2.sh
sudo env ROLE=agent CONTROLLER_IP=172.28.2.1 CONTROLLER_PORT=1016 CSPHERE_VERSION=1.0.1 AUTH_KEY=a928546fa3bf15880c999116b4249f263387de7e33663a6ac7be9dc27f1e6e940e322f39d870cdfc SVRPOOLID=584137f9e6fac6000d000003 /bin/sh /tmp/csphere-install.sh

172.28.2.2将shell脚本传至其他服务器

各服务器中执行
docker pull 172.28.2.2:4000/csphere:1.0.1
docker tag 172.28.2.2:4000/csphere:1.0.1 csphere/csphere:1.0.1
sudo env ROLE=agent CONTROLLER_IP=172.28.2.1 CONTROLLER_PORT=1016 CSPHERE_VERSION=1.0.1 AUTH_KEY=a928546fa3bf15880c999116b4249f263387de7e33663a6ac7be9dc27f1e6e940e322f39d870cdfc SVRPOOLID=584137f9e6fac6000d000003 /bin/sh /tmp/csphere-install.sh

希云官网http://csphere.cn/product/csphere

posted @ 2018-05-09 16:37  Cslc-DaweiJ  阅读(389)  评论(0)    收藏  举报