SAM
Main | EGI.eu operations services | Support | Documentation | Tools | Activities | Performance | Technology | Catch-all Services | Resource Allocation | Security |
Tools menu: | • Main page | • Instructions for developers | • AAI Proxy | • Accounting Portal | • Accounting Repository | • AppDB | • ARGO | • GGUS | • GOCDB |
• Message brokers | • Licenses | • OTAGs | • Operations Portal | • Perun | • EGI Collaboration tools | • LToS | • EGI Workload Manager |
The Service Availability Monitoring (SAM) system is used to monitor the resources within the production infrastructure. SAM monitoring data is used for calculation of availability and reliability of grid sites.
SAM Nagios probes re-factoring TF
SAM tool instances
Documentation
Introduction
SAM Tests terminology and types
SAM Test
Test is a procedure which checks specific functionality of a given service, i.e. single measurement (e.g. org.bdii.Freshness, hr.srce.RGMA-CertLifetime). Tests are executed on NGI/ROC SAM instances.
A SAM test is:
- an OPERATIONS test which raises alarms in the Operations Portal (see list of OPERATIONS tests)
- an AVAILABILITY test whose result is used for Resource Centre availability calculation by ACE (see the ROC_CRITICAL profle)
NOTE: CRITICAL is used ONLY to refer to one of the possible results returned by a Nagios probe.
Probe
Probe is code which implements single or multiple tests.
Metric
Metric instances are tuples of flavour, metric name and optionally FQAN (POEM documentation). Metric is a synonym for tests used in the development documentation. In operations document "test" is the reference term to be used.
POEM Profile
POEM (Profile Management Database, former Metric Description Database) aims to describe existing metrics and group (profiles) them in order to run tests. In addition it should define actions that can either configure the way the availability and reliability is computed or allow notifications to messaging system.
A POEM is a profile as a triple of (vo, atp_groups and metric instances) where:
- set of atp_groups is a set of service instances defined in the Aggregated Topology Provider via a VO feed, e.g. LHCb_Site LCG.CNAF-T2.it= (service_instance1, service_instance2, etc.)
- set of (service_flavor, metric, fqan) tuples
- metric is fully qualified name of the metric (e.g. hr.srce.SRM2-CertLifetime)
- service_flavor is taken from ATP (e.g. CE, SRM, etc.)
- FQAN - voms role to use for the tests (e.g. /Role=lcgadm) - as metric1 is run with fqan1, metric1 with fqan2, etc.
- VO: is the name of the VO
In other words, the profile is a cartesian product of service groups and metrics, plus VO (read more).
Availability and reliability profile
(Courtesy of P. Andrade, CERN) |
Availability and Reliability Profiles are a collection of metrics/services defined for VOs (multiple profiles per VO). Each profile defines its computation algorithm. Metrics can be in different levels such as crtical, non-critcal etc. |
SAM POEM Profiles
Profiles for RC monitoring
- ROC - Tests for monitoring of all EGI services; applied on all NGI SAM Nagioses. NOTE WELL: starting from SAMUpdate-17 the removal of a metric from ROC profile will immediately cause the removal of the metric from all NGI Nagios instances, i.e. tests will no longer be executed.
- Deployed: on all NGI SAM Nagios
- Tests: 99
- ROC Tests description
- ROC_CRITICAL - The profile for Availability/Reliability computation of EGI Resource Centres (OPS VO), subset of ROC tests. NOTE: It replaces WLCG_CREAM_LCGCE_CRITICAL as of 01 Jan 2012.
- Deployed: on all NGI SAM Nagios
- Tests: 31
- These profile contains a subset of ROC Tests. Please see ROC_CRITICAL for the list of test
- ROC_OPERATORS - Subset of ROC tests that are Operations tests, metrics that can generate an alarm on the operations dashboard when failing.
- Deployed: on all NGI SAM Nagios
- Tests: 74
- These profile contains a subset of ROC Tests. Please see ROC_OPERATORS for the list of test.
Profile for Cloud RC monitoring
- CLOUD-MON - Tests for monitoring EGI FedCloud resources from cloudmon.egi.eu
- Deployed: on Central instance (cloudmon.egi.eu)
- Tests: 6
- CLOUD_MONITOR Tests description
Profiles for Operations Tools monitoring
- OPS_MONITOR - Tests for monitoring of all EGI.eu Central Operational Tools from opsmon.egi.eu, including NGI SAM
- Deployed: on Central instance (opsmon.egi.eu)
- Tests: 28
- OPS_MONITOR Tests description
- OPS_MONITOR_CRITICAL - Subset of OPS_MONITOR tests used for A/R calculation
- Deployed: on Central instance (opsmon.egi.eu)
- Tests: 23
- OPS_MONITOR_CRITICAL Tests description
Others
- GLEXEC - gLExec tests configured on NGI SAM Nagioses
- Deployed: on all NGI SAM Nagios
- Tests: 2
- GLEXEC Tests description
- MW_MONITOR - Tests for monitoring all EGI services for special purposes (MW upgrades) from midmon.egi.eu
- Deployed: on Central instance (midmon.egi.eu)
- Tests: 15
- MW_MONITOR Tests description
- SEC_MONITOR - Security tests for monitoring all EGI services from secmon.egi.eu
- Deployed: on Central instance (secmon.egi.eu)
- Tests: 14
- SEC_MONITOR Tests description
SAM tests
Tests on NGI/ROC SAM instances are the one which frameworks includes in the SAM configuration. In addition SAM admins can add their own probes to these instances.
SAM teams proposes addition of new probes. The addition of probes is part of SAM release and thus part of the staged rollout. It was agreed that prior to release new list of probes will be briefly presented at the OMB meeting. Probes which perform internal components of SAM are not presented at OMB.
The list of tests included in the SAM release can be found here - NGI profile SAM tests.
Lists of tests to be included are here - Inactive SAM tests.
List of MW related tests: MW SAM tests.
List of operational tools tests: OPS-MONITOR profile SAM tests.
List of cloud tests: Cloud SAM tests.
Operations tests
Tests on Operations Portal are the ones used for raising alarms for ROD and Operations teams. Operations portal does not execute these tests, but receives alarms from NGI/ROC SAM instances. Operations Portal contains list of the probes used for alarms and others are filtered.
The procedure for adding a new probe (PROC06) can be found here.
The list of tests can be found here - Operations SAM tests.
Availability tests
Set of tests used for calculating availability and reliability of sites and services. The A/R calculation is related to the OLA. As in case of Operations Portal, availability calculation component receives results from NGI/ROC SAM instances.
TSA1.8 proposes a change in avail calculation (which probe results count in it) and the OMB approves.
The list of tests can be found here - Availability SAM tests.
SAM components
- MyEGI
- SAM Nagios
- NCG (Nagios Config Generator)
- ATP (Aggregated Topology Provider)
- POEM
- MRS (Metrics Result Store)
- ACE (Availability Computation Engine)
User guides
- MyEGI, Nagios, POEM
- SAM-PI documentation (Non official wiki page containing SAM PI examples)
New Administration Guide
Please use this guides to install SAM Nagios "Update 23" instance - SAMUpdate23
Administrator guides
- SAM Release Notes
- SAM admin guide (including configuration via YAIM)
- SAM/NAGIOS Reference Card for sitemanger
- VO SAM
- Monitoring uncertified sites:
- Setting NAGIOS to Monitor Uncertified Sites
- IMPORTANT. EGI.eu provides catch-all WMS and BDII services for the monitoring of uncertified sites. The service is open for use, and your NGI can easily apply here.
Probes
- SAM Probes
- Probes development policy
- Obsoleted pages:EMI Nagios and status (ARC, dCache, gLite, UNICORE)
Developers guides
Support
- Validate ROC or NGI Nagios Procedures: PROC05
- Setting a Nagios test status to OPERATIONS: PROC06
- Adding new probes to SAM: PROC07
- Management of the EGI OPS Availability and Reliability Profile: PROC08
ARGO/SAM EGI Support in GGUS
Resources
- Andreade, P.; M. Babik, M.; Bhatt, K; Service Availability Monitoring Framework Based On Commodity Software; CHEP12, March 2012 (poster)