70 likes | 170 Views
WP7 Network Monitoring Schemata. Richard Hughes-Jones / Peter Clarke / Paul Mealor. Menu. LDAP schema R-GMA schema. LDAP schema design considerations. LDAP schema for MDS Publication of most recent measurements Early work Easy to add new metrics to
E N D
WP7 Network Monitoring Schemata Richard Hughes-Jones / Peter Clarke / Paul Mealor
Menu • LDAP schema • R-GMA schema
LDAP schema design considerations • LDAP schema for MDS • Publication of most recent measurements • Early work • Easy to add new metrics to • Easy to add new measurement parameters to • MDS was harder to add new classes to
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 ) )
LDAP schema in use 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 This 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. Mappings between source and destination “NEs” and Computing or Storage Elements held elsewhere
R-GMA schema design considerations • Relational database schema • R-GMA looks a lot like a relational database • R-GMA allows historical information • Different tables for different metrics • Better understanding of network monitoring • Adding new tables easier • Much better for SQL queries
ComputingElement CEId GRAMVersion Architecture OpSys &c… NetworkCE CEId NMId NetworkTCPThroughput NMIdSource NMIdDestination tool bufferSize streams duration time value R-GMA schema tables NetworkRTT ¥ NetworkCE NMIdSource NMIdDestination tool packetSize time minimum maximum average 1 ¥ CEId NMId ¥ 1 1 NetworkSE SEId NMId 1