80 likes | 186 Views
EDG WP7 Network Monitoring Schema. Paul Mealor pdm@hep.ucl.ac.uk NM-WG GGF7 Presented by Richard Hughes-Jones. Menu. LDAP schema R-GMA schema. LDAP schema design considerations. LDAP schema for MDS in EDG Publication of most recent network measurements for host-to-host pairs
E N D
EDG WP7 Network Monitoring Schema Paul Mealor pdm@hep.ucl.ac.uk NM-WG GGF7 Presented by Richard Hughes-Jones NMWG GGF7 Tokyo March 2003 Paul Mealor UCL
Menu • LDAP schema • R-GMA schema NMWG GGF7 Tokyo March 2003 Paul Mealor UCL
LDAP schema design considerations • LDAP schema for MDS in EDG • Publication of most recent network measurementsfor host-to-host pairs • Early work, so Schema design • Should be easy to add new metrics to the Schema • Should be easy to add new measurement parameters • The (EDG?) MDS setup made it hard to add new LDAP objectclasses NMWG GGF7 Tokyo March 2003 Paul Mealor UCL
Example of a LDAP schema objectclass ( 1.3.6.1.4.1.8005.666.2.4.26 NAME 'NetworkMeasurement‘ DESC 'Describes a single measurement.‘ SUP ( NetworkMonitorSource $ NetworkMonitorDest $ NetworkMonitorMetric ) STRUCTURAL MUST ( NMMeasureId $ MetricValue $ MetricTime ) ) objectclass ( 1.3.6.1.4.1.8005.666.2.4.24 NAME 'NetworkMonitorSource' DESC 'Describes a network monitoring host from which measurements are made. This is here to help the with implementation.' SUP DataGridTop STRUCTURAL MUST ( SourceHost ) MAY ( SourceSite $ SourceNE ) ) objectclass ( 1.3.6.1.4.1.8005.666.2.4.25 NAME 'NetworkMonitorDest' DESC 'Describes a network monitoring host to which measurements are made. This is here to help the with implementation.' SUP DataGridTop STRUCTURAL MUST ( DestHost ) MAY ( DestSite $ DestNE ) ) objectclass ( 1.3.6.1.4.1.8005.666.2.4.22 NAME 'NetworkMonitorMetric' DESC 'Describes a single metric and its parameters.Abstract: do not use.' SUP NetworkMonitorToolName ABSTRACT MUST ( MetricName $ MetricUnit ) MAY ( Parameter ) ) NMWG GGF7 Tokyo March 2003 Paul Mealor UCL
Schema in use – LDAP Object This LDAP object contains the average RTT of a measurement between a.foo.ac.uk and b.bar.ac.uk that was made with 10 packets of 100bytes each. objectClass: NetworkMeasurement nmMeasureId: foo.ac.uk/bar.ac.uk/rttavg sourceHost: a.foo.ac.uk destHost: b.bar.ac.uk sourceNE: foo.ac.uk destNE: bar.ac.uk metricName: rttavg metricUnit: ms parameter: packetsize:100 parameter: packets:10 metricValue: 67 metricTime: 20020625123506Z Provides Mappings between source and destination “NEs” and Computing or Storage Elements held elsewhere on site LDAP Tree structure discouragedTree different dependent on location Map Objects in Net Info Index NMWG GGF7 Tokyo March 2003 Paul Mealor UCL
R-GMA Schema Design Considerations • Relational database schema • R-GMA looks a lot like a relational database! • R-GMA allows historical information in SQL Dbase • Easier to use: • Better understanding of network monitoring & tools now • Adding new tables easier • Can add custom schemas at run-time • Tables store observations between hosts • Different tables for different metrics • Include parameters (entity annotations) in the table • Separate tables for mapping CE & SE to Network monitoring • Much better for SQL queries searching for observations NMWG GGF7 Tokyo March 2003 Paul Mealor UCL
Schema in use – RGMA Tables ComputingElement CEId GRAMVersion Architecture OpSys &c… NetworkCE CEId NMId NetworkTCPThroughput NMIdSource NMIdDestination tool bufferSize streams duration time value NetworkRTT ¥ NetworkCE NMIdSource NMIdDestination tool packetSize time minimum maximum average 1 ¥ CEId NMId ¥ 1 • Tables defined for: • RTT • TCP throughput • ICMP packet loss • 1-way IPDV • UDP throughput • UDP packet loss 1 NetworkSE SEId NMId 1 ID for Network Monitor nodes Tables provide mappings: SE – Net Monitor node CE – Net Monitor node NMWG GGF7 Tokyo March 2003 Paul Mealor UCL