Commit b0c50c0c authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

update labdev infor for remotevis after re-install

parent 234db062
......@@ -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
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment