Service reference
card
Admin guide
3.2. glite-LB (wmslb02)
1. Preliminaries
(a) Install hostcert:
openssl pkcs12 -clcerts -nokeys -out hostcert.pem -in wmslb01.p12
openssl pkcs12 -nocerts -nodes -out hostkey.pem -in wmslb01.p12
(b) Install software:
cd /etc/yum.repos.d/
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-LB.repo
wget
http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/lcg-CA.repo
(these days:
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo
)
/etc/yum.conf set gpgcheck to 0 to cope with unsigned packages
yum install glite-LB
yum install lcg-CA
2. Configuration
/opt/glite/yaim/bin/yaim -c -s siteinfo-wmslb02.def -n glite-LB
3. Imperial Paranoia Special
The SL5 nodes are setup in a way that users with uid < 500 (apart from root)
cannot run cron jobs. Modifying /etc/security/access.conf
and cron.allow will not override this. Instead the cron job needs some slight
tweaking: glite-lb-purge.cron and
ic-hep-glite-purge.sh.
3.1. glite-LB (wmslb01)
1. Preliminaries
(a) Install hostcert:
openssl pkcs12 -clcerts -nokeys -out hostcert.pem -in wmslb01.p12
openssl pkcs12 -nocerts -nodes -out hostkey.pem -in wmslb01.p12
(b) Install software:
cd /etc/yum.repos.d/
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/glite-LB.repo
wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/lcg-CA.repo
/etc/yum.conf set gpgcheck to 0 to cope with unsigned packages
yum install glite-LB
yum install lcg-CA
2. Configuration
/opt/glite/yaim/bin/yaim -c -s siteinfo-wmslb01.def -n glite-LB
Note that lcgmon00 actually doesn't accept any input from wmslb01, but
apparently nobody cares about this anymore.
3. Hacks
/opt/glite/etc/LB-super-users: add:
/C=UK/O=eScience/OU=Imperial/L=Physics/CN=wms01.hep.ph.ic.ac.uk
(from wms01)
/opt/glite/etc/glite-info-service-lbserver.conf: Change service_type =
org.glite.lb.server to service_type = org.glite.lb.Server
How to painlessly increase the mysql partition on wmslb02:
vgdisplay
lvresize -L +10GB /dev/mapper/rootvg-mysqlvol
resize2fs /dev/mapper/rootvg-mysqlvol