firethorn

changeset 4261:52e38613deef

Notes on Deploying Firethorn on Docker Swarm
author Stelios <stv@roe.ac.uk>
date Wed Jun 26 17:20:14 2019 +0100 (20 months ago)
parents 9d2e48336608
children 550c349452fd
files doc/notes/stv/20190626-Firethorn-Swarm.txt
line diff
     1.1 --- a/doc/notes/stv/20190626-Firethorn-Swarm.txt	Wed Jun 26 17:17:44 2019 +0100
     1.2 +++ b/doc/notes/stv/20190626-Firethorn-Swarm.txt	Wed Jun 26 17:20:14 2019 +0100
     1.3 @@ -312,6 +312,32 @@
     1.4  ## ------------------------------------------------------------------------
     1.5  
     1.6  docker stack deploy -c docker-compose.yml ft
     1.7 +        .. 
     1.8 +	Creating service ft_bethany
     1.9 +	Creating service ft_carolina
    1.10 +	Creating service ft_jarmila
    1.11 +	Creating service ft_gillian
    1.12 +	Creating service ft_firethorn-py
    1.13 +     
    1.14 +
    1.15 +docker ps
    1.16 +
    1.17 +	CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS                             PORTS               NAMES
    1.18 +	212df08e73b2        firethorn/firethorn-py:latest   "python3"                29 seconds ago      Up 27 seconds                                          ft_firethorn-py.1.rz43gsoc11ky3ldutdyq8d6y1
    1.19 +	028e656c70d1        firethorn/firethorn:latest      "/bin/sh -c '/var/lo…"   31 seconds ago      Up 27 seconds (health: starting)   8080/tcp            ft_gillian.1.u7plhcroj56qj7ajyd8eceh0j
    1.20 +	2b1766b8b1ad        firethorn/ogsadai:latest        "/bin/sh -c '/var/lo…"   34 seconds ago      Up 28 seconds (health: starting)   8080/tcp            ft_jarmila.1.x9h7g1pdiznlwxkqtelllr9os
    1.21 +	9ce64b692f6a        firethorn/postgres:latest       "docker-entrypoint.s…"   36 seconds ago      Up 28 seconds                      5432/tcp            ft_carolina.1.iw9fi4qbogkbej8yp2d9ktleo
    1.22 +	04187bab3f02        firethorn/postgres:latest       "docker-entrypoint.s…"   38 seconds ago      Up 37 seconds                      5432/tcp            ft_bethany.1.bcezzygrqrnj5mvwg5yfug9zf
    1.23 +
    1.24 +
    1.25 +docker service ls
    1.26 +
    1.27 +	ID                  NAME                MODE                REPLICAS            IMAGE                           PORTS
    1.28 +	srrn94ebri8c        ft_bethany          replicated          1/1                 firethorn/postgres:latest       
    1.29 +	7keylnyfy68h        ft_carolina         replicated          1/1                 firethorn/postgres:latest       
    1.30 +	5slvh38gsa7h        ft_firethorn-py     replicated          1/1                 firethorn/firethorn-py:latest   
    1.31 +	z0doy33yeok9        ft_gillian          replicated          1/1                 firethorn/firethorn:latest      *:8080->8080/tcp
    1.32 +	yewb5qwddzbc        ft_jarmila          replicated          1/1                 firethorn/ogsadai:latest       
    1.33  
    1.34  
    1.35  
    1.36 @@ -365,11 +391,9 @@
    1.37  ..
    1.38  
    1.39  ## ------------------------------------------------------------------------
    1.40 -## [OPTIONAL] Adding a seconf VM to the Swarm
    1.41 +## [OPTIONAL] Adding a second VM to the Swarm as a Worker node
    1.42  ## ------------------------------------------------------------------------
    1.43  
    1.44 -
    1.45 -## Create Worker VM 
    1.46  createvm Erennon (worker)
    1.47  Domain Erennon started
    1.48