120 likes | 307 Views
Carlos Fuentes Bermejo IRIS-CERT/RedIRIS 11th EELA Tutorial, Madrid 10-14 de Septiembre de 2007. WMS+LB Server Installation and Configuration. This presentation is based on LCG and gLite manuals and previous EELA tutorials. Installation Pre-requisites. Always verify the deployment of
E N D
Carlos Fuentes Bermejo IRIS-CERT/RedIRIS 11th EELA Tutorial, Madrid 10-14 de Septiembre de 2007 WMS+LB Server Installation and Configuration
This presentation is based on LCG and gLite manuals and previous EELA tutorials
Installation Pre-requisites • Always verify the deployment of • Java SDK • NTP daemon • APT • Latest glite-yaim • Check your host certificates in /etc/grid-security and its permissions: • -rw-r--r-- 1 root root 1127 Jun 14 12:27 hostcert.pem • -r-------- 1 root root 887 Jun 14 12:28 hostkey.pem • WMS+LB services requires a wide range of ports • (Set the firewall allowing input for any protocol in the range of ports > 1023 )
Glite and Gilda Metapackages • Usual combination: RB and BDII • Possible combination: CE and WMS • CE/RB or RB/SE doesn’t work.
Gilda RB Installation • Modify my-site-info.def and edit this fields: • RB_HOST=grid-XXX • Install all packages for a Gilda LCG RB • /opt/glite/bin/gilda_ig_install_node ./my-site-info.def GILDA_ig_RB • Configure Gilda RB node • /opt/glite/bin/gilda_ig_configure_node ./my-site-info.def GILDA_ig_RB
Testing the WMS • Login to a user interface (sevillaXX in glite-tutor.ct.infn.it): • Create and Edit rb-test.conf with the following line (replace XXX to match your WMS+LB host): • [ • VirtualOrganisation = "gilda"; • NSAddresses = { • “gridXX.cica.es:7772” • }; • LBAddresses = { • {“gridXX.cica.es:9000"} • }; • MyProxyServer = "grid001.ct.infn.it"; • ] • Try: • Send a job and Monitor the run of your job and if you will be able to retrieve its output, if your are in the right way!
Testing the WMS (II) • $ edg-job-submit --config-vo rb-test.conf hostname.jdl • Selected Virtual Organisation name (from --config-vo option): gilda • Connecting to host grid24.cica.es, port 7772 • Logging to host glite-rb.ct.infn.it, port 9002 • *********************************************************** • JOB SUBMIT OUTCOME • The job has been successfully submitted to the Network Server. • Use edg-job-status command to check job current status. Your job identifier (edg_jobId) is: • - https://grid24.cica.es:9000/s-0TPYMsyKXKzN8f-QGD8g • **********************************************************
Testing the WMS (III) • $ edg-job-status https://grid24.cica.es:9000/s-0TPYMsyKXKzN8f-QGD8g • *********************************************** • BOOKKEEPING INFORMATION: • Status info for the Job : https://grid24.cica.es:9000/s-0TPYMsyKXKzN8f-QGD8g • Current Status: Scheduled • Status Reason: Job successfully submitted to Globus • Destination: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-short • reached on: Thu May 10 11:08:02 2007 • ************************************************* • $ edg-job-status https://grid24.cica.es:9000/s-0TPYMsyKXKzN8f-QGD8g • ************************************************* • BOOKKEEPING INFORMATION: • Status info for the Job : https://grid-12.tut1.rediris.es:9000/s-0TPYMsyKXKzN8f-QGD8g • Current Status: Done (Success) • Exit code: 0 • Status Reason: Job terminated successfully • Destination: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-short • reached on: Thu May 10 11:12:42 2007 • ***********************************************
Testing the WMS (IV) • $ edg-job-get-output https://grid24.cica.es:9000/s-0TPYMsyKXKzN8f-QGD8g • ********************************************** • JOB GET OUTPUT OUTCOME • Output sandbox files for the job: • - https://grid-12.tut1.rediris.es:9000/s-0TPYMsyKXKzN8f-QGD8g • have been successfully retrieved and stored in the directory: • /tmp/jobOutput/madrid12_s-0TPYMsyKXKzN8f-QGD8g • ********************************************** • $ cd /tmp/jobOutput/grid24_s-0TPYMsyKXKzN8f-QGD8g • $ ls • hostname.err hostname.out • $ cat hostname.err • $ cat hostname.out • egee013.cnaf.infn.it
WMS Logs • Logs can be found in • /var/edgwl/networkserver/log/events.log • /var/edgwl/networkserver/log/workload_manager/events.log • They are the best starting point to deal with eventual problems. • You can monitor and follow the jobs • See if the BDII and RGMA purchasing is working fine
References • LCG-2 User Guide • https://edms.cern.ch/file/454439//LCG-2-UserGuide.html • gLite 3.0 User Guide • https://edms.cern.ch/file/722398/1.1/gLite-3-UserGuide.pdf • gLite 3.0 installation manual • http://grid-deployment.web.cern.ch/grid-deployment/documentation/LCG2-Manual-Install • GILDA gLite 3.0 installation manual: • https://gilda.ct.infn.it/docs/GILDAsiteinstall-3_0_0.html • GILDA gLite 3.0 installation notes wiki • https://grid.ct.infn.it/twiki/bin/view/GILDA/GliteElementsInstallation • EGEE Users Guide: WMS Service • http://documents.eu-eela.org/getfile.py?docid=188&name=EGEE-JRA1-TEC-572489-WMS-guide-v0-2&format=pdf&version=1