Difference: CloudSuiteV3Installation (5 vs. 6)

Revision 62016-05-26 - HamidMoghaddam

Line: 1 to 1
 
META TOPICPARENT name="CloudSuite"
-- HamidMoghaddam - 18 May 2016
Line: 7 to 7
  In order to connect dockers which are installed on different nods we need installing Swarm.
Changed:
<
<
  1. cloned Vm and named it cs-v3-web-swarmconsole-x64.
>
>
  1. cloned Vm and named it cs-v3-web-swarmmanager-x64 and assigned it 10.0.100.62.
 
  1. installed docker by this link guide.
  2. opened terminal and wrote: docker pull swarm
  3. Got error "Cannot connect to the Docker daemon. Is the docker daemon running on this host?" so run sudo usermod -aG docker mike and sudo usermod -aG docker root then logout and login
  4. docker pull progrium/consul
Changed:
<
<
  1. add DOCKER_OPTS="-H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 \ --cluster-store consul://10.0.100.52:8500 \ --cluster-advertise eth0:2375" to /etc/default/docker
>
>
  1. add 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" to /etc/default/docker(in this link they wrote step 6 completly wrong and take one day to figure out what happens.)
  2. sudo service docker restart
  3. 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)
  4. 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)
  5. 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.
  6. docker -H tcp://10.0.100.62:22222 network create --driver overlay swarm-network
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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