NP04 Operations

Pruning Files

  • find /log/ -type f -name '*.log'
  • find /log/ -type f -name '*.log' -mtime 3
  • find /log/ -type f -name '*.log' -mtime 3 -exec rm {} +

Impedance Monitor (gizmo)

Network Interface

ethtool -s eth0 speed 1000 duplex full autoneg off

Updated for CERN. # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface auto lo iface lo inet loopback

# Wireless interfaces #iface wlan0 inet dhcp # wireless_mode managed # wireless_essid any # wpa-driver wext # wpa-conf /etc/wpa_supplicant.conf

iface atml0 inet dhcp

# Wired or wireless interfaces auto eth0 #iface eth0 inet dhcp iface eth0 inet static address 10.73.128.22 netmask 255.255.255.0 network 10.73.128.22 gateway 10.73.128.1 hwaddress ether 00:0a:35:00:01:23 up sleep 5; ethtool -s eth0 speed 1000 duplex full autoneg off #iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether) # ... or on host side, usbnet and random hwaddr iface usb0 inet static address 192.168.7.2 netmask 255.255.255.0 network 192.168.7.0 gateway 192.168.7.1

# Bluetooth networking #iface bnep0 inet dhcp

Original from Fermilab: # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface auto lo iface lo inet loopback

# Wireless interfaces #iface wlan0 inet dhcp # wireless_mode managed # wireless_essid any # wpa-driver wext # wpa-conf /etc/wpa_supplicant.conf

iface atml0 inet dhcp

# Wired or wireless interfaces auto eth0 #iface eth0 inet dhcp iface eth0 inet static address 131.225.56.30 netmask 255.255.255.0 network 131.225.56.30 gateway 131.225.56.30 hwaddress ether 00:0a:35:00:01:23 #iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether) # ... or on host side, usbnet and random hwaddr iface usb0 inet static address 192.168.7.2 netmask 255.255.255.0 network 192.168.7.0 gateway 192.168.7.1

# Bluetooth networking #iface bnep0 inet dhcp

Copy Image to SD card

SD card to computer
sudo dd if=/dev/mmblk0 of=./imn.img status=progress

computer to SD card
sudo dd if=./imn.img of=/dev/mmblk0 status=progress

Control Room

Current Computer List for NP04

  • Standard CERN desktop
    • DellOptiplex 7050 - 8 GB RAM, Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 cores), 1 Gb network, 2 x 27inch desktop LED monitors
    • Provided by neutrino platform
      • Run control
      • Online monitoring
      • Slow control - attached to technical network
  • Specialty systems
    • Provided by CERN beams
    • No user logins
      • SPS spill display - wall mounted
      • Beam line monitoring - desktop

Computers still needed

  • Expert console
    • 2 x 27inch desktop LED monitors
  • Event display
    • 2 x big monitors mounted on the wall
  • Data monitoring
    • dqm, file transfers, ...
    • 2 x big monitors mounted on the wall


ARTDAQ Configurations

Subsystems

  • SSP
  • RCE
  • WIB
  • FELIX
  • Timing
  • Trigger
  • Event Builder
  • Data Logger
  • Dispatcher
  • Metrics

requestReceiver

One useful tool is the "requestReceiver" application. It spies on the data requests that the EBs send to the BRs. To use it, 'cd ', 'source ./setupDUNEARTDAQ', and 'requestReceiver -c '. There are pre-made config files in ~np04daq/.biery called reqrcv_partn.fcl. So, requestReceiver -c ~/.biery/reqrcv_partn1.fcl.


Control Room

Jura side

  • B402/03 + 04
  • B402/01 + 02
  • B302/03 + 04
  • B302/01 + 02
  • B202/01 + 02

Saeleve side

  • B401/03 + 04
  • B401/01 + 02
  • B301/03 + 04
  • B301/01 + 02
  • B201/01 + 02

GitLab

Command line instructions

Git global setup

git config --global user.name "Geoff Savage"
git config --global user.email "david.geoffrey.savage@cern.ch"

Create a new repository

git clone https://:@gitlab.cern.ch:8443/protoDUNE-SP-DAQ/dune-artdaq.git
cd dune-artdaq
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

Existing folder

cd existing_folder
git init
git remote add origin https://:@gitlab.cern.ch:8443/protoDUNE-SP-DAQ/dune-artdaq.git
git add .
git commit
git push -u origin master

Existing Git repository

cd existing_repo
git remote add origin https://:@gitlab.cern.ch:8443/protoDUNE-SP-DAQ/dune-artdaq.git
git push -u origin --all
git push -u origin --tags

NeutPlatform (Tier0)

https://twiki.cern.ch/twiki/bin/view/EOS/UserHowTo

https://cern.service-now.com/service-portal/article.do?n=KB0001998

export EOS_MGM_URL=root://eospublic.cern.ch

https://cern.service-now.com/service-portal/article.do?n=KB0004244

  • /eos/experiment/neutplatform/protodune/rawdata/np04
    • eos-experiment-cenf-np04-readers (rx)
  • /eos/experiment/neutplatform/protodune/np04tier0/daq
    • eos-experiment-cenf-np04-daq-readers:rx
    • eos-experiment-cenf-np04-daq-writers:rwx
  • EOS Console* [root://eospublic.cern.ch] |/eos/experiment/neutplatform/protodune/np04tier0/daq/> attr ls .

sys.acl="egroup:eos-experiment-cenf-admins:rwx,egroup:eos-experiment-cenf-np04-daq-writers:rwx,egroup:eos-experiment-cenf-np04-daq-readers:rx,egroup:eos-experiment-cenf-np04-daq-admins:rwx" sys.forced.blockchecksum="crc32c" sys.forced.blocksize="4k" sys.forced.checksum="adler" sys.forced.layout="replica" sys.forced.nstripes="2" sys.forced.space="default"

  • EOS Console* [root://eospublic.cern.ch] |/eos/experiment/neutplatform/protodune/rawdata/np04/> attr ls .

sys.acl="egroup:eos-experiment-cenf-admins:rwxq,egroup:eos-experiment-cenf-np04-readers:rx,egroup:eos-experiment-cenf-np04-writers:rwx" sys.forced.blockchecksum="crc32c" sys.forced.blocksize="4k" sys.forced.checksum="adler" sys.forced.layout="replica" sys.forced.nstripes="2" sys.forced.space="default"

Configuration Management with Ansible

Ansible at NA62

From Marco Boretto. He used ansible for the NA62 experiment.

  • https://gitlab.cern.ch/mboretto/ansible-na62farm
  • Hi Geoffrey,
    
    I added you as a developer of the project, you should be able to access to https://gitlab.cern.ch/mboretto/ansible-na62farm
    
    Ansible don't provide you the infrastructure to install the OS on the host, for NA62 I exploit the aims2client tool provided by CERN IT. I wrote down the procedure to use it in the  repository READM: https://gitlab.cern.ch/mboretto/ansible-na62farm#install-centos7-cern
    
    The configuration is tailored on the NA62 experiment, many part are very generic and can be reused in any infrastructure.
    
    Along with the Ansible configuration I setted up a virtual machine that aims at provide binary files (.rpm packages) not provided by the common repository (here the link http://belafonte.cern.ch/repos/cc7/)
    
    Don't hesitate to contact me if for any question!
    
    Marco
    

Install logstash and filebeat

Instructions from Roland Sipos in how he uses the logstash and filebeat ansible roles.

  • I have a clone of the np04online repo.
  • source np04-ansible.sh
  • I move to playbooks directory and edit the hosts (inventory) file: I modify [filebeat-hosts] and [logstash-hosts] to include/exclude hosts.
  • Then I call:
    • ansible-playbook --ask-pass filebeat.yml
    • ansible-playbook --ask-pass logstash.yml

Test Disk I/O

-- DavidGeoffreySavage - 2017-07-03

Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf Instructions_for_fio_tests.pdf r1 manage 168.0 K 2018-07-16 - 13:40 DavidGeoffreySavage From Stu Fuess. Test disk i/o rates.
PDFpdf impedance_montior.pdf r1 manage 1323.5 K 2018-12-08 - 09:52 DavidGeoffreySavage Gizmo network configurations
Texttxt interfaces.np02-imn-1.txt r1 manage 1.8 K 2018-12-08 - 09:52 DavidGeoffreySavage Gizmo network configurations
Texttxt interfaces.np04-imn-1.txt r1 manage 1.8 K 2018-12-08 - 09:52 DavidGeoffreySavage Gizmo network configurations
Edit | Attach | Watch | Print version | History: r19 < r18 < r17 < r16 < r15 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r19 - 2018-12-08 - DavidGeoffreySavage
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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