Introduction

It has been decided in a meeting with Viviana Fanti and Christian Joram that Markus Joos will take care of the maintenance of the DAQ system (one PC and one VMEbus SBC).

System back-up

The hard disk of the PC of the AxialPET DAQ system, pcaxpet2.cern.ch contains:
  • The DAQ S/W developed by Viviana: Source code and binaries
  • Data taken with the AxialPET detector
  • The Linux Image for the MEN A20 VMEbus SBC (installed by Nicolas de Metz-Noblat of the BE department)
As a disk failure would be fatal it has been decided to connect this PC to the TSM service provided by IT.

The connection to TSM has been requested on 3.8.2010 by Markus:

Node name pcaxpet2
Backup schedule LINUX_DAILY
Daily Data Volumes At most 1 GB
Total Tape Volume Approximately 1 TB
Contact e-mail markus.joos@cernNOSPAMPLEASE.ch

These directories of the HD of pcaxpet2 will be backed up on a daily basis:

  • /acc
  • /data
  • /etc
  • /home

The command to restore a lost file is:

  dsmc restore <filename>

Please contact Markus if you want this list to be changed of if there is a problem with the recovery of files from the back-up. The TSM service of IT will send backup related messages (e.g. missed back-ups) to the e-group axpet-backup@cernNOSPAMPLEASE.ch.

TSM installation log

These steps have been executed to install and start the back-up S/W on pcaxpet2

SErvername  TSM55
  NODename              pcaxpet2
  Passwordaccess        generate
  TCPPort               1555
  TCPServeraddress      tsm55
  Inclexcl              /opt/tivoli/tsm/client/ba/bin/backup.excl
  COMMmethod            TCPip
  ERRORLogName          /var/log/dsmerror.log
  SCHEDLogName          /var/log/dsmsched.log
  SCHEDLOGRetention     10
  ERRORLOGRetention     10
  MANAGEDServices       schedule
VirtualMountPoint /acc
VirtualMountPoint /etc
VirtualMountPoint /home

  • chmod a+w dsm.opt.smp
  • Content of dsm.opt.smp:
SErvername TSM55
  Tapeprompt    No
  DATEFORMAT 2
  DOMain /acc
  DOMain /data
  DOMain /etc
  DOMain /home

  • ln -s dsm.opt.smp dsm.opt
  • ln -s dsm.sys.smp dsm.sys
  • Content of backup.excl
Exclude.dir     /afs

  • File /etc/init.d/dsmcad created. Content is:
#!/bin/sh
# chkconfig: 2345 95 20
# description: TSM back_up
# processname: dsmcad
LANG=en_US
export LANG
/usr/bin/dsmcad

  • chmod a+x dsmcad
  • /sbin/chkconfig --add dsmcad
  • /sbin/service dsmcad start

S/W maintenance

The plan is to put the source code of the S/W into a SVN repository, stored on the main SVN server of CERN. The repository has been requested under the name "axpet_daq". Initially only the accounts "joos" and "vfanti" have access to the S/W. Additional people can be added by request to me. The SVN account is called "libaxpet".

The commend to check out the full repository is:

svn co svn+ssh://svn.cern.ch/reps/axpet_daq

The SVN package has been checked out into the directory /home/svn/axpet_daq

-- MarkusJoos - 03-Aug-2010

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r11 - 2010-12-16 - MarkusJoos
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    AXIALPET All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback