mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
fixing sap-p1-2 scripts for paris2024
This commit is contained in:
1 parent
5b2a5c0400
commit
261f2755c1
3 files changed
+15
-7
No files matched your search
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
pkill -f .autossh.*stso
|
||||
pkill -f .autossh.*paris.*.tractrac.com
|
||||
sleep 2
|
||||
# Tunnel to localhost for TracTrac port forwards
|
||||
AUTOSSH_LOGLEVEL=7 AUTOSSH_POLL=5 autossh -M 0 -f -A -N -L 4400:stso1:4400 -L 4401:stso1:4401 localhost
|
||||
AUTOSSH_LOGLEVEL=7 AUTOSSH_POLL=5 autossh -M 0 -f -A -N \
|
||||
-L 4400:paris1.tractrac.com:4400 \
|
||||
-L 4401:paris1.tractrac.com:4401 \
|
||||
localhost
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
pkill -f .autossh.*stso
|
||||
pkill -f .autossh.*paris.*.tractrac.com
|
||||
sleep 2
|
||||
# Tunnel to localhost for TracTrac port forwards
|
||||
AUTOSSH_LOGLEVEL=7 AUTOSSH_POLL=5 autossh -M 0 -f -A -N -L 4400:stso2:4400 -L 4401:stso2:4401 localhost
|
||||
AUTOSSH_LOGLEVEL=7 AUTOSSH_POLL=5 autossh -M 0 -f -A -N \
|
||||
-L 4400:paris2.tractrac.com:4400 \
|
||||
-L 4401:paris2.tractrac.com:4401 \
|
||||
localhost
|
||||
@@ -2,15 +2,17 @@
|
||||
#
|
||||
# Assumes this (sap-p1-2) has been switched from failover to primary master;
|
||||
# We now need to map 5673 to the production RabbitMQ in the cloud
|
||||
# (rabbit-eu-west-3.sapsailing.com).
|
||||
# TracTrac is assumed to be running on "B" currently.
|
||||
# (rabbit-eu-west-3.sapsailing.com). Furthermore, the reverse port forward
|
||||
# for the cloud replicas to reach the on-site master must be established
|
||||
# to sap-p1-2:8888.
|
||||
# TracTrac is assumed to be running on "A" currently.
|
||||
#
|
||||
killall autossh
|
||||
# Tunnel to cloud MongoDB on port 10203; reverse tunnel to localhost:10202 for MongoDB
|
||||
AUTOSSH_LOGLEVEL=7 AUTOSSH_POLL=5 autossh -M 21504 -f -A -N \
|
||||
-L 22443:sapsailing.com:443 \
|
||||
-L 22222:sapsailing.com:22 \
|
||||
-R 9443:localhost:9443 \
|
||||
-R 9444:localhost:9443 \
|
||||
-R '*:8888:localhost:8888' \
|
||||
-L 443:security-service.sapsailing.com:443 \
|
||||
-R 10202:localhost:10202 \
|
||||
|
||||
Reference in new issue
Block a user