Difference: CloudSuiteV3Installation (9 vs. 10)

Revision 102016-05-31 - HamidMoghaddam

Line: 1 to 1
 
META TOPICPARENT name="CloudSuite"
-- HamidMoghaddam - 18 May 2016
Line: 24 to 24
  1. docker pull cloudsuite/web-serving:web_server
Changed:
<
<
2. docker -H tcp://10.0.100.62:22222 run -dt --net swarm-agent --name=web_server cloudsuite/web-serving:web_server /etc/bootstrap.sh I got subnet conflict in this stage (Thanks again to CloudSuit team) After one they searching I found out creating overlay network (step 11 of swarm manager creation) should be change to docker -H tcp://10.0.100.62:22222 network create --driver overlay --subnet=172.28.0.0/16 --ip-range=172.28.5.0/24 swarm-network
>
>
2. docker -H tcp://10.0.100.62:22222 run -dt -e constraint:node==cs-v3-web-frontend-x64 --net=swarm-network --name=web_server cloudsuite/web-serving:web_server /etc/bootstrap.sh I got subnet conflict in this stage (Thanks again to CloudSuit team) After one they searching I found out creating overlay network (step 11 of swarm manager creation) should be change to docker -H tcp://10.0.100.62:22222 network create --driver overlay --subnet=172.28.0.0/16 --ip-range=172.28.5.0/24 swarm-network
 

Backend

  1. docker pull cloudsuite/web-serving:db_server
Changed:
<
<
  1. docker run -dt --net=my_net --name=mysql_server cloudsuite/web-serving:db_server
>
>
  1. docker -H tcp://10.0.100.62:22222 run -dt -e constraint:node==cs-v3-web-backend-x64 --net=swarm-network --name=mysql_server cloudsuite/web-serving:db_server
 

Memcache

  1. docker pull cloudsuite/web-serving:memcached_server
Changed:
<
<
  1. docker run -dt --net=my_net --name=memcache_server cloudsuite/web-serving:memcached_server
>
>
  1. docker -H tcp://10.0.100.62:22222 run -dt -e constraint:node==cs-v3-web-memcached-x64 --net=swarm-network --name=memcache_server cloudsuite/web-serving:memcached_server
 

Client

  1. docker pull cloudsuite/web-serving:faban_client
Changed:
<
<
  1. WEB_SERVER_IP=$(docker inspect --format '' web_server)
  2. docker run --net=my_net --name=faban_client cloudsuite/web-serving:faban_client WEB_SERVER_IP
>
>
  1. docker inspect --format '' web_server
  2. docker run --net=my_net --name=faban_client cloudsuite/web-serving:faban_client [put IP address of step 2 in here]

Running benchmark

Step 3 in client section runs benchmark but I can not change running time of benchmarking so I would like have faban client web page so I do following steps:

  1. docker -H tcp://10.0.100.62:22222 run -it --entrypoint=/bin/bash -e constraint:node==cs-v3-web-memcached-x64 --net=swarm-network --name=faban_client cloudsuite/web-serving:faban_client
  2. after login to client docker I run faban faban/master/bin/startup.sh
  3. java -jar Usergen.jar https://web_server:8080
  4. now I can see faban client web page however increasing steady time in it make "java.lang.Exception: Driver failed to complete benchmark run" error some people said it happened because of Openjdk 7 so I should switch to Oracle Java in client docker
  5. add-apt-repository ppa:webupd8team/java made "add-apt-repository: command not found" error so I used apt-get install software-properties-common python-software-properties
  6. sudo apt-get update
  7. apt-get install oracle-java8-installer
  8. used /usr/lib/jvm/java-8-oracle in java home field of faban client web page
  9. The error still remains.(I will work on it tommorrow)
 
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