Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -24,13 +24,16 @@ from labdev-nomad.container ...@@ -24,13 +24,16 @@ from labdev-nomad.container
cd /nomad/nomadlab/servers/nomad-vis-test/analytics/remotevis 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) 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
./deploy.sh --tls --env nomad-vis-test --target-hostname nomad-vis-test --secret-web-certs web-certs ./deploy.sh --tls --env nomad-vis-test --target-hostname nomad-vis-test --secret-web-certs web-certs
......
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
} }
} }
session_redis: { session_redis: {
port: 30289 port: 30038
host: 130.183.207.101 host: 130.183.207.100
} }
usersettings_redis: { usersettings_redis: {
port: 31996 port: 31923
host: 130.183.207.101 host: 130.183.207.100
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment