How to setup an LCG UI on your desktop
From ATLAS-TRIUMF
NOTE: If you are running on a machine in the ATLAS cluster at TRIUMF, you do not need to install gLite locally to run the LCG UI; just make sure you automount /atlas/ATLASLocalRootBase and do the following setup each time you want to use gLite in a login session:
export ATLAS_LOCAL_ROOT_BASE=/atlas/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
localSetupGLite
But say you want it on a laptop or something, read on...
[edit] Installation Instructions
If you are installing under SL4, follow the SL4-specific tar-file instructions. Installing gLite 3.1 with this tar ball solved the problems I was having with my older gLite 3.0 installation (couldn't get a voms-proxy...).
For SL3 there are generic instructions here.
This is the site-info.def I used:
INSTALL_ROOT=$HOME/gLite MY_DOMAIN=triumf.ca PX_HOST=myproxy.cern.ch WMS_HOST=rb106.cern.ch BDII_HOST=lcg-bdii.cern.ch MON_HOST=lcggiis01.$MY_DOMAIN REG_HOST=lcgic01.gridpp.rl.ac.uk VOS="ATLAS" USERS_CONF=$INSTALL_ROOT/glite/yaim/examples/users.conf SITE_EMAIL=devnull@freesurf.ch JAVA_LOCATION=/usr/java/j2sdk1.4.2_12 QUEUES="dummy" DUMMY_GROUP_ENABLE="dummy" CA_REPOSITORY="rpm http://linuxsoft.cern.ch/ LCG-CAs/current production" # The follwing two variables have to be defined for every VO listed in VOS #VO_<VO-NAME>_VOMS_SERVERS=<list of VOMS servers for the VO VO-NAME> #VO_<VO-NAME>_VOMSES=<List of entries for the vomses files for VO VO-NAME> VO_ATLAS_VOMS_SERVERS="vomss://lcg-voms.cern.ch:8443/voms/atlas?/atlas/" #VO_ATLAS_VOMSES="'atlas lcg-voms.cern.ch 15001 /C=CH/O=CERN/OU=GRID/CN=host/lcg-voms.cern.ch atlas' 'atlas voms.cern.ch 15001 /C=CH/O=CERN/OU=GRID/CN=host/voms.cern.ch atlas'" VO_ATLAS_VOMSES="'atlas lcg-voms.cern.ch 15001 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch atlas' 'atlas voms.cern.ch 15001 /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch atlas'"
Is there a yum repository for the glite stuff that works with SL4?
--Isabel 16:16, 13 September 2007 (PDT)
[edit] Older Notes
Some of the following is a bit obsolete. If you are installing under SL4, for example, it is better to follow the more generic tar-file instructions.
This is the site-info.def I used:
INSTALL_ROOT=$HOME/gLite MY_DOMAIN=triumf.ca PX_HOST=myproxy.cern.ch WMS_HOST=rb106.cern.ch BDII_HOST=lcg-bdii.cern.ch MON_HOST=lcggiis01.$MY_DOMAIN REG_HOST=lcgic01.gridpp.rl.ac.uk VOS="ATLAS" USERS_CONF=$INSTALL_ROOT/glite/yaim/examples/users.conf SITE_EMAIL=devnull@freesurf.ch JAVA_LOCATION=/usr/java/j2sdk1.4.2_12 QUEUES="dummy" DUMMY_GROUP_ENABLE="dummy" CA_REPOSITORY="rpm http://linuxsoft.cern.ch/ LCG-CAs/current production" # The follwing two variables have to be defined for every VO listed in VOS #VO_<VO-NAME>_VOMS_SERVERS=<list of VOMS servers for the VO VO-NAME> #VO_<VO-NAME>_VOMSES=<List of entries for the vomses files for VO VO-NAME> VO_ATLAS_VOMS_SERVERS="vomss://lcg-voms.cern.ch:8443/voms/atlas?/atlas/" VO_ATLAS_VOMSES="'atlas lcg-voms.cern.ch 15001 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch atlas' 'atlas voms.cern.ch 15001 /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch atlas'"
In that case, do not forget to set the correct INSTALL_ROOT and JAVA_LOCATION.
You may have to create the $INSTALL_ROOT/glite/etc/vomses directory by hand,
and put the appropriate atlas-voms.cern.ch and atlas-lcg-voms.cern.ch files
in it.
Then don't forget to do source $INSTALL_ROOT/etc/profile.d/grid_env.sh when you log on and want to use it. Seems to work for me on SL4 as of --Isabel 17:28, 9 March 2007 (PST)
Please follow the following steps to have your desktop setup as an LCG UI (done under root) (and assuming you have SL 3.05 and installing LCG 2.7.0 UI):
This is what you do if your computer is in the triumf.ca domain; elsewhere you should first consult your local guru to see if there is a local mirror you should be using; if not try this Generic LCG UI Setup, which I have not tested...
1) ask Denice to allow your machine to access the LCG rpms repository at TRIUMF
2) add the following line to your /etc/auto.master
/opt/mirror /etc/auto.mirror --timeout 600
create /etc/auto.mirror file and add the following line to it:
rpms -ro,soft,intr lcfg.triumf.ca:/ks/mirror
3) create /opt/mirror directory/mount point
4) reload the auto mounter: /etc/init.d/autofs reload
N.B. steps 1-4 done only once in principle...
5) do the rpm install / configuration (first you should probably back up your existing /etc/yum.conf in case you had anything special in it...)
wget http://trshare.triumf.ca/~tafirout/LCG_UI_270/yum.conf -O /etc/yum.conf
From here on is fairly generic, and should also work if you set up your yum.conf using the instructions for Generic LCG UI Setup
yum check-update
yum update
if there are problems with previous command, do the following:
rm -rf /var/lib/rpm/__db.001 /var/lib/rpm/__db.002
yum update
then continue with...
yum install lcg-UI
yum update lcg-UI
wget http://trshare.triumf.ca/~tafirout/LCG_UI_270/site-info.def -O /opt/lcg/yaim/etc/site-info.def
Note: this site-info.def may be out of date, and needs to be adapted to your specific site if you are not at TRIUMF. Have a look here for how to configure this file.
/opt/lcg/yaim/scripts/configure_node /opt/lcg/yaim/etc/site-info.def UI
wget http://trshare.triumf.ca/~tafirout/LCG_UI_270/edg_wl_ui_gui_var.conf -O /opt/edg/etc/edg_wl_ui_gui_var.conf
wget http://trshare.triumf.ca/~tafirout/LCG_UI_270/edg_wl_ui_cmd_var.conf -O
/opt/edg/etc/edg_wl_ui_cmd_var.conf
wget http://trshare.triumf.ca/~tafirout/LCG_UI_270/edg_wl_ui.conf -O /opt/edg/etc/atlas/edg_wl_ui.conf
Note: in order to get files from NorduGrid, I discovered that I also had to do, explicitly:
yum install ca_NorduGrid
I'm not sure why they are special... --Isabel 15:54, 15 June 2006 (PDT)

