firethorn

changeset 4227:cf4b3879f928

Added notes on debugging live service ..
author Dave Morris <dmr@roe.ac.uk>
date Fri May 10 11:59:30 2019 +0100 (2019-05-10)
parents 905113a1b414
children 46f9c4cb9431 da9e0640f31b
files doc/notes/zrq/20190508-02-vmdown-debug.txt
line diff
     1.1 --- a/doc/notes/zrq/20190508-02-vmdown-debug.txt	Fri May 10 10:56:44 2019 +0100
     1.2 +++ b/doc/notes/zrq/20190508-02-vmdown-debug.txt	Fri May 10 11:59:30 2019 +0100
     1.3 @@ -403,3 +403,86 @@
     1.4  
     1.5  
     1.6  
     1.7 +
     1.8 +
     1.9 +
    1.10 +# -----------------------------------------------------
    1.11 +# Check the system status.
    1.12 +#[user@virtual]
    1.13 +
    1.14 +    date
    1.15 +
    1.16 +--START--
    1.17 +Fri 10 May 10:59:06 BST 2019
    1.18 +--END--
    1.19 +
    1.20 +free
    1.21 +
    1.22 +--START--
    1.23 +              total        used        free      shared  buff/cache   available
    1.24 +Mem:        7599060     2001516     3392964      159900     2204580     5195720
    1.25 +Swap:       1048572           0     1048572
    1.26 +--END--
    1.27 +
    1.28 +free -h
    1.29 +
    1.30 +--START--
    1.31 +              total        used        free      shared  buff/cache   available
    1.32 +Mem:           7.2G        1.9G        3.2G        156M        2.1G        5.0G
    1.33 +Swap:          1.0G          0B        1.0G
    1.34 +--END--
    1.35 +
    1.36 +    df -h
    1.37 +
    1.38 +--START--
    1.39 +Filesystem      Size  Used Avail Use% Mounted on
    1.40 +devtmpfs        3.7G     0  3.7G   0% /dev
    1.41 +tmpfs           3.7G     0  3.7G   0% /dev/shm
    1.42 +tmpfs           3.7G  780K  3.7G   1% /run
    1.43 +tmpfs           3.7G     0  3.7G   0% /sys/fs/cgroup
    1.44 +/dev/vda3        31G   23G  7.6G  75% /
    1.45 +tmpfs           3.7G  4.0K  3.7G   1% /tmp
    1.46 +/dev/vda1       240M   89M  135M  40% /boot
    1.47 +tmpfs           743M     0  743M   0% /run/user/1001
    1.48 +--END--
    1.49 +
    1.50 +    #
    1.51 +    # Memory not an issue (5G available).
    1.52 +    # Disc space not an issue (7.6G available).
    1.53 +    #
    1.54 +
    1.55 +    docker ps -a
    1.56 +
    1.57 +--START--
    1.58 +CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS                      PORTS                    NAMES
    1.59 +....
    1.60 +513af3cb732e        firethorn/firethorn:2.1.28      "/bin/sh -c '/var/lo…"   4 months ago        Up 11 hours (healthy)       0.0.0.0:8080->8080/tcp   stevedore_gillian_1
    1.61 +f057320941a1        firethorn/ogsadai:2.1.28        "/bin/sh -c '/var/lo…"   4 months ago        Up 11 hours (healthy)       8080/tcp                 stevedore_jarmila_1
    1.62 +7ed501c87d8f        firethorn/postgres:2.1.28       "docker-entrypoint.s…"   4 months ago        Up 11 hours                 5432/tcp                 stevedore_carolina_1
    1.63 +80da24dbaf6a        firethorn/postgres:2.1.28       "docker-entrypoint.s…"   4 months ago        Up 11 hours                 5432/tcp                 stevedore_bethany_1
    1.64 +--END--
    1.65 +
    1.66 +# -----------------------------------------------------
    1.67 +# Check the system status.
    1.68 +#[user@desktop]
    1.69 +
    1.70 +    http://tap.roe.ac.uk/firethorn/system/info
    1.71 +
    1.72 +    {
    1.73 +    ....
    1.74 +    "memory" : {
    1.75 +        "total" : 629145600,
    1.76 +        "free" :  174393088,
    1.77 +        "max" :  1730150400
    1.78 +        },
    1.79 +    "disk" : {
    1.80 +        "total" : 33016512512,
    1.81 +        "free" :   9214574592,
    1.82 +        "usable" : 8145960960
    1.83 +        }
    1.84 +    ....
    1.85 +    "time" : "2019-05-10T09:57:33.481Z",
    1.86 +    ....
    1.87 +    }
    1.88 +
    1.89 +