NFS installation and configuration

In order to prepare a Network File System, which can be used to hold a TDAQ installation as well as data, create a directory to share:
  mkdir -p /home/nfs/

Next step is to install NFS packages:

  sudo yum install nfs-ganesha nfs-utils

The last step on the server side is to edit /etc/exports file to look like this:

  /home/nfs pc-bl4s-07.cern.ch(rw,sync)
It means that pc-bl4s-07.cern.ch can mount /home/nfs directory with read and write access.

Now, on a client side (pc-bl4s-07.cern.ch) one should create a mounting point (e.g. /nfs) and edit /home/fstab file so that it mounts automatically. The fstab entry should looks like this:

  bl4s-nfs.cern.ch:/home/nfs  /nfs  nfs rsize=8192,wsize=8192,timeo=14,intr

TDAQ-06-01-01 installation using ayum

Standard RPM repository manager (yum) requires root privileges and it doesn't provide a possibility to define alternative installation path. Therefore a customized version of yum (ayum) has been created for tdaq installations.

It requires SLC6-like system, working HTTP connection and a free disk space ~10GB.

  mkdir -p /home/nfs/atlas
  cd /home/nfs/atlas
  rpm -i --dbpath `pwd`/.rpmdb --prefix=`pwd` http://atlas-tdaq-sw.web.cern.ch/atlas-tdaq-sw/yum/tdaq/slc6/x86_64/ayum_slc6-2-0.x86_64.rpm

To get an access to a repo which holds tdaq and externals one has to add the repo to ayum configuration:

 
  vim ayum/etc/yum.repos.d/lcg.repo

and paste the following content:

[lcg]
name="LCG s/w"
baseurl=http://atlas-tdaq-sw.web.cern.ch/atlas-tdaq-sw/yum/LCG/slc6
enabled=1

To facilitate typing one can create an alias:

  alias ayum=/home/nfs/atlas/ayum/ayum

Update ayum database:

 
  ayum update

To install TDAQ-06-01-01 follow this instructions

  ayum install tdaq-06-01-01_DAQRelease_x86_64-slc6-gcc49-opt  tdaq-06-01-01_databases CMTv1r25p20130606Linux-i686 gcc_4.9.3_x86_64-slc6 tdaq-06-01-01_DAQRelease_src LCGCMT_LCGCMT_81c_x86_64_slc6_gcc49_opt

To reduce an occupied space one can run:

  ayum clean all

Preparing an environment

When everything is ready, one has to source the following file:
  /home/nfs/atlas/tdaq/tdaq-06-01-01/installed/setup.sh
It is recommended to create an own setup file, which will contains previously mentioned source and other useful settings.

-- OskarWyszynski - 2016-08-13

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2016-08-15 - OskarWyszynski
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    BL4S All webs login

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