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 28: Line 28:
  mon1_start
  mon1_start
  mon2_start
  mon2_start
Occupancy plots must be started on clonmon1. Login as ''clasrun'' as type
monb





Revision as of 11:29, 11 October 2007

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:0.0 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 as 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