Skip to content
Snippets Groups Projects
Commit f7e5ac18 authored by Jan David Mol's avatar Jan David Mol
Browse files

Reroute LOBSTER to COBALT in production

parent 2daaec6d
No related branches found
No related tags found
1 merge request!1231Reroute LOBSTER to COBALT in production
...@@ -29,19 +29,13 @@ def station_to_host(station: str, port: int=10000) -> str: ...@@ -29,19 +29,13 @@ def station_to_host(station: str, port: int=10000) -> str:
# Node from which observations are started on COBALT # 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 # Storage location for parsets on COBALT_HEADNODE
COBALT_PARSET_DIR = "/opt/lofar/var/run" COBALT_PARSET_DIR = "/opt/lofar/var/run"
# Any overrides on the parset # Any overrides on the parset
COBALT_PARSET_OVERRIDES = """ 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 # Name pattern for parsets stored on COBALT_HEADNODE
...@@ -49,4 +43,4 @@ PIC.Core.Cobalt.cbt206_1.out_nic=[] ...@@ -49,4 +43,4 @@ PIC.Core.Cobalt.cbt206_1.out_nic=[]
COBALT_PARSET_FILENAME_PATTERN = "CorrProc_{subtask_id}.param" COBALT_PARSET_FILENAME_PATTERN = "CorrProc_{subtask_id}.param"
# Script to start observations on COBALT_HEADNODE # 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment