Status of eventbuilder for beamtime 2012

Here documentation of setup and changes

Eventbuilder machines



central machine


Previous master event builder





New master event builder Did NOT move disks from lxhadeb01, since adaptec controllers are not compatible!

For the moment, use only first 4 devices ("spares") that were existing before: Partitioned and mounted to ext4
  • use fdisk  /dev/sde to create primary partition (menu)
  • use mkfs -t ext4 /dev/sde1 to format
  • use blkid /dev/sde1 to find out partition UUID
  • set this into /etc/fstab

Required adjustments to reduce number of disks:
  • daq_disks demon needs to explictely exclude upper numbers: /home/hadaq/bin/daq_disks -s 10 -e 5 -e 6 -e 7 -e 8 -e 9 -e 10 -e 11 -e 12 -e 13 -e 14 -e 15 -e 16 -e 17 -e 18 -e 19 -e 20 -e 21 -e 22
  • must be patched in some loops from 22 to 4 disks, now at (TODO: improve script)


Eventbuilder configuration is done by two central files on lxhadesdaq:

  • /home/hadaq/trbsoft/daq/evtbuild/eb.conf
  • /home/hadaq/trbsoft/daq/hub/register_configgbe_ip.db

Processes and services

Data export to oracle

On lxhadesdaq.

daq 2 oracle

Configuration of DAQ frontends is exported to textfiles in /home/hadaq/oper/daq2ora. This is used as input for /home/hadaq/trbsoft/daq/oracle/ NOTE: This script must be started within this directory:
cd /home/hadaq/trbsoft/daq/oracle/
./ -o &
Option -o must be specified for real oracle insert!

runinfo to oracle

Done by perl script /home/hadaq/oper/ Old startscript Reads text files eb_runinfo2ora_N.txt produced by eventbuilderN on nfs mounted partitions: /home/hadaq/oper/oper_i (N=eventbuilder number, i=eventbuilder server).

Problem: after upgrading to perl 5.10, crash due to multithreading? New startscript will launch separate processes for each eb file. This workaround seems to do.


Eventbuilder machine control/IPMI

Installed under account hadaq on machine hades30 (vncviewer hades30:1). Standalone ipmi viewer is at /home/hadaq/ipmi/IPMIView20-Class_v2.9.4_Build111230. Start in this directoy by calling

Connection to machines:
  • lxhadeb01 - (
  • lxhadeb02 - (
  • lxhadeb03 - (
  • lxhadeb04 - (
  • lxhadeb05 - (

Login as user hadaq with ROOT (!) password!

Eventbuilder disk control/adaptec storage manager

On lxhadeb01 and lxhadeb05: login as root, call /usr/StorMan/

EPICS iocs for eventbuilders

this is a short summary, see EventBuilderRunControl or chapter 24 of trbnet documentation for full description

Each eventbuilder+netmem process needs one EPICS ioc process; connection is done via shared memory. The EPICS iocs should be started before eventbuilder are started.

This is done by eventbuilder startup script with option -i (for ioc):
  • -i stop -n 1-16 : stops iocs for eventbuilders n
  • -i start -n 1-16 : starts iocs for eventbuilders. NOTE: before starting, all running ioc processes are killed. If single eventbuilder number is specified, this will restart all iocs on that server machine

The ioc processes run under account scs, e.g.: SCREEN -dmS ioc_eb12 ../../bin/linux-x86_64/ebctrl st_eb12.cmd

Monitored properties with ICINGA system

click here for full information on Icinga setup

ICINGA configuration and restart

  • Icinga server runs on hadesdaq02.
  • Configuration files are at /etc/icinga
  • Restart icinga services with /etc/init.d/icinga reload. The starting error logfile is = /var/log/icinga/config.err=. The regular logfile is = /var/log/icinga/icinga.log=
  • Icinga/nagios plugins are at /usr/lib/nagios/plugins. On Eventbuilder machine, additional plugin scripts are at /home/hadaq/nagios/plugins (connected to cvs)
  • Icinga configuration and plugins are in hadaq cvs repository ext:hadaq@lxi001:/misc/hadesprojects/daq/cvsroot under module nagios

Monitored EB services

-- JoernAdamczewski - 09 Feb 2012


-- JoernAdamczewski - 01 Feb 2012
Edit | Attach | Print version | History: r12 | r10 < r9 < r8 < r7 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r9 - 10 Feb 2012, JoernAdamczewski
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)