From b0c50c0c1f29c906f1f0a8ecb7626d1d566afd1a Mon Sep 17 00:00:00 2001 From: Fawzi Mohamed <fawzi.mohamed@fhi-berlin.mpg.de> Date: Wed, 12 Dec 2018 18:16:02 +0100 Subject: [PATCH] update labdev infor for remotevis after re-install --- README.md | 9 ++++++--- config/nomad-vis-test.hjson | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fbddb3d..a87ca4c 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,16 @@ from labdev-nomad.container cd /nomad/nomadlab/servers/nomad-vis-test/analytics/remotevis -Update info on services of labdev that we use as we share the session db (we should probably clean up this ugly command) +Update info on services of labdev (should already be done) that we use as we share the session db - kubectl exec -ti $(kubectl get po | grep nomad-container-manager-beaker | cut -f1 -d ' ') node app.js serviceDumper -- --out-file labdev-nomad.services.yaml + ssh labdev-nomad.esc + cd /nomad/nomadlab/servers/labdev-nomad/beaker-manager + kubectl create -f sevice-dumper.yaml + exit update config with current info on the redis dbs of labdev (default-remotevis.hjson.in -> default-remotevis.hjson) - docker run -ti -v $PWD:/usr/src/app -v /nomad/nomadlab/servers/labdev-nomad/analytics/beaker:/mnt -w /usr/src/app --rm node:carbon node app.js templateEvaluer --replacements /mnt/labdev-nomad.services.yaml --template config/nomad-vis-test.hjson.in --out-file config/nomad-vis-test.hjson + docker run -ti -v $PWD:/usr/src/app -v /nomad/nomadlab/servers/services-info:/services-info -w /usr/src/app --rm node:carbon node app.js templateEvaluer --replacements /services-info/labdev-nomad.services.yaml --template config/nomad-vis-test.hjson.in --out-file config/nomad-vis-test.hjson deploy ./deploy.sh --tls --env nomad-vis-test --target-hostname nomad-vis-test --secret-web-certs web-certs diff --git a/config/nomad-vis-test.hjson b/config/nomad-vis-test.hjson index d564fbf..b28388e 100644 --- a/config/nomad-vis-test.hjson +++ b/config/nomad-vis-test.hjson @@ -20,11 +20,11 @@ } } session_redis: { - port: 30289 - host: 130.183.207.101 + port: 30038 + host: 130.183.207.100 } usersettings_redis: { - port: 31996 - host: 130.183.207.101 + port: 31923 + host: 130.183.207.100 } } \ No newline at end of file -- GitLab