From f7e5ac18530b6b8b8d4676e71e3def5a0c460d90 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Tue, 28 Nov 2023 13:12:23 +0100 Subject: [PATCH] Reroute LOBSTER to COBALT in production --- SAS/TMSS/backend/services/lobster/lib/config.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/SAS/TMSS/backend/services/lobster/lib/config.py b/SAS/TMSS/backend/services/lobster/lib/config.py index 55fc2020b4f..5bbb076fe01 100644 --- a/SAS/TMSS/backend/services/lobster/lib/config.py +++ b/SAS/TMSS/backend/services/lobster/lib/config.py @@ -29,19 +29,13 @@ def station_to_host(station: str, port: int=10000) -> str: # Node from which observations are started on COBALT -COBALT_HEADNODE = "cbm206.control.lofar" if isProductionEnvironment() else "localhost" +COBALT_HEADNODE = "cbm2head.control.lofar" if isProductionEnvironment() else "localhost" # Storage location for parsets on COBALT_HEADNODE COBALT_PARSET_DIR = "/opt/lofar/var/run" # Any overrides on the parset COBALT_PARSET_OVERRIDES = """ -# use test system -Cobalt.Nodes=[ cbt206_0, cbt206_1 ] - -# disable eth binding to avoid needing elevated priviledges in test setup -PIC.Core.Cobalt.cbt206_0.out_nic=[] -PIC.Core.Cobalt.cbt206_1.out_nic=[] """ # Name pattern for parsets stored on COBALT_HEADNODE @@ -49,4 +43,4 @@ PIC.Core.Cobalt.cbt206_1.out_nic=[] COBALT_PARSET_FILENAME_PATTERN = "CorrProc_{subtask_id}.param" # Script to start observations on COBALT_HEADNODE -COBALT_STARTBGL_SCRIPT = "source /home/mol/build/gnucxx11_2018_opt/installed/lofarinit.sh && LOFARENV=PRODUCTION /home/mol/build/gnucxx11_2018_opt/installed/bin/startBGL.sh" +COBALT_STARTBGL_SCRIPT = "source /opt/lofar/lofarinit.sh && LOFARENV=PRODUCTION /opt/lofar/bin/startBGL.sh" -- GitLab