DAQ/Online Quick Reference: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 7: Line 7:
* click 'Cancel' and then 'Reset'
* click 'Cancel' and then 'Reset'


* go to 'ET_TERM' window, Ctrl-C and run previous command using arrow up (command is 'coda_eb ...')
* go to 'EB_TERM' window, Ctrl-C and run previous command using arrow up (command is 'coda_eb ...')


* run 'roc_status' command from clon10 window; it will show troubled ROC(s) as 'UNDEFINED' or 'active'
* run 'roc_status' command from clon10 window; it will show troubled ROC(s) as 'UNDEFINED' or 'active'

Revision as of 20:55, 7 January 2008

DAQ Recovery Procedure

In most cases DAQ will crash because of ROC problem. Do following:

  • click 'End Run' or 'Abort', whatever button is active
  • click 'Cancel' and then 'Reset'
  • go to 'EB_TERM' window, Ctrl-C and run previous command using arrow up (command is 'coda_eb ...')
  • run 'roc_status' command from clon10 window; it will show troubled ROC(s) as 'UNDEFINED' or 'active'
  • reboot troubled ROC(s) using command 'roc_reboot <roc>' from clon10 window
  • wait 2 minutes and run 'roc_status' again; rebooted ROC(s) must be in 'booted' stage
  • start new run from 'Download'

If it does not help, page DAQ pager.


IF starting everything from scratch (normally after cluster reboot or other major disasters):

  • on clon10 as root start msql database daemon (should be done automatically, not yet)


DAQ procedures

To start all DAQ processes goto clon10 as clasrun and type

daq_start this

to open all windows on current workspace. If daq_start executed without parameter, it will open everything on clon03's bottom screen on currently active workspace.

To kill all DAQ processes goto clon10 as clasrun and type

daq_exit


Online procedures

To start online monitoring processes use following commands:

mon_start
mon1_start
mon2_start

they will start everything on clon00, clonmon1 and clon04 respectively.

To kill online monitoring processes use following commands:

mon_exit
mon1_start
mon2_start

Occupancy plots must be started on clonmon1. Login as clasrun and type

monb


Background information

  • CRON JOBS: on clon10, clon00, clon01 and clondb1 make sure cron jobs are running (they must start automatically after reboot); if have to start cron jobs, login as clascron to the mentioned machines, goto directory /home/clascron/backup and follow instructions in README file, normally it will be following:
login as 'clascron' to the clon10
goto /home/clascron/backup
type 'crontab -l' to see what is running
type 'crontab -r' to erase all existing cron jobs
type 'crontab clon10'
repeat everything for clon00 and clon01, using file 'clon00' and 'clon01' respectively

Sometimes you may want to turn some cron jobs off to avoid alarms during system reconfiguration: do not forget to turn them on again after you are done !

  • Process management: SmartSockets-based process management procedures must be started as clasrun using following command:
control_process_manager start clasprod clasprod
control_procmgr_manager start clasprod clasprod
control_ipc_process_manager start clasprod clasprod

and killed by following:

control_process_manager stop clasprod clasprod
control_procmgr_manager stop clasprod clasprod
control_ipc_process_manager stop clasprod clasprod