Low-Energy Muon (LEM) Experiment  0.5.2
Installation
previous.gif Introduction and Components - main - Midas Howto next.gif

Installation of Kernel driver and DAQ system

  • With the lem00 server running since Jan-2007 as LEM DAQ backend, a 80 GB disk (system and /home partition) and a 500 GB data disk, each mirrored by a RAID system, are available.

  • create local user nemu, home directory is /home/nemu.

  • create directory for installation of Root. Follow instructions in LEM Elog /Computing/9 to install root.
    Usually, for LEM PC, this will be /apps/cern/root.

  • follow the instructions in LEM Elog /VME_DAQ/7 to install Midas and the sis1100 Kernel driver.

  • The Midas frontends and analyzer source codes are then located in /home/nemu/midas/experiment/nemu.

  • Create the file /etc/exptab and enter the line
    nemu /data/nemu nemu
    to define Midas experiment nemu with its default data directory being /data/nemu, local user nemu.

  • Goto /home/nemu/midas/experiment/nemu and enter
    make
    make install

    to compile, link and install the Midas experiment. Binaries are copied to /home/nemu/bin.

  • To make lem00:/home/nemu and lem00:/data/nemu remotely accessible by nfs: as root execute the script setup_nfs.
    To create the necessary mount points on a remote PC execute the same script as root on the remote PC. The mount points /mnt/home/nemu and /mnt/data/nemu are created in /etc/fstab.

  • Backups:
    Following backup procedures are running on lem00:

    • Backup of raw data files /data/nemu/dlog/lemYY_XXXX.root to the PSI archive immediately after a run has been stopped. This is handled by the Midas lazylogger Script.
    • Daily backups (1:30 pm) of .odb, .summ files, runlog, and online analysis files (of the current year only) to the afs project disk /afs/psi.ch/project/nemu. The perl script nemu_to_afs.pl is doing this job through a cron job. As nemu use crontab -e to setup/modify this backup procedure:
      #
      MAILTO=name.name@psi.ch,name1.name1@psi.ch
      #
      # backup script to copy nemu data to afs
      #
      30 13 * * * /home/nemu/scripts/nemu_to_afs.pl
    • Monthly backup of Midas history files of previous month to PSI archive on the first day of a month at 03:05 am. The bash script scripts/nemu_historyToArchive is doing the job. It is set up as a cronjob in the root account on lem00.

    • Monthly backup of complete elog on lem00 to PSI archive on the first day of a month at 03:45 am. The bash script scripts/nemu_elogToArchive is doing the job. It is set up as a cronjob in the root account on lem00.

    Elog, online analysis, runlog, summ, odb, histogram files are copied every 12h to the nemu account on pc5596 (WLGA/U119) through the nfs mount. The bash script scripts/nemu_toNemu is doing the job, set up as a cronjob in the nemu account on pc5596.

previous.gif Introduction and Components - main - Midas Howto next.gif