120 likes | 284 Views
WMS + LB Installation. Emidio Giorgio INFN Catania First EELA Grid Tutorial for user and system administrators Madrid, 20-24.02.2006. Installing WMS + LB. Installation. Start from a fresh install of SLC 3.0.6 Installation via Installer script ( http://glite.web.cern.ch/glite/packages )
E N D
WMS + LB Installation Emidio Giorgio INFN Catania First EELA Grid Tutorial for user and system administrators Madrid, 20-24.02.2006
Installing WMS + LB First EELA Grid Tutorial for user and system administrators
Installation • Start from a fresh install of SLC 3.0.6 • Installation via • Installer script (http://glite.web.cern.ch/glite/packages) • APT http://glite.web.cern.ch/glite/packages/APT.asp • Installation will install all dependencies, including • other necessary gLite modules • external dependencies • JAVA is not included in distribution. Install it separately (>= 1.4.2_06) http://java.sun.com/j2se/1.4.2/download.html First EELA Grid Tutorial for user and system administrators
Installing pre-requisites • Request host certificates for the box to a CA. • https://gilda.ct.infn.it/CA/mgt/restricted/srvreq.php (es.) • Copy host certificates (hostcert.pem and hostkey.pem) in /etc/grid-certificates. • chmod 644 hostcert.pem • chmod 400 hostkey.pem • If planning to use certificates released by unsupported EGEE CA’s, be sure that their public key and CRLs (usually distributed with an rpm) are installed. • GILDA CA ones available from https://gilda.ct.infn.it/RPMS/ca_GILDA-0.28.1.i386.rpm First EELA Grid Tutorial for user and system administrators
Installing WMS+LB via apt • Verify if apt is present: • rpm -qa | grep apt • Install apt if necessary: • rpm -ivhhttp://linuxsoft.cern.ch/cern/slc30X/i386/SL/RPMS/apt-0.5.15cnc6-8.SL.cern.i386.rpm • Add gLite apt repository: • Put one this line in a file (e.g. glite.list) inside the /etc/apt/sources.list.d directory (R 1.4) • rpm http://glitesoft.cern.ch/EGEE/gLite/APT/R1.4/ rhel30 externals Release1.4 updates • apt-get update • apt-get dist-upgrade • Install WMS+LB: • apt-get install glite-wms-config • apt-get install glite-lb-config See http://glite.web.cern.ch/glite/packages/APT.asp First EELA Grid Tutorial for user and system administrators
gLite configuration – short reminder • Configuration files • XML format • templates provided in /opt/glite/etc/config/templates • Hierarchy of configuration file • Global configuration file • service specific configuration files • Parameter groups • User parameters (‘changeme’) • Advanced parameters • System parameters First EELA Grid Tutorial for user and system administrators
Configuration • Configuration comes through the execution of pyhton scripts, which takes as input xml files. • So services have to be configured by editing these xml files • Xml files are provided as templates, under /opt/glite/etc/config/templates • Copy templates file to /opt/glite/etc/config glite-global.cfg.xml glite-rgma-servicetool.cfg.xml glite-lb.cfg.xml glite-security-utils.cfg.xml glite-rgma-client.cfg.xml glite-service-discovery.cfg.xml security_checks.cfg.xml glite-rgma-common.cfg.xml glite-wms.cfg.xml First EELA Grid Tutorial for user and system administrators
Other cfg.xml • glite-service-discovery.cfg.xml • Setservice-discovery.type to file set empty other blank value • glite-rgma-common.cfg.xml • Set the RGMA-server name(s) • glite-rgma-servicetool.cfg.xml • Just the WMS/LB machine on rgma.servicetool.sitename attribute • glite-global.cfg.xml • Contains general aspects. Typically just the JAVA_HOME attribute needs to be changed, put in th location of your JVM • security_checks.cfg.xml • Leave it unchanged • glite-security-utils.cfg.xml • Just set the cron.mailto attribute value First EELA Grid Tutorial for user and system administrators
glite-wms.cfg.xml • Key values – general section glite.user.name : glite [user running glite Services] glite.user.group :glite [user group running glite Services] • VOs configuration Section : for each VO you want to be served by this wms, fill in with the information on respective VOMS server (usually provided with an rpm ). Then • For each VO you are configuring must correspond an instance in pool.account.basename : name [prefix of pool user accounts] pool.account.group : name[prefix of group for pool user accounts] pool.account.number : xx[ number of pooled user to be created ] First EELA Grid Tutorial for user and system administrators
glite-wms.cfg.xml (2/2) information.index.host : bdii.somehost.somedomain information.index.port : bdii port number( typ 2170) lb.server : The name of LB server box (typically the same machine) wms.Cemon.Port : <port numb>define the port where listening for CE notifications (typ 5120) May be important to be set SEIndex, in order to solve physical location of lfn requested by job First EELA Grid Tutorial for user and system administrators
glite-lb.cfg.xml • Configuration needs less parameters respect to WMS glite.user.name / group user name and group of user that will run lb service (could be the same of wms) Remember to set mysql root password ! First EELA Grid Tutorial for user and system administrators
Post configuration • In order to commit configuration, execute python /opt/glite/etc/config/script/glite-lb-config.py –-configure python /opt/glite/etc/config/script/glite-lb-config.py --start python /opt/glite/etc/config/script/glite-wms-config.py –-configure python /opt/glite/etc/config/script/glite-wms-config.py --start First EELA Grid Tutorial for user and system administrators