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

Task #8887: Added more comments

parent 6acb0140
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
# -----------------------------------------
# Configuration
#
# TODO: Pull from locally deployed config file?
# -----------------------------------------
# Whether to modify production (true) or test (false)
PROD=false PROD=false
# Define systems to use # Host names to use
if $PROD; then if $PROD; then
CCU=ccu001.control.lofar CCU=ccu001.control.lofar
MCU=mcu001.control.lofar MCU=mcu001.control.lofar
...@@ -15,9 +22,16 @@ fi ...@@ -15,9 +22,16 @@ fi
# ----------------------------------------- # -----------------------------------------
# Queues for processing feedback # Queues for processing feedback
#
# Queues:
# lofar.task.feedback.dataproducts
# lofar.task.feedback.processing
# lofar.task.feedback.state
#
# Route (all queues):
# cpuXX.cep4 -> headXX.cep4 -> ccu001
# ----------------------------------------- # -----------------------------------------
# cpuXX.cep4 -> headXX.cep4 -> ccu001
for tnode in head{01..02}.cep4.control.lofar for tnode in head{01..02}.cep4.control.lofar
do do
for fnode in cpu{01..50}.cep4.control.lofar for fnode in cpu{01..50}.cep4.control.lofar
...@@ -34,6 +48,17 @@ done ...@@ -34,6 +48,17 @@ done
# ----------------------------------------- # -----------------------------------------
# Exchanges for ResourceAssignment # Exchanges for ResourceAssignment
#
# Exchanges:
# lofar.ra.command
# lofar.ra.notification
# lofar.otdb.command
# lofar.otdb.notification
# lofar.ssdb.command
# lofar.ssdb.notification
#
# Route (lofar.ra.command):
# cpuXX.cep4 -> headXX.cep4 -> ccu001
# ----------------------------------------- # -----------------------------------------
addtoQPIDDB.py --broker $SCU --exchange lofar.ra.command addtoQPIDDB.py --broker $SCU --exchange lofar.ra.command
addtoQPIDDB.py --broker $SCU --exchange lofar.ra.notification addtoQPIDDB.py --broker $SCU --exchange lofar.ra.notification
...@@ -42,7 +67,7 @@ addtoQPIDDB.py --broker $SCU --exchange lofar.otdb.notification ...@@ -42,7 +67,7 @@ addtoQPIDDB.py --broker $SCU --exchange lofar.otdb.notification
addtoQPIDDB.py --broker $SCU --exchange lofar.ssdb.command addtoQPIDDB.py --broker $SCU --exchange lofar.ssdb.command
addtoQPIDDB.py --broker $SCU --exchange lofar.ssdb.notification addtoQPIDDB.py --broker $SCU --exchange lofar.ssdb.notification
# cpuXX.cep4 -> headXX.cep4 -> scu001 # TODO: messages will end up at $SCU twice?
for tnode in head{01..02}.cep4.control.lofar for tnode in head{01..02}.cep4.control.lofar
do do
for fnode in cpu{01..50}.cep4.control.lofar for fnode in cpu{01..50}.cep4.control.lofar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment