A workplace to develop and to test applications linked to VME electronics via a CAEN VME bridge.

Hardware

DELL 2U server.

Optical controllers

  • PCI device index 0 - PCI CAEN A2818
    • installed in a PCI slot of a left riser
    • firmware: 0.8 - protocol: CONET1
    • firmware selector: STANDARD
    • VME device index 0 - CAEN VME controller V2718
      • installed in the first slot of a crate. System controller mode.
      • firmware: 2.09
      • firmware selector: STANDARD
      • CAEN optical link add-on A2719
        • firmware: 0.05 - protocol: CONET1
        • firmware selector: BACKUP
      • Crate: POLYRACK VME64X tower, Size: 6U, 7 slots
  • PCI device index 1 - PCI CAEN A2818 (daisy chain)
    • installed in a PCI slot of a left riser
    • firmware: 1.0 - protocol: CONET2
    • firmware selector: STANDARD
    • VME device index 0 - CAEN VME controller V2718
      • installed in the first slot of a crate. System controller mode.
      • firmware: 2.10
      • firmware selector: STANDARD
      • CAEN optical link add-on A2719
        • firmware: 1.1 - protocol: CONET2
        • firmware selector: STANDARD
      • Crate: WEINER LHC Type with middle female connectors (the second from the top of the rack).
    • VME device index 1 - CAEN VME controller V2718
      • installed in the first slot of a crate. System controller mode.
      • firmware: 2.10
      • firmware selector: STANDARD
      • CAEN optical link add-on A2719
        • firmware: 1.1 - protocol: CONET2
        • firmware selector: STANDARD
      • Crate: WEINER LHC Type with middle female connectors (the first from the top of the rack).
  • PCI device index 1 - PCIe CAEN A3818
    • installed in a PCIe slot of a center riser
    • firmware: 1.0 - protocol: CONET2

Networking:

  • Network name: cmsbrmlab.cern.ch
  • Network: public
  • eth0 MAC address: _00:1A:10:16:77:73
  • IP: 137.138.168.14 Mask: 255.255.0.0

CAEN firmware, operational in CMS

  • /home/CAEN/firmware/bridge/a2818pcb_rev0.8.rbf
  • /home/CAEN/firmware/bridge/V1718VUB_REV2.09.RBF
  • /home/CAEN/firmware/bridge/a2719ci_rev0.5.rbf

Installed developer tools

  • CAENBridgeUpgrade - to upgrade/downgrade VME bridge firmware
  • CAENVMELib v.2.30
  • CAENComm v.1.02
  • root
  • eclipse - Java, C/C++, Python, Fortan, Ruby, Ant, XML. (Follow-up: SVN integration)
  • sqldeveloper
  • JDK 1.6
  • XDAQ including HAL library

OS installation

System backup

A weekly cron task backs up the system each Sunday morning incrementally. The first Sunday of a month new whole system backup is created. Backup configuration files:

  • /etc/backupExcludes - excluded folders from the system backup
  • /etc/cron.weekly/slcSystemBackup.sh - a script to be called by cron task

The backups are stored on a local HDD in /mnt/backup.

Manual post-install configuration

  • run system-config-users - add a local group vmedev
  • add a line %vmedev ALL=(ALL) NOPASSWD: ALL into a file /etc/sudoers
  • optional: modify a file /etc/group in a line: vmedev:x:50000:username1,username2 to add sudoers
  • to create a partition with ext3 file system on new HDDs run mke2fs -j /dev/sdX, where X is a device letter

Grant all users of zh group to log in the server.

Make sure that the nss_ldap RPM is installed on your client machine. Run first yum install nss_ldap if this RPM is not installed. The server has to be public for many users of zh group. To do it just replace files created during the installation with the following ones:

Sudoers are the members of a local group vmedev.

CMS Online Software (XDAQ)

CAEN VME bridge

Useful documentation about CAEN VME bridge installation standard in CMS: http://cmsdoc.cern.ch/~cschwick/VME/html/index.html

  • Run: sudo yum groupinstall hardware_worksuite.

Manual, unsupported by DAQ team:

The script a2818_load.2.6 to load the controller driver was slightly modified. Use this file a2818_load.2.6 to install modules with /sbin/modprobe instead of /sbin/insmod and /sbin/rmmod.

Additional software installation

Oracle Enterprise Pack for Eclipse

Oracle Enterprise Pack for Eclipse provides tools that make it easier to develop applications utilizing specific Oracle technologies.

  • Download from http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html,
  • Unpuck the archive in /opt.
  • Create a link: ln -s /opt/eclipse /usr/bin/eclipse.
  • Import a list of software repositories: Menu->Help->Available Software Sites->Import, use an attached file EclipseSoftwareSites.xml.
  • Run Eclipse to install standard additional plugins Menu->Help->Install Software. C++, Fortran, Valgrind....
  • Install ShellEd for bash scripting in Eclipse.

Google Chrome Browser

sudo yum install google-chrome-stable

Mounting the server file system on a remote linux machine

The server file system can be secure mounted with sshfs (SSH Filesystem) without granting sudoers' rights to a user. To install client software run on a remote PC yum install fuse-sshfs fuse fuse-libs.

After the installation run once the following commands:

  • sudo chmod +x /bin/fusermount (a bug in the package installer or an instance of paranoiac security)
  • mkdir ~/mnt
  • mkdir ~/mnt/cmsbrmlab

Finally the monting is very simple:

  • sshfs [username@]cmsbrmlab[.cern.ch]:/ ~/mnt/cmsbrmlab

The user authentication for the file system mounting is exactly the same which is applied to open a SSH session. In case of public key authentication the mounting is password-less and can be automated.

Firmware upgrade

SLC4

  • /opt/xdaq/bin/CAENVMEUpgrade A2818 a2818pcb_Rev1.0.rbf standard|backup
  • sudo ipmitool -I lan -H brmbcmctrlx.ipmi -U root -f /etc/ipmi.conf power cycle (cycle power in one go)

SLC5

Firmware versions of the production hardware

Server # A2818 A2719 V2718 Software
brmbcmcrl2 0 1.0 (s) 0.4 2.0 2.11
brmbcmcrl2 1 1.0 (s) ??? ??? 2.11
brmbcmcrl3 0 0.8 ??? ??? 2.11
brmbcmcrl3 1 0.6 ??? ??? 2.11
brmbcmcrl4 0 1.0 (b) ??? ??? 2.11
brmbcmcrl4 1 1.0 (s) 0.4 2.7 2.11

-- ArkadyLokhovitskiy - 06-Jan-2012

Topic attachments
I Attachment History Action Size Date Who Comment
XMLxml EclipseSoftwareSites.xml r1 manage 0.7 K 2012-01-24 - 18:51 UnknownUser A list of software repositories used to install Eclipse plug-ins.
Unknown file formatconf ldap.conf r1 manage 10.8 K 2012-01-06 - 15:34 UnknownUser  
Unknown file formatconf nsswitch.conf r1 manage 1.7 K 2012-01-06 - 15:26 UnknownUser Configuration file to accept all users of zh group.
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r16 - 2012-02-16 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 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