7 2.0 Demo Application Cluster
吴晟 Wu Sheng edited this page 2017-04-26 20:26:52 +08:00
  • This Demo Application Cluster is also based on docker and compose tech. If you want to trace a distributed application cluster, and don't want to write one on your own, this will be a good choice. Please make sure you know things about docker and compose.xml.

  • You can get source code this demo at sky-walking/docker-skywalking-test-cluster

  • Quick Run

(1) Download agent

(2) Rename agent jar file

  • Rename skywalking-agent-2.0-2016.jar to skywalking-agent.jar

(3) Config the docker-compose.xml

  • You can find the file here.
  • Set SERVER_LIST to the Routing server
    environment:
      - SERVER_LIST=192.168.1.6:23000

(4) Run the commands

   > docker-compose pull
   > docker-compose up

(5) Browse http://localhost:18080/portal/, and wait for a moment.

  • The time you should wait, depends on the performance.

(6) You can view the Trace