[关闭]
@iar 2017-11-06T07:24:19.000000Z 字数 5256 阅读 91

Play deployment

Novu


readme for deployment with ansible

Instructions and logs

  1. cd 2_Frontend
  2. ansible-playbook -i hosts2 ansible/run_play.yml -k -K
  1. p1@p1-M32CD:~/Novu/mesos_mpi_caffe/ansible ansible-playbook -i ~/hosts2 run_play.yml -k -K
  2. SSH password:
  3. SUDO password[defaults to SSH password]:
  4. PLAY [masters] *************************************************************************************************************************************************************************************************************************
  5. TASK [Gathering Facts] *****************************************************************************************************************************************************************************************************************
  6. Monday 19 June 2017 16:06:40 -0700 (0:00:00.019) 0:00:00.019 ***********
  7. ok: [192.168.0.245]
  8. TASK [play_server : Create /opt/NovuPlay folder in server node] ************************************************************************************************************************************************************************
  9. Monday 19 June 2017 16:06:41 -0700 (0:00:00.873) 0:00:00.893 ***********
  10. ok: [192.168.0.245] => (item=absent)
  11. changed: [192.168.0.245] => (item=directory)
  12. TASK [play_server : Copy image, shell from ansible machine to server node (might be master node)] **************************************************************************************************************************************
  13. Monday 19 June 2017 16:06:42 -0700 (0:00:01.180) 0:00:02.073 ***********
  14. changed: [192.168.0.245]
  15. TASK [play_server : Load image from archive] *******************************************************************************************************************************************************************************************
  16. Monday 19 June 2017 16:10:53 -0700 (0:04:10.274) 0:04:12.348 ***********
  17. changed: [192.168.0.245]
  18. TASK [play_server : Run play-java docker container shell script in remote shell] *******************************************************************************************************************************************************
  19. Monday 19 June 2017 16:15:22 -0700 (0:04:29.014) 0:08:41.363 ***********
  20. changed: [192.168.0.245]
  21. PLAY RECAP *****************************************************************************************************************************************************************************************************************************
  22. 192.168.0.245 : ok=5 changed=4 unreachable=0 failed=0
  23. Monday 19 June 2017 16:15:25 -0700 (0:00:02.847) 0:08:44.211 ***********
  24. ===============================================================================
  25. play_server : Load image from archive --------------------------------- 269.01s
  26. play_server : Copy image, shell from ansible machine to server node (might be master node) - 250.27s
  27. play_server : Run play-java docker container shell script in remote shell --- 2.85s
  28. play_server : Create /opt/NovuPlay folder in server node ---------------- 1.18s
  29. Gathering Facts --------------------------------------------------------- 0.87s
  30. p1@p1-M32CD:~/Novu/mesos_mpi_caffe/ansible
  1. [hengz@c0 NovuPlay]$ docker images
  2. REPOSITORY TAG IMAGE ID CREATED SIZE
  3. play-novu 1.0-SNAPSHOT 91fb2f9d3018 59 minutes ago 4.81 GB
  4. prom/prometheus latest 4da113bb6ae3 10 days ago 74.5 MB
  5. grafana/grafana latest f79ce49a1309 3 weeks ago 286 MB
  6. zookeeper latest 5291027d4199 6 weeks ago 143 MB
  7. [hengz@c0 NovuPlay]$ docker ps
  8. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  9. 79056ca8ec20 play-novu:1.0-SNAPSHOT "bin/play-novu" 28 minutes ago Up 28 minutes play-9000
  10. 1cddff7fae69 grafana/grafana "/run.sh" 3 days ago Up 3 days 0.0.0.0:3000->3000/tcp grafana
  11. 15e52620b436 prom/prometheus "/bin/prometheus -..." 3 days ago Up 3 days 0.0.0.0:9090->9090/tcp prometheus
  12. 0ea29be7a4b9 zookeeper "/docker-entrypoin..." 6 days ago Up 4 days 0.0.0.0:2181->2181/tcp, 0.0.0.0:2888->2888/tcp, 0.0.0.0:3888->3888/tcp novu_zookeeper
  13. [hengz@c0 NovuPlay]$ exit

FAQ

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注