EGEE-II INFSO-RI-031688 Enabling Grids for E-sciencE www.eu-egee.org EGEE and gLite are registered trademarks Information System Tutorial Laurence Field.

Slides:



Advertisements
Similar presentations
CERN LCG Overview & Scaling challenges David Smith For LCG Deployment Group CERN HEPiX 2003, Vancouver.
Advertisements

EGEE-II INFSO-RI Enabling Grids for E-sciencE Information System Gonçalo Borges, Jorge Gomes, Mário David
EGEE-II INFSO-RI Enabling Grids for E-sciencE Information System Gonçalo Borges, Jorge Gomes, Mário David LIP Lisboa EGEE & Int.EU.Grid.
Grid Computing, B. Wilkinson, 20046c.1 Globus III - Information Services.
The EU DataGrid – Information and Monitoring Services The European DataGrid Project Team
Africa & Arabia ROC tutorial The GSTAT2 Grid Monitoring tool Mario Reale GARR - Italy ASREN-JUNET Grid School - 24 November 2011 Africa & Arabia ROC Tutorial.
E-science grid facility for Europe and Latin America Installation and configuration of a top BDII Gianni M. Ricciardi – Consorzio COMETA.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Middleware: gLite Information Systems (IS) EGEE Tutorial 23 rd APAN Meeting,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Simply monitor a grid site with Nagios J.
A. Cavalli - F. Semeria INFN Experience With Globus GIS 1 A. Cavalli - F. Semeria INFN First INFN Grid Workshop Catania, 9-11 April 2001 INFN Experience.
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America BDII Server Installation Vanessa.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Information System on gLite middleware Vincent.
GLite Information System(s) Antonio Juan Rubio Montero CIEMAT 10 th EELA Tutorial. Madrid, May 7 th -11 th,2007.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks GStat 2.0 Joanna Huang (ASGC) Laurence Field.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks WMSMonitor: a tool to monitor gLite WMS/LB.
E-infrastructure shared between Europe and Latin America 12th EELA Tutorial for Users and System Administrators gLite Information System.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Performance Improvements to BDII - Grid Information.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation and Configuration Antonio Juan.
INFSO-RI Enabling Grids for E-sciencE BDII installation & configuration Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
INFSO-RI Enabling Grids for E-sciencE OSG-LCG Interoperability Activity Author: Laurence Field (CERN)
BDII Server Installation and Configuration Manuel Rubio del Solar Extremadura Advanced Research Center (CETA-CIEMAT) 11th EELA Tutorial for Users Sevilla,
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Batch Systems and the Info (Dynamic) Provider.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation and Configuration.
Enabling Grids for E-sciencE INFSO-RI Tools for CIC Operations, Bologna, 24th May Monitoring workflow in EGEE GOC DB is used to get the list.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA gLite Information System Pedro Rausch IF.
Grid Deployment Enabling Grids for E-sciencE BDII 2171 LDAP 2172 LDAP 2173 LDAP 2170 Port Fwd Update DB & Modify DB 2170 Port.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
INFSO-RI Enabling Grids for E-sciencE GridICE: Grid and Fabric Monitoring Integrated for gLite-based Sites Sergio Fantinel INFN.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Using GStat 2.0 for Information Validation.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Information Dump White Areas Lecture Laurence.
EGEE-II INFSO-RI Enabling Grids for E-sciencE GStat Work Plans for EGEE-III Joanna Huang, ASGC/OPS EGEE SA1 F2F Meetings, Abingdon.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America gLite Information System Claudio Cherubino.
E-infrastructure shared between Europe and Latin America gLite Information System(s) Manuel Rubio del Solar CETA-CIEMAT EELA Tutorial, Mérida,
Ninth EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America BDII Server Installation Yubiryn Ramírez.
INFSO-RI Enabling Grids for E-sciencE /10/20054th EGEE Conference - Pisa1 gLite Configuration and Deployment Models JRA1 Integration.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI How to integrate portals with the EGI monitoring system Dusan Vudragovic.
The EU DataGrid – Information and Monitoring Services The European DataGrid Project Team
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical: The Information Systems.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid Monitoring Tools E. Imamagic, SRCE CE.
GIIS Implementation and Requirements F. Semeria INFN European Datagrid Conference Amsterdam, 7 March 2001.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Regional Nagios Emir Imamagic /SRCE EGEE’09,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid Configuration Data or “What should be.
FESR Trinacria Grid Virtual Laboratory gLite Information System Muoio Annamaria INFN - Catania gLite 3.0 Tutorial Trigrid Catania,
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Research Infrastructures Grant Agreement n
First South Africa Grid Training Installation and configuration of BDII Gianni M. Ricciardi Consorzio COMETA First South Africa Grid Training Catania,
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks The Dashboard for Operations Cyril L’Orphelin.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks BDII Server Installation & Configuration.
E-science grid facility for Europe and Latin America Updates on Information System Annamaria Muoio - INFN Tutorials for trainers 01/07/2008.
INFSO-RI Enabling Grids for E-sciencE The Information System: GRIS, GIIS, BDII, information providers, Installation,Configuration,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks CYFRONET site report Marcin Radecki CYFRONET.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Towards an Information System Product Team.
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
Information System Evolution Enabling Grids for E-sciencE EGEE-III INFSO-RI LDAP LDAP_ADD LDAP_MODIFY Query Merge Update Provider Plugin LDIF.
LDAP Overview Kevin Moseley Server Team Manager Walgreen Co.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Nagios Grid Monitor E. Imamagic, SRCE OAT.
EMI is partially funded by the European Commission under Grant Agreement RI EMI Status And Plans Laurence Field, CERN Towards an Integrated Information.
The Information System in gLite middleware
gLite Information System
Installation and configuration of a top BDII
gLite Information System(s)
BDII Performance Tests
The Information System in gLite
Information System Virginia Martín-Rubio Pascual
gLite Information System(s)
EGEE Middleware: gLite Information Systems (IS)
gLite Information System
BDII Server Installation and Configuration
Information Services Claudio Cherubino INFN Catania Bologna
Presentation transcript:

EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Information System Tutorial Laurence Field CERN

Enabling Grids for E-sciencE EGEE-II INFSO-RI Contents Information System Overview GIP MDS GRIS BDII Information Schema and Gstat Clients Future Work

Enabling Grids for E-sciencE EGEE-II INFSO-RI What is it? Provides data about grid services. –Used for service discovery –Resource selection –Basic monitoring Based on the Globus MDS 2 model –LDAP Information must agree with the Glue Schema –Common schema for many Grid Projects. –And be accurate Pre-requisite know LDAP – LDAP

Enabling Grids for E-sciencE EGEE-II INFSO-RI Globus MDS v2 Metadata Directory Service (MDS) – Information Providers (IP) –Scripts that get the information and return LDIF Grid Resource Information Service (GRIS) –Daemon that runs the IP and answers LDAP queries –Register to a GIIS Grid Information Index Service (GIIS) –answers LDAP queries by querying registered GRIS’s or GIIS’s. Both the GRIS and GIIS have a 30s cache –To reduce load and improve performance

Enabling Grids for E-sciencE EGEE-II INFSO-RI Original MDS Deployment Top GIIS Site GIIS GRIS Site GIIS GRIS Provider Query

Enabling Grids for E-sciencE EGEE-II INFSO-RI The BDII Berkeley Database Information Index. –Standard OpenLDAP server –Updated by a perl process.  Using LDAP URLs (ldapsearch) (GIIS mode)  From a script (Information Provider) (GRIS mode) Why? –Because MDS didn’t work in a distributed environment.  Originally did not scale past 4 sites. 1 broken work node could bring down the whole system!  MDS was the problem not LDAP. BDII first used as top-level GIIS –Now used as site-level GIIS  Due to instability problem of the GIIS –Can also be used at the resource level

Enabling Grids for E-sciencE EGEE-II INFSO-RI Information System Architecture Top BDII Site BDII GRIS Resource BDII Site BDII GRIS Resource BDII Provider Query

Enabling Grids for E-sciencE EGEE-II INFSO-RI Generic Information Provider Provides information about the grid service. –Outputs LDIF information in accordance to the Glue Schema to stdout. Information can be provided by, –dynamic providers from the providers directory. –static files from the ldif directory. –dynamic plugins from the plugin directory. Cache used to improve efficiency and reduce load. GIP Provider Config File Plugin Cache LDIF

Enabling Grids for E-sciencE EGEE-II INFSO-RI Generic Information Provider Read Config File Fork of providers and plugins Wait (response time) Write to cache Read provider and plugins from cache Read Static LDIF LDAP_MODIFY Print to stdout Process will time out Only if use cache if fresh

Enabling Grids for E-sciencE EGEE-II INFSO-RI GIP Configuration Configuration file: /opt/lcg/etc/lcg-info-generic.conf ParameterExampleDescription temp_dir/opt/lcg/var/gip/tmpLocation of the cache plugin_dir/opt/lcg/var/gip/pluginDirectory for plugins Provider_dir/opt/lcg/var/gip/providerDirectory for providers static_dir/opt/lcg/var/gip/ldifDirectory for LDIF files freshness20 provider and plugin max frequency (secs) cache_ttl300Time to live for the cache (secs) response5Time for the GIP to respond (secs) timeout150Timeout for plugins and providers (secs)

Enabling Grids for E-sciencE EGEE-II INFSO-RI GIP Configuration Adding plugins and providers –Create a wrapper script for the plugin or provider.  No args –Place this either the plugin or provider directory. –Mainly done by configuration scripts (eg YAIM) GIP wrapper script (lcg-info-wrapper) –Provides a clean interface to the information system. Run it

Enabling Grids for E-sciencE EGEE-II INFSO-RI GIP Troubleshooting Run the wrapper script –look for errors  | less  > /dev/null Run the providers –Run the script directly  Look for errors again Run the plugins –Run the scripts directly  Look for errors. Read the static ldif files Note –Static files and providers give entries –Providers modify values

Enabling Grids for E-sciencE EGEE-II INFSO-RI Common GIP Problems Permissions problems. –Does not work for the information system user.  Set in bdii.conf or globus.conf  Executing as root might have caused the problem! Plugin/provider error –Troubleshoot independently, no overall guide. Cache State –Remove cache  All files in the temp_dir Default values are returned and not the dynamic value –Problem is the dynamic plugin  LDAP DN s might not be identical

Enabling Grids for E-sciencE EGEE-II INFSO-RI MDS GRIS (in 1 slide!) Important files –Daemon Script  /etc/rc.d/init.d/globus-mds –Log File  /var/tmp/edginfo-globus-mds.log –Configuration file for providers  /opt/globus/etc/grid-info-resource-ldif.conf Common Problems –GRIS does not show new values and MDS fails to start/restart  Stale slapd process that will not exit, force with kill –9 –No information returned from search  Is the provider correctly defined in the grid-info-resource-ldif.conf?  Does the provider work when run as the MDS user? –Unreadable attribute value  Bad white space character in value (Information Provider Problem). Start MDS in debug mode –/opt/globus/libexec/slapd -h ldap://`hostname –f`:2135 -f /opt/globus/etc/grid- info-slapd.conf -d 0 -u edginfo  Change –d option for different debug option man slapd.conf, see loglevels for more details

Enabling Grids for E-sciencE EGEE-II INFSO-RI BDII Multiple DBs instances used to increase performance –Read only, write only and one spare for queries to finish. –This functionality is enabled by the port forwarder. List of sources to query from local file –Can be updated from a web page. –More than one DBs is used, separate read and write. Can also use a local LDIF file to modify DB after population. –Can be updated from a web page LDAP 2172 LDAP 2173 LDAP 2170 Port Fwd Update DB & Modify DB 2170 Port Fwd Swap DBs Write to cache ldapsearch

Enabling Grids for E-sciencE EGEE-II INFSO-RI BDII Configuration File ParameterExampleDescription BDII_PORT_READ2170Port used to query. BDII_PORTS_WRITE“ ”Ports of the databases BDII_USERedguserUnix user bdii run with BDII_BINDo=gridTop point of the LDAP DB BDII_PASSWDTzdxh6fH5slapd password BDII_SEARCH_FILTER‘*’Search filter used by ldapsearch BDII_SEARCH_TIMEOUT30Time out for ldapsearches BDII_BREATHE_TIME60Time between updates BDII_AUTO_UPDATEYesUpdate LDAP URLs from the web BDII_AUTO_MODIFYNoUpdate LDIF file from the web BDII_DIR/opt/bdiiLocation of the BDII BDII_UPDATE_URLhttp://URL for LDAP URLs BDII_UPDATE_LDIFhttp://URL for LDIF file SLAPD/usr/sbin/slapdSlapd to use SLAPADDusr/sbin/slapaddSlappadd to use /opt/bdii/etc/bdii.conf

Enabling Grids for E-sciencE EGEE-II INFSO-RI BDII Configuration Important files –Daemon  /etc/rc.d/init.d/bdii –Configuration file  /opt/bdii/etc/bdii.conf –Log file  /opt/bdii/var/bdii.log Format of bdii-update.conf Site1 ldap:// :2170/mds-vo-name=site1,o=grid Resource1 ldap:// :2170/mds-vo-name=resource,o=grid Resource2 ldap:// :2135/mds-vo-name=local,o=grid Resource3 file://opt/lcg/libexe/lcg-info-wrapper

Enabling Grids for E-sciencE EGEE-II INFSO-RI BDII Trouble Shooting No information found in BDII –Is the URL that provides this information in the bdii-update.conf? –Does this URL return the required information?  The URL could time out, (check the bdii log file). Entry's missing in the BDII –They entry could be rejected if the LDIF is invalid, (check the bdii log) Top-level BDIIs must all use the web based config file. –This is automatically generated from the GOC DB.  Must ensure that the site URL in the GOC DB is correct. It takes ages to do an ldapseach –Slapd cache size could be too small

Enabling Grids for E-sciencE EGEE-II INFSO-RI Freedom of Choice Developed to meet a requirement from the VOs. –Modifies the information to their liking  White list and black list services. –Only the VO manger can white list and black list the services. Generates an LDIF modify file. –Web based. BDII can be configured to use this file –Will modify the database after population –For use only with top-level BDIIs Linked with the Site Functional Tests Portal –Can automatically remove a site if it fails a functional tests  It’s the VOs choice.

Enabling Grids for E-sciencE EGEE-II INFSO-RI Information It is important that the information is correct –Miss configured sites have in the past  Stopped services to to run grid wide!  Caused black holes for job submission. Information must agree with the GlueSchema – – Model_1_2_final.pdfhttp://infnforge.cnaf.infn.it/glueinfomodel/uploads/Spec/GLUEInfo Model_1_2_final.pdf And be accurate –Grid Status (gstat) does basic sanity checks for the each site – –Grid Wiki gives solutions to common problems –

Enabling Grids for E-sciencE EGEE-II INFSO-RI Solving Tricky Problems Is the is LDIF valid? –Try inserting it into and LDAP DB How do I do that? –Use this script. – How do I use the script? –Create a file contining the LDIF (| > output.ldif) –Usage:./info-test Solving standard LDAP errors. –Is the problem/solution in the GOC wiki? –Google

Enabling Grids for E-sciencE EGEE-II INFSO-RI User Tools lcg-infosites and lcg-info –Can be used to query the information system –For more information see the User Guide  lcg-ManageVoTag –Used by the Vos to publish software environment tags –Publishes to /opt/edg/var/info/ /.list  Ensure the VO can write here! –Used by plugin lcg-info-dynamic-software-wrapper

Enabling Grids for E-sciencE EGEE-II INFSO-RI Future Work Replacing all GRIS’s with BDIIs –Need to improve the use of mds-vo-name Merging of the BDII and GIP –Both do LDAP_ADD and LDAP_MODIFY  Single method Use of common plugins –BDII turns the GIP into a daemon Fixing the Schema Improve Service publishing –Merge of GIP and rgma-servicetool Rollout of Service Discovery.

Enabling Grids for E-sciencE EGEE-II INFSO-RI Links n/HomePagehttp://infnforge.cnaf.infn.it/glueinfomodel/index.php/Mai n/HomePage UserGuide.pdf