Difference between revisions of "GLite on Nikhef Desktops"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 21: Line 21:
 
  tar xzf .../glite-UI-<VERSION>-0-external.tar.gz
 
  tar xzf .../glite-UI-<VERSION>-0-external.tar.gz
  
== Configuring using Yaim ==
+
== Configure using Yaim ==
  
 
* Copy a <tt>site-info.def</tt> from a previous installation
 
* Copy a <tt>site-info.def</tt> from a previous installation
Line 31: Line 31:
 
  $PWD/glite/yaim/bin/yaim -c -s $PWD/site-info.def -n UI_TAR
 
  $PWD/glite/yaim/bin/yaim -c -s $PWD/site-info.def -n UI_TAR
  
== Cleaning up after Yaim ==
+
== Clean up after Yaim ==
  
 
There are a few things that need to be cleaned up/correct after a default Yaim configuration:
 
There are a few things that need to be cleaned up/correct after a default Yaim configuration:
Line 50: Line 50:
 
* copy over glite_wms*conf files from bosui
 
* copy over glite_wms*conf files from bosui
  
== Testing the new installation ==
+
== Test the new installation ==
  
 
* Load the environment first
 
* Load the environment first

Revision as of 16:05, 29 July 2009

Notes on how to install the gLite UI tarball for Nikhef desktop use

Download the tarballs from the glite website:

Make sure to download both the glite-UI tarball itself and the glite-UI-externals tarball.

Extract the tarballs

  • Log in as the user 'gridadm' on a Nikhef desktop, login.nikhef.nl (SL4) or login2.nikhef.nl (SL5)
  • Go to the global installation directory
cd /global/ices/lcg
  • Create a directory for the new tarball and 'cd' into it,
mkdir glite<VERSION>
cd glite<VERSION>

where <VERSION> denotes the full version number of the glite update, e.g. 3.1.35

  • Unpack the tarballs
tar xzf .../glite-UI-<VERSION>-0.tar.gz
tar xzf .../glite-UI-<VERSION>-0-external.tar.gz

Configure using Yaim

  • Copy a site-info.def from a previous installation
cd /global/ices/lcg/glite<VERSION>
export INSTALL_ROOT=$PWD
cp -rp ../glite3.1.35/site-info.def ../glite3.1.35/vo.d .
  • Modify the INSTALL_ROOT variable to point to the new version
  • Run Yaim
$PWD/glite/yaim/bin/yaim -c -s $PWD/site-info.def -n UI_TAR

Clean up after Yaim

There are a few things that need to be cleaned up/correct after a default Yaim configuration:

  • use the correct grid-security directory
cd $INSTALL_ROOT
mkdir etc
cd etc
ln -fs ../../grid-security
cd $INSTALL_ROOT/external/etc
rm -rf grid-security
ln -fs ../../../grid-security


(not complete yet)

  • copy over correct grid-env scripts from previous release
  • copy over glite_wms*conf files from bosui

Test the new installation

  • Load the environment first
. /global/ices/lcg/glite<VERSION>/etc/profile.d/grid-env.sh

and watch for any warnings/errors

  • Generate a proxy
voms-proxy-init -voms pvier
  • Delegate your proxy to the WMS
glite-wms-delegate-proxy -d $LOGNAME.test
  • Do a job list match:
glite-wms-job-list-match -d $LOGNAME.test HelloWorld.jdl