Preprequisites

To be able to connect to host cvmfs-lhcb, you need to be part of egroup LxCvmfs-lhcb. Please note that all members of "lhcb-cvmfs-librarians" are automaticallly included in this egroup so normally no action is needed for release shifters to be able to connect.

Software Installation

Connection to "shared" account on host "cvmfs-lhcb"

All installation of software is done on host "cvmfs-lhcb", under the account called "shared".

So first connect to "cvmfs-lhcb":

ssh yourusername@cvmfs-lhcb

Then check that nobody else is connected to install software:

$ pgrep -fl -u shared
$ sudo -i -u shared

Software installation

  • Upload your changes using the scripts from the ${HOME}/bin directory:

          install_software.sh <Project> <version>
     

  • One you have done all the installs, you have to update the global catalog (needs to be done just once at the end, to publish everything that you have installed)
    cvmfs-update-client

Note that the various install_software and cvmfs-update-client commands can be chained by separating them with ;

Appendix

IT CVMFS Information

All information from IT Department can be found at https://twiki.cern.ch/twiki/bin/view/CvmFS/Installers

LHCB Software on cvmfs-lhcb

Scripts

All updates to software deployed on cvmfs should be done under account "shared". "/home/shared/bin" contains the necessary scripts to add/remove software:

* install_software.sh: To call install_project to add new projects/versions * remove_software.sh: To Remove software versions * cvmfs-update-client: Synchronize the CVMFS file system

Some other scripts are also available (same name as above but prefixed with std_ perform the smae action without logging)

The output of those command is automatically logged to "/home/shared/logs/install.log

CRON

The local CRON is running on this host to automatically update SQLDDDB every hour. The logs for this cron is in: /home/shared/logs/update_sqldddb.log

A backup of the CRONTAB is available in /home/shared/conf.crontab.backup

-- BenjaminCouturier - 21-Feb-2012

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2012-03-14 - MarcoCattaneo
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb 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