INFSO-RI-508833 Enabling Grids for E-sciencE www.eu-egee.org WMS + LB Installation Emidio Giorgio Giuseppe La Rocca INFN EGEE Tutorial, Rome 02-04.November.2005.

Slides:



Advertisements
Similar presentations
Workload management Owen Maroney, Imperial College London (with a little help from David Colling)
Advertisements

FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
INFSO-RI Enabling Grids for E-sciencE EGEE Middleware The Resource Broker EGEE project members.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America FiReMan Installation Emidio Giorgio INFN.
FP6−2004−Infrastructures−6-SSA User Interface Installation Valeria Ardizzone INFN – Catania Grid tutorial for users and.
INFSO-RI Enabling Grids for E-sciencE Practicals on VOMS and MyProxy Emidio Giorgio INFN Retreat between GILDA and ESR VO, Bratislava,
Ninth EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America User Interface installation and configuration.
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
IST E-infrastructure shared between Europe and Latin America VOMS and MyProxy Server installation and configuration Pedro Henrique.
INFSO-RI Enabling Grids for E-sciencE Logging and Bookkeeping and Job Provenance Services Ludek Matyska (CESNET) on behalf of the.
1 Introduction to the tutorial for site managers Antonio Fuentes Red.es/RedIRIS EGEE/EUMedGrid/EELA Tutorial for Managers Sevilla,
FP6−2004−Infrastructures−6-SSA Computing Element & Torque Server Installation Giuseppe La Rocca INFN – Catania Grid tutorial for users and system.
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite IPv6 compliance project tests Further.
Enabling Grids for E-sciencE Workload Management System on gLite middleware Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi (Vietnam)
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Workload Management System + Logging&Bookkeeping Installation.
E-science grid facility for Europe and Latin America LFC Server Installation and Configuration Antonio Calanducci INFN Catania.
INFSO-RI Enabling Grids for E-sciencE Workload Management System Mike Mineter
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Information System on gLite middleware Vincent.
E-science grid facility for Europe and Latin America gLite WMS Installation and configuration Riccardo Bruno – INFN.CT 30/06/2008 – 04/07/2008.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America AMGA Server Installation Tony Calanducci.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America MyProxy server installation Emidio Giorgio.
INFSO-RI Enabling Grids for E-sciencE R-GMA Server Installation Tony Calanducci INFN Catania - Italy First Latin American Workshop.
INFSO-RI Enabling Grids for E-sciencE Installation and configuration of gLite Resource Broker Emidio Giorgio INFN EGEE-EMBRACE tutorial,
EGEE-II INFSO-RI Enabling Grids for E-sciencE Using gLite API Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks WMSMonitor: a tool to monitor gLite WMS/LB.
INFSO-RI Enabling Grids for E-sciencE WMS & LB Installation Giuseppe La Rocca INFN Catania - Italy First Latin American Workshop.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Computing Element & Torque Server Installation.
9th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
12th EELA Tutorial for Users and System Administrators E-infrastructure shared between Europe and Latin America User Interface installation.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America WMS + LB Installation Emidio Giorgio INFN.
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation and Configuration.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America User Interface (gLite 1.4) Installation.
E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers Vanessa Hamar Universidad de Los.
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS Server Giuseppe La Rocca INFN EGEE Tutorial Rome November 2005.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers.
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS server Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.
INFSO-RI Enabling Grids for E-sciencE User Interface (UI) Installation Giuseppe La Rocca INFN Catania - Italy First Latin American.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Tony Calanducci.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America R-GMA Server Installation Valeria Ardizzone.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America SRM + gLite IO Server install Emidio Giorgio.
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
Third EELA Tutorial for Managers and Users E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
INFSO-RI Enabling Grids for E-sciencE /10/20054th EGEE Conference - Pisa1 gLite Configuration and Deployment Models JRA1 Integration.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to P-GRADE Portal hands-on Miklos Kozlovszky MTA SZTAKI
12th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using WMProxy advanced job submission.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite configuration (plans) Robert Harakaly.
TP: Grid site installation BEINGRID site installation.
INFSO-RI Enabling Grids for E-sciencE Installing & configuring Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.
INFSO-RI Enabling Grids for E-sciencE Computing Element & Torque Server Installation Giuseppe La Rocca INFN Catania - Italy First.
12th EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
GLite WN Installation Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks File Transfer Service Installation (v. 1.4)
INFSO-RI Enabling Grids for E-sciencE FiReMan Catalog installation Emidio Giorgio INFN EGEE tutorial, Rome
INFSO-RI Enabling Grids for E-sciencE FiReMan Catalog installation Emidio Giorgio INFN First Latin American Workshop for Grid Administrators.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
Enabling Grids for E-sciencE Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial.
16-26 June 2008, Catania (Italy) First South Africa Grid Training LFC Server Installation and Configuration Antonio Calanducci INFN Catania.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Worker Node & Torque Client Installation.
LFC Server Installation & Configuration
MyProxy Server Installation
Berkley Database Information Index (BDII) Server Installation & Configuration Giuseppe La Rocca INFN – Catania gLite Tutorial Rome, April 2006.
R-GMA Server Installation (v. 1.4)
Installing a gLite VOMS Server
WMS+LB Server Installation and Configuration
Presentation transcript:

INFSO-RI Enabling Grids for E-sciencE WMS + LB Installation Emidio Giorgio Giuseppe La Rocca INFN EGEE Tutorial, Rome November.2005

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Outline What is a Resource Broker ? How to install it How to configure Possible troubles…

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Resource Broker : overview Resource Broker is an alternate for Workload Management System + Logging and Bookkeeping Accepts and satisfies the requests for job management coming from its clients (UI’s) Requests are specified through JDL files using ClassAd NS catchs user requests, checking validity through GSI infrastructure WM, taken a valid request, chooses the most appropriate action to satisfy it. Its main task is indivuduating the best suitable resources (CE, SE…) All of these passages are tracked by LB service !

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Installing WMS + LB

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Installation Start from a fresh install of SLC Installation via – Installer script ( – APT 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)

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Request host certificates for WMS. – Install host certificate (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. – The CRL of the VO GILDA are available from Installing pre-requisites

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Installing WMS+LB via apt 1.Verify if apt is present: – rpm -qa | grep apt – Install apt if necessary:  rpm -ivh cnc6-8.SL.cern.i386.rpmhttp://linuxsoft.cern.ch/cern/slc30X/i386/SL/RPMS/apt cnc6-8.SL.cern.i386.rpm 2.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.3) – rpm rhel30 externals Release1.3 updates – apt-get update – apt-get upgrade 3.Install WMS+LB: – apt-get install glite-wms-config – apt-get install glite-lb-config See

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November If the installation is performed successfully, the following components are installed: – gLite in /opt/glite – Condor in /opt/condor-x.y.x (where x.y.z is the current condor version) – Globus in /opt/globus – MySQL in /usr/bin/mysql Installing WMS+LB via apt (cont.)

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November 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

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November 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 Attributes in xml file are well commented and self- explaining Xml files are provided as templates, under / opt/glite/etc/config/templates Copy templates file to /opt/glite/etc/config Edit each of them separately Then we could launch the configurator scripts for WMS and LB

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-global.cfg.xml Check your java package installed.

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-wms.cfg.xml Here are defined some key values for the WMS daemons glite.user.name : glite [user running glite Services] glite.user.group : glite [user group running glite Services] pool.account.basename : xxxx [prefix of pool user accounts] pool.account.group : xxxx [prefix of group for pool user accounts]

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-wms.cfg.xml (cont.) pool.account.number : 50 [number of pool accounts that will be created] information.index.host : grid004.ct.infn.it information.index.port : 2170 R-GMA Server : rgmasrv.ct.infn.it

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-wms.cfg.xml (cont.) gilda gildav cert-voms-01.cnaf.infn.it

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Also, in glite, WMS can work both in push or pull mode Pull mode : waiting notifications from CE’s wms.Cemon.Port : 5120 glite-wms.cfg.xml (cont.)

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-security-utils.cfg.xml Set the parameters to correctly build files needed by GSI Enable glite-mkgridmap cron-job Enable fetch-crl cron-job Edit /opt/glite/etc/glite-mkgridmap.conf group ldap://grid-vo.cnaf.infn.it:10389/ou=Testbed- gilda,o=gilda,c=it.gilda group vomss://kuiken.nikhef.nl:8443/voms/gildav?/gildav.gildav

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-lb.cfg.xml Configuration needs less parameters respect to WMS <rgma.servicetool.service_type description="The service type. This should be uniquely defined for each service type. The recommended format is the service namespace in reversed domain name format [Type: 'string']" value="org.glite.lb.lbserver"/> <rgma.servicetool.name description="Name of the service. This should be globally unique. [Example:HOSTANME_LB_LocalLogger] " value="${HOSTNAME}_${rgma.servicetool.service_ty pe}"/>

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-lb.cfg.xml (cont.) <rgma.servicetool.status_script description="Script to run when determining the service status. This script should return an exit code of 0 to indicate the service is OK, other values should indicate an error. The first line of the standard output should be a brief message describing the service status (e.g. 'Accepting connections') Example: ${GLITE_LOCATION}/etc/init.d/glite-lb-bkserverd status [Type: 'string']" value="${GLITE_LOCATION}/etc/init.d/glite-lb- bkserverd status"/>

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November glite-rgma-servicetool.cfg.xml Define the site name of the publisher node, generally the FQDN of the RB rgma.servicetool.sitename : rgmasrv.ct.infn.it glite-rgma-common.cfg.xml Define the R-GMA server where to publish infos rgma.server.hostname : rgmasrv.ct.infn.it

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Installation of VOMS Certificate Install the GILDA's VOMS server host certificates gildav-cert-voms-01.cnaf.infn.it.pem in the directory /etc/grid-security/vomsdir Edit the /opt/glite/etc/vomses file as follow: "gildav" "cert-voms-01.cnaf.infn.it" "15008" "/C=IT/O=INFN/OU=Host/L=CNAF/CN=cert-voms- 01.cnaf.infn.it" "gildav"

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November 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 Now your WMS should be capable to accept jobs and to dispatch them to the CE’s.

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Troubleshooting UI is unable to contact NS : possible reason : the user subject is not mapped No resources found with glite-job-list-match possible reason : WMS doesn’t find resources check in glite_wms.conf that II_Contact, II_Port and Gris_Port are coherent with your II configuration. Many other problems could occur : ask to support !

Enabling Grids for E-sciencE INFSO-RI EGEE Tutorial Rome November Questions…