Difference: HowToSetUpACERNOpenStackInstanceWithAFSAndGRIDAccess (1 vs. 2)

Revision 22016-02-21 - NikitaKazeev

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"

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

Create a VM instace
Line: 15 to 15
 yum install wlcg-repo yum install voms-clients yum-config-manager --add-repo http://linuxsoft.cern.ch/egi/production/cas/1/current
Deleted:
<
<
yum install fetch-crl chkconfig fetch-crl-cron on service fetch-crl-cron start
 wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo -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

Revision 12016-02-08 - NikitaKazeev

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LHCbComputing"

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 http://linuxsoft.cern.ch/wlcg/wlcg-sl6.repo
wget http://linuxsoft.cern.ch/wlcg/RPM-GPG-KEY-wlcg -P /etc/pki/rpm-gpg
yum install wlcg-repo
yum install voms-clients
yum-config-manager --add-repo http://linuxsoft.cern.ch/egi/production/cas/1/current
yum install fetch-crl
chkconfig fetch-crl-cron on
service fetch-crl-cron start
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo -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://xrootd-lhcb.cr.cnaf.infn.it//storage/gpfs_lhcb/lhcb/disk/LHCb/Collision15/TURBO.MDST/00047765/0000/00047765_00001241_1.turbo.mdst"
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/Turbo                                                 
/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
 
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