Difference: CloudSuiteV3Installation (4 vs. 5)

Revision 52016-05-25 - HamidMoghaddam

Line: 1 to 1
 
META TOPICPARENT name="CloudSuite"
-- HamidMoghaddam - 18 May 2016
Changed:
<
<
The new version of CloudSuite is developed on Docker files so it needs different installation than last one. However, because some changes in files are needed for having several web servers so I do not want to use Docker.

Creating Client

>
>
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

 
Changed:
<
<
  1. Clone one Vms from cs-web-frontend-x64
  2. Upgraded it to 14.04
  3. Named it cs-v3-web-client-x64 and assigned 10.0.100.32 by editing /etc/network/interface and /etc/host.
  4. sudo apt-get update && apt-get install -y \ ant \ build-essential \ openjdk-7-jdk \ wget
  5. Download CloudSuite 3 from this link on client.
  6. Set JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 in /etc/environment
  7. Went to /home/mike
  8. wget https://faban.org/downloads/faban-kit-latest.tar.gz
  9. tar zxvf faban-kit-latest.tar.gz
  10. Copy Web20Driver.jar file from CloudSuite downloaded(step 5) to /home/mike/faban/benchmark
  11. /home/mike/faban/master/bin/startup
  12. Open browser with https://10.0.100.32:9980
>
>
In order to connect dockers which are installed on different nods we need installing Swarm.

  1. cloned Vm and named it cs-v3-web-swarmconsole-x64.
  2. installed docker by this link guide.
  3. opened terminal and wrote: docker pull swarm
  4. 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
  5. docker pull progrium/consul
  6. 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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback