-- Main.HamidMoghaddam - 18 May 2016 The new version of CloudSuite is developed on Docker files so it needs different installation than last one. The new version needs Ubuntu 14.04 so I cloned one of VM and upgraded it to 14.04. ---++ Creating Swarm Manager In order to connect dockers which are installed on different nods we need installing Swarm. 1 cloned Vm and named it cs-v3-web-swarmmanager-x64 and assigned it 10.0.100.62. 1 installed docker by this [[https://docs.docker.com/engine/installation/linux/ubuntulinux/][link]] guide. 1 <font color="crimson" class="WYSIWYG_COLOR">%BLACK%opened terminal and wrote:%ENDCOLOR% docker pull swarm</font> 1 <font color="crimson" class="WYSIWYG_COLOR">%BLACK%Got error%ENDCOLOR%%BLACK% "Cannot connect to the Docker daemon. Is the docker daemon running on this host?"%ENDCOLOR% %BLACK%so run %ENDCOLOR%sudo usermod -aG docker mike %BLACK%and%ENDCOLOR% sudo usermod -aG docker root </font>%BLACK%then logout and login%ENDCOLOR% 1 <font color="crimson" class="WYSIWYG_COLOR">docker pull progrium/consul</font> 1 <font color="crimson" class="WYSIWYG_COLOR">%BLACK%add%ENDCOLOR% DOCKER_OPTS="-H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 \ --cluster-store consul://10.0.100.62:8500 \ --cluster-advertise eth0:2375" </font>%BLACK%to /etc/default/docker(in this [[https://cloudsuite.ch/swarm/][link]] they wrote step 6 completly wrong and take one day to figure out what happens.)%ENDCOLOR% 1 sudo service docker restart 1 docker run -d -p 8500:8500 --hostname 10.0.100.62 --name consul-store progrium/consul -server -bootstrap (again in the swarm installation guide by CloudSuite, they made this line mistake and consumed a lot of time to solve it) 1 docker run -d --name swarm-agent swarm join --advertise=10.0.100.62 :2375 consul://10.0.100.62:8500 (again CloudSuite team writed this line wrongly. Now I am not surprised why CloudSuite is such a confusing software) 1 repeat step 2,3,4,6,7,9 on every VMs but just in step 9 replace --advertise IP address with each VM IP address. 1 docker -H tcp://10.0.100.62:22222 network create --driver overlay swarm-network
This topic: ORUA
>
WebHome
>
ORICT
>
Bench
>
CloudSuite
>
CloudSuiteV3Installation
Topic revision: r6 - 2016-05-26 - HamidMoghaddam
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback