Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "SAM"

From EGIWiki
Jump to navigation Jump to search
Line 122: Line 122:
<!-- https://tomtools.cern.ch/confluence/display/SAMDOC/Web+Services+Specification#WebServicesSpecification-ServiceAvailabilityinProfile -->
<!-- https://tomtools.cern.ch/confluence/display/SAMDOC/Web+Services+Specification#WebServicesSpecification-ServiceAvailabilityinProfile -->
* [http://argoeu.github.io/samdoc/confluence/display/SAMDOC/Web%20Services%20Specification.html#WebServicesSpecification-ServiceAvailabilityinProfile SAM-PI documentation] (Non official wiki page containing [[SAM PI examples]])
* [http://argoeu.github.io/samdoc/confluence/display/SAMDOC/Web%20Services%20Specification.html#WebServicesSpecification-ServiceAvailabilityinProfile 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 ==
== Administrator guides ==

Revision as of 19:34, 14 November 2014

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:

  1. 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.)
  2. set of (service_flavor, metric, fqan) tuples
    1. metric is fully qualified name of the metric (e.g. hr.srce.SRM2-CertLifetime)
    2. service_flavor is taken from ATP (e.g. CE, SRM, etc.)
    3. FQAN - voms role to use for the tests (e.g. /Role=lcgadm) - as metric1 is run with fqan1, metric1 with fqan2, etc.
  3. 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).

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.
  • 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

Profiles for Operations Tools monitoring

Others

SAM components

User guides

New Administration Guide

Please use this guides to install SAM Nagios "Update 23" instance - SAMUpdate23

Administrator guides

Probes

Developers guides

Support

SAM-related Procedures

  • 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)