How to set up a CERN OpenStack instance with AFS and GRID access

Create a VM instace

Log in as root using the keypair

Install the packages for GRID to work

yum install wget 
yum-config-manager --add-repo
wget -P /etc/pki/rpm-gpg
yum install wlcg-repo
yum install voms-clients
yum-config-manager --add-repo
wget -O /etc/yum.repos.d/egi-trustanchors.repo
yum install CERN-CA-certs ca_CERN-GridCA ca_CERN-Root ca_CERN-Root-2
yum install wlcg-voms-lhcb

Test the setup

voms-proxy-init -voms lhcb
SetupProject Bender
echo "ls()" | bender "root://"
You should see Bender output with the event fields like this:
/Event/DAQ                                                         DataObject 
/Event/DAQ/RawEvent                                                LHCb::RawEvent 
/Event/DAQ/ODIN                                                    LHCb::ODIN 
/Event/Rec                                                         DataObject 
Or, if something happens with this particular site, FAILURE in the Ipython section with IODataManager       ERROR Error: connectDataIO> Cannot connect to database in the log above.

Setup tmux and k5reath for running background tasks with AFS access

-- NikitaKazeev - 2016-02-08
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2016-02-21 - NikitaKazeev
    • 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-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