Difference between revisions of "Setting up a gLite WMS"

From PDP/Grid Wiki
Jump to navigationJump to search
 
Line 36: Line 36:
 
the respective sources.lists are:
 
the respective sources.lists are:
  
rpm http://linuxsoft.cern.ch/ LCG-CAs/current production
+
rpm http://linuxsoft.cern.ch/ LCG-CAs/current production
rpm http://www.dutchgrid.nl/mirror/apt/centos 3/i386 os updates
+
rpm http://www.dutchgrid.nl/mirror/apt/centos 3/i386 os updates
rpm http://glitesoft.cern.ch/EGEE/gLite/APT/R3.0/glite-WMSLB rhel30 externals Release3.0 updates
+
rpm http://glitesoft.cern.ch/EGEE/gLite/APT/R3.0/glite-WMSLB rhel30 externals Release3.0 updates
rpm http://www.dutchgrid.nl/mirror/jpackage 1.6/generic free
+
rpm http://www.dutchgrid.nl/mirror/jpackage 1.6/generic free
rpm http://www.dutchgrid.nl/mirror/jpackage 1.6/redhat-el-3.0 free
+
rpm http://www.dutchgrid.nl/mirror/jpackage 1.6/redhat-el-3.0 free
rpm http://linuxsoft.cern.ch  cern/slc30X/i386/apt os updates extras
+
rpm http://linuxsoft.cern.ch  cern/slc30X/i386/apt os updates extras
  
 
doing an
 
doing an

Revision as of 13:12, 9 October 2007

Notes for installing a gLite WMS on CentOS 3

About

The gLite Workload Management System is a replacement for the old LCG Resource Broker.

The current version is 2.4.4 (RPM glite-WMS-2.4.4) and it's installed with YAIM 3.1 on a CentOS 3 machine. A version for CentOS 4 is in the works.


Summary

The installation went smoothly, with only the 'boost' and 'boost-devel' packages needed from SLC. Some care was required because a dedicated 'glite' account will be created, with a default homedir of /home/glite.


Getting started

You need APT-RPM, a port of the Debian package manager to SL. It can be installed from http://glitesoft.cern.ch/scientific/30rolling/i386/apt-rpm/RPMS.os/apt-0.5.15cnc6-4.SL.i386.rpm

After installing APT, you need to configure several apt sources for various repositories:

  • CentOS 3
  • LCG-CA
  • gLite-WMSLB
  • JPackage 1.6
  • SLC (ouch!)

the respective sources.lists are:

rpm http://linuxsoft.cern.ch/ LCG-CAs/current production
rpm http://www.dutchgrid.nl/mirror/apt/centos 3/i386 os updates
rpm http://glitesoft.cern.ch/EGEE/gLite/APT/R3.0/glite-WMSLB rhel30 externals Release3.0 updates
rpm http://www.dutchgrid.nl/mirror/jpackage 1.6/generic free
rpm http://www.dutchgrid.nl/mirror/jpackage 1.6/redhat-el-3.0 free
rpm http://linuxsoft.cern.ch  cern/slc30X/i386/apt os updates extras

doing an

apt-get update && apt-get install glite-WMSLB

after that should install the middleware. This will pull in glite-yaim-core, glite-yaim-lb and glite-yaim-wms as well.

The [http://spreadsheets.google.com/ccc?key=p3UAF2zIUsTbI2wb56pE5KQ&hl=en&pli=1 list of installed packages].

Configuring the middleware

Install the host cert and key, prepare gridmapdir and such. Install the VOMS server cert in /etc/grid-security/vomsdir.

Using YAIM, the configuration can be done provided a good site-info.def file is prepared. The yaim command line then is:

/opt/glite/yaim/bin/yaim -c -s site-info.def -n glite-WMS -n glite-LB

A dedicated account for glite is being made (config_edgusers). The host key and cert are copied to ~glite/.certs. The default location is /home/glite and if you don't like that set

GLITE_USER_HOME=/preferred/glite/home/dir

in site-info.def. Make sure gridmapdir is writable by glite.

A bug in yaim (GGUS ticket 27609) hardcodes /home/glite (scripts config_glite_lb and config_glite_lbproxy) for GLITE_HOST_CERT and GLITE_HOST_KEY.



Links

gLite WMS troubleshooting guide
https://twiki.cern.ch/twiki/bin/view/LCG/GLiteWMSTroubleshooting
gLite WMS release notes
https://twiki.cern.ch/twiki/bin/view/EGEE/Glite30WMSCHKPTProd
Generic installation guide
https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide301
YAIM guide
https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide311