Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

THESE INSTRUCTIONS MAY BE OUTDATED.

TALK TO PELLE IF YOU NEED EXACT WORKING COMMANDS.

 

SVT Monitoring

Log into 'clonioc4' (requires access through gateway).

Code Block
languagebash
ssh hpsrun@clonioc1
hps_epics dev # pull up the screens that are relevant
 

SVT IOC Control

 

MPOD IOC

Log into 'clonioc1' (requires access through gateway).

Code Block
languagebash
ssh clonioc1hallgw
ssh clonioc4
cd /usr/clas12/hps/dev/
source .setup-hps

Start GUIs

Code Block
languagebash
cd utils
./start_svt_guis.sh

...


 
# Use procServMgr to control the IOC
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot -i iochvCaen [status|start|stop]
 
# Monitor output (to check if commands get through the IOC for example)
telnet localhost port # you can find the 'port' from the status command above
 
# while in monitor mode:
# If you type 'Cntrl-X' the IOC will stop and restart automatically
# You can type 'Cntr-]' to get telnet prompt (and e.g. 'quit' to exit form there).  

SVT Hybrid and DAQ IOC

...

Log into 'clonioc1clonioc4' (requires access through gateway).

Code Block
languagebash
ssh hallgw
ssh clonioc4epics@clonioc4 #default passw
cd /usr/clas12/hps/dev/
source .setup-hps

 

Control  IOCs (if not running!):

Code Block
languagebash
cd utils
# get status|start|stop
python ./control_svt_dpm.py -a 

# Use procServMgr to control the IOC
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot [-i IOC_NAME] [status|start|stop [-t for testing] 

# you can also give args for specific nodes:]

# Examples:
  
# start/stop/status for all SVT DAQ IOCs:
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop

# Control DPMDPMIOC IOC only:
python ./control_svt_dpm.py -a status|start|stop controldpmprocServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop -i iocsvtDaq status/start/stop

# Data DPM "X" (X=0-13) IOC only:
python ./control_svt_dpm.py -a status|start|stop dpmX
# DTM "X" (0-1) IOC only:
python ./control_svt_dpm.py -a status|start|stop dtmX

# to monitor the stdout in xtermsprocServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop -i iocsvtDaqDpmX status/start/stop


# Bring up the IOC stdout for all or individual SVT DAQ IOCs
cd /usr/clas12/hps/dev/apps/svtDaqApp/scripts
./start_svt_mon.py  

...

 -h [dpmX|dtmY|cntrldpm] # 'X'=0-13 and 'Y'=0-1 


If everything fails try to use the below running as user=epicsstandard procServMgr scripts:

Code Block
languagebash
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop

 

If the IOC refuses to stop or start, If that doesn't work than the process might be stuck and you manually have to kill the IOCs before you restart.

If that fails, call Pelle.

Official IOC instructions

...