Difference between revisions of "GLite on Nikhef Desktops"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 30: | Line 30: | ||
* Run Yaim | * Run Yaim | ||
$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 == | ||
+ | |||
+ | 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 | ||
+ | |||
+ | == Testing 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 |
Revision as of 15:04, 29 July 2009
Notes on how to install the gLite UI tarball for Nikhef desktop use
Download the tarballs from the glite website:
- glite 3.1: http://glite.web.cern.ch/glite/packages/R3.1/updates.asp
- glite 3.2: http://glite.web.cern.ch/glite/packages/R3.2/sl5_x86_64/updates.asp
Make sure to download both the glite-UI tarball itself and the glite-UI-externals tarball.
Extracting 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
Configuring 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
Cleaning 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
Testing 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