Www.egi.eu EGI-InSPIRE RI-261323 EGI-InSPIRE www.egi.eu EGI-InSPIRE RI-261323 Mario Reale – GARR NetJobs: Network Monitoring Using Grid Jobs.

Slides:



Advertisements
Similar presentations
Security middleware Andrew McNab University of Manchester.
Advertisements

Interaction model of grid services in mobile grid environment Ladislav Pesicka University of West Bohemia.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Wrap up on perfSONAR-Lite_TSS and Network Troubleshooting Mario Reale GARR.
Grid Resource Allocation Management (GRAM) GRAM provides the user to access the grid in order to run, terminate and monitor jobs remotely. The job request.
Grid and CDB Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
Wireless Video Sensor Networks Vijaya S Malla Harish Reddy Kottam Kirankumar Srilanka.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Etienne Dublé - CNRS/UREC Alfredo Pagano – GARR NetJobs: Network Monitoring.
Implementing High Availability
Makrand Siddhabhatti Tata Institute of Fundamental Research Mumbai 17 Aug
Riccardo Bruno INFN.CT Sevilla, Sep 2007 The GENIUS Grid portal.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America GENIUS server installation and configuration.
INFSO-RI Enabling Grids for E-sciencE The GENIUS Grid portal Tony Calanducci INFN Catania - Italy First Latin American Workshop.
INFSO-RI Enabling Grids for E-sciencE Logging and Bookkeeping and Job Provenance Services Ludek Matyska (CESNET) on behalf of the.
MySQL and GRID Gabriele Carcassi STAR Collaboration 6 May Proposal.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
G RID M IDDLEWARE AND S ECURITY Suchandra Thapa Computation Institute University of Chicago.
The huge amount of resources available in the Grids, and the necessity to have the most up-to-date experimental software deployed in all the sites within.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
First attempt for validating/testing Testbed 1 Globus and middleware services WP6 Meeting, December 2001 Flavia Donno, Marco Serra for IT and WPs.
Security monitoring boxes Andrew McNab University of Manchester.
June 24-25, 2008 Regional Grid Training, University of Belgrade, Serbia Introduction to gLite gLite Basic Services Antun Balaž SCL, Institute of Physics.
CEOS WGISS-21 CNES GRID related R&D activities Anne JEAN-ANTOINE PICCOLO CEOS WGISS-21 – Budapest – 2006, 8-12 May.
What is SAM-Grid? Job Handling Data Handling Monitoring and Information.
6/23/2005 R. GARDNER OSG Baseline Services 1 OSG Baseline Services In my talk I’d like to discuss two questions:  What capabilities are we aiming for.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Etienne Dublé - CNRS/UREC EGEE SA2 Xavier.
OSG AuthZ components Dane Skow Gabriele Carcassi.
Derek Ross E-Science Department DCache Deployment at Tier1A UK HEP Sysman April 2005.
Glite. Architecture Applications have access both to Higher-level Grid Services and to Foundation Grid Middleware Higher-Level Grid Services are supposed.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid2Win : gLite for Microsoft Windows Roberto.
Testing and integrating the WLCG/EGEE middleware in the LHC computing Simone Campana, Alessandro Di Girolamo, Elisa Lanciotti, Nicolò Magini, Patricia.
INFSO-RI Enabling Grids for E-sciencE EGEE is a project funded by the European Union under contract IST Job sandboxes.
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.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Monitoring of the LHC Computing Activities Key Results from the Services.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Ops Portal New Requirements.
BNL dCache Status and Plan CHEP07: September 2-7, 2007 Zhenping (Jane) Liu for the BNL RACF Storage Group.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI UMD Roadmap Steven Newhouse 14/09/2010.
INFSO-RI Enabling Grids for E-sciencE File Transfer Software and Service SC3 Gavin McCance – JRA1 Data Management Cluster Service.
Consorzio COMETA - Progetto PI2S2 UNIONE EUROPEA Grid2Win : gLite for Microsoft Windows Elisa Ingrà - INFN.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Etienne Dublé.
SAM architecture EGEE 07 Service Availability Monitor for the LHC experiments Simone Campana, Alessandro Di Girolamo, Nicolò Magini, Patricia Mendez Lorenzo,
A System for Monitoring and Management of Computational Grids Warren Smith Computer Sciences Corporation NASA Ames Research Center.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks CYFRONET site report Marcin Radecki CYFRONET.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI EGI Services for Distributed e-Infrastructure Access Tiziana Ferrari on behalf.
EGI-InSPIRE RI Pakiti Michal Prochazka, (Daniel Kouril)
Antonio Fuentes RedIRIS Barcelona, 15 Abril 2008 The GENIUS Grid portal.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
EGI-InSPIRE EGI-InSPIRE RI Network Troubleshooting and PerfSONAR-Lite_TSS Mario Reale GARR.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI EGI IPv6 Report for HEPiX CERN October 5, 2012 CERN 1
Consulting Services JobScheduler Architecture Decision Template
Introduction to Distributed Platforms
High Availability Linux (HA Linux)
Use of Nagios in Central European ROC
Database System Concepts and Architecture
Consulting Services JobScheduler Architecture Decision Template
Network Monitoring Using Grid Jobs EGEE SA2
Short update on the latest gLite status
Network Requirements Javier Orellana
Mario Reale – IGI / GARR Lyon, Sept 19, 2011
Pierre Girard ATLAS Visit
Site availability Dec. 19 th 2006
Presentation transcript:

EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Mario Reale – GARR NetJobs: Network Monitoring Using Grid Jobs

EGI-InSPIRE RI Outline The idea System architecture –Global view –The Server, the Jobs and the Grid –User Interface Next steps 2

EGI-InSPIRE RI Characteristics of the tool Our approach had to take into account: –High scalability –Security –Reliability –Cost-effectiveness And preferably: –A lightweight deployment 3

EGI-InSPIRE RI The idea: “Instead of installing a probe at each site, run a grid job” 4

EGI-InSPIRE RI pros and cons Added value: –No installation/deployment needed in the sites  Monitoring 10 or 300 sites is just a matter of configuration –A monitoring system running on a proven architecture (the grid) –Possibility to use grid services (ex: AuthN and AuthZ) 5

EGI-InSPIRE RI pros and cons Limits: –Some low-level metrics can’t be implemented in the job  Because we have no control of the “Worker Node” environment (hardware, software) where the job is running –Some sites will have to slightly update their middleware configuration  The maximum lifetime of jobs should be increased if it is too low (at least for the DN of the certificate that the system uses) 6

EGI-InSPIRE RI System architecture: Global view 7

EGI-InSPIRE RI System Architecture the components Frontend: Apache Tomcat, Ajax, Google Web Toolkit (GWT) Monitoring server & Jobs: Python, bash script (portability is a major aspect for jobs) Database: PostgreSQL www request Front-end DB 1 Monitoring server Grid network monitoring jobs DB 2 Monitoring server DB ROC1 Monitoring ROC1 – Server A Monitoring ROC1 – Server B Possible new configuration Monitoring server 8

EGI-InSPIRE RI Current prototype: 8 Sites 9

EGI-InSPIRE RI Choice of network paths To Monitor all possible site-to-site paths will be too much: N x (N-1) paths and N ~ 300 sites for a whole grid coverage We must restrict the number of these paths –To a specific VO, to an experiment, to the most used paths, etc. –We have studied this at

EGI-InSPIRE RI Choice of network paths The system is completely configurable about these paths and the scheduling of measurements –The admin specifies a list of scheduled tests, giving for each one »The source and the remote site »The type of test »The time and frequency of the test –Users can contact and request the administrator to have a given path monitored (form available on the UI) This request is then validated by the administrator. If you still have many paths, you can start several server instances (in order to achieve the needed performance) 11

EGI-InSPIRE RI Example of scheduling Latency test –TCP RTT –Every 10 minutes Hop count –Iterative connect() test –Every 10 minutes MTU size –Socket (IP_MTU socket option) –Every 10 minutes Achievable Bandwidth –TCP throughput transfer via GridFTP transfer between 2 Storage Elements –Every 8h In order to avoid too many connections these three measurements are done in the same test 12

EGI-InSPIRE RI System architecture: The Server, the Jobs, and the Grid 13

EGI-InSPIRE RI Technical constraints When running a job, the grid user is mapped to a Linux user of the Worker Node (WN): –This means the job is not running as root on the WN  Some low level operations are not possible (for example opening an ICMP listening socket is not allowed) Heterogeneity of the WN environments (various OS, 32/64 bits…) –Ex: making the job download and run an external tool may be tricky (except if it is written in an OS independent programming language) The system has to deal with the grid mechanism overhead (delays, job lifetime limit…) 14

EGI-InSPIRE RI Initialization of grid jobs Site paris-urec-ipv6 UI Central monitoring server program (CMSP) Site A WN Job Site X WMS CE Site B WN Job CE Site C WN Job CE Job submission Socket connection Ready! Probe Request Request: RTT test to site A Request: BW test to site B 15

EGI-InSPIRE RI Remarks Chosen design (1 job many probes) is much more efficient than starting a job for each probe –Considering (grid-related) delays –Considering the handling of middleware failures (nearly 100% of failures occur at job submission, not once the job is running) TCP connection is initiated by the job  No open port needed on the WN  better for security of sites An authentication mechanism is implemented between the job and the server A job cannot last forever (GlueCEPolicyMaxWallClockTime), so actually there are 2 jobs running at each site –A ‘main’ one, and –A ‘redundant’ one which is waiting and will become ‘main’ when the other one ends 16

EGI-InSPIRE RI RTT, MTU and hop count Site paris-urec-ipv6 UI Central monitoring server program (CMSP) Site B WN Job Site C CE Socket connection Probe Request Probe Result Request: RTT test to site C 17

EGI-InSPIRE RI RTT, MTU and hop test The ‘RTT’ measure is the time a TCP ‘connect()’ call takes: –Because a connect() call involves a round-trip of packets: SYN SYN-ACQ ACQ –Results very similar to the ones of ‘ping’ The MTU is given by the IP_MTU socket option The number of hops is calculated in an iterative way These measures require: –To connect to an accessible port (1) on a machine of the remote site –To close the connection (no data is sent) –Note: This (connect/disconnect) is detected in the application log (1): We use the port of the gatekeeper of the CE since it is known to be accessible (it is used by the grid middleware gLite) Round trip Just sending => no network delay 18

EGI-InSPIRE RI Active GridFTP BW Test Site paris-urec-ipv6 UI Central monitoring server program (CMSP) Site A WN Job Site C Probe Request Socket connection SE Replication of a large grid file Read the gridFTP log file Probe Result Request: GridFTP BW test to site C 19

EGI-InSPIRE RI GridFTP BW test If the GridFTP log file is not accessible (cf. dCache?) –In this case we just do the transfer via globus-url- copy in a verbose mode in order to get the transfer rate. A passive version of this BW test is being developed –The job just reads the gridftp log file periodically (the system does not request additional transfers) –This is only possible if the log file is available on the Storage Element (i.e. it is a DPM) 20

EGI-InSPIRE RI System architecture: User Interface 21

EGI-InSPIRE RI The contact form 22

EGI-InSPIRE RI Next steps 23

EGI-InSPIRE RI Next steps 1.Near future: GridFTP passive BW test alerts 24

EGI-InSPIRE RI Next steps 2.Improve the GUI to enable easier correlation of information coming from various probes 3.Currently installing instance at GARR 25

EGI-InSPIRE RI Thank You Feedback, discussion, requests… Wiki: