1 / 10

Status of New Service Availability Monitoring (ATP,MDDB,MRS) Programmatic Interface

Status of New Service Availability Monitoring (ATP,MDDB,MRS) Programmatic Interface MALIK EHSANULLAH (ehsan@barc.gov.in) BARC,INDIA. Structure of New Service Availability Monitoring System. Metric Results Store (MRS). Metric Description Database (MDDB). Aggregated Topology Provider

darren
Download Presentation

Status of New Service Availability Monitoring (ATP,MDDB,MRS) Programmatic Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Status of New Service Availability Monitoring (ATP,MDDB,MRS) Programmatic Interface MALIK EHSANULLAH (ehsan@barc.gov.in) BARC,INDIA

  2. Structure of New Service Availability Monitoring System Metric Results Store (MRS) Metric Description Database (MDDB) Aggregated Topology Provider (ATP) How it will be tested? What will be tested? What to do with test results?

  3. Workflow of New SAM Programmatic Interface Metric Results Store (MRS) Database Execute Query Query Result(Raw Data) Query Execution Engine User Query(URL,Parameter) Query Result (JSON,XML) User

  4. Tools and Technologies used • Python 2.4.3 • Django-1.1.1(high-level Python Web framework ) • Django-piston-0.2.2(Django mini-framework for creating APIs)

  5. List of APIs provided by New SAM(ATP,MDDB,MRS) • GROUP(site groupings defined by various vo's in ATP ) • Parameter: vo(optional,multiple) • URL: http://<hostname>/mrs/api/group • SITE GROUP(sites present in a site group defined by various vo's in ATP ) • Parameter: vo(mandatory,single) • sitegroup(optional,multiple) • URL: http://<hostname>/mrs/api/site_group • SERVICE GROUP(service flavours present in a service group defined by various vo's in ATP) • Parameter: vo(mandatory,single),group(optional,multiple) • URL: http://<hostname>/mrs/api/service_group • METRIC NAME(metrics present in different profiles defined by various vo's in MDDB ) • Parameter:vo(mandatory,single) • profile,service,flavour,testname(optional,multiple) • URL: http://<hostname>/mrs/api/metric_name • HISTORY OF SERVICE METRIC STATUS(history result of service metrics(tests) present in a • profile and executed in a particular sitegroup by the vo from the MRS ) • Parameter:vo,startdate,enddate,timerange(mandatory,single) • sitegroup,profile,flavour,host(optional,multiple) • URL:http://<hostname>/mrs/api/metric_result

  6. List of APIs provided by New SAM(ATP,MDDB,MRS) • DETAIL RESULT OF SERVICE METRIC (detail log of the Service Metric(test) executed by the • vo from MRS ) • Parameter: vo,hostname,metric,timestamp(mandatory,single) • URL: http://<hostname>/mrs/api/metric_detail • SERVICE-END-POINT PRESENT IN THE SITE (different service-end-points present in a site • from ATP ) • Parameter: vo(mandatory,single) • sitegroup,site,flavour,service(optional,multiple) • URL:http://<hostname>/mrs/api/hostname • ADJACENT HOST OF GIVEN HOST (adjacent host for a given host present in a site from ATP ) • Parameter: vo(mandatory,single) • site,flavour,host(optional,multiple) • URL: http://<hostname>/mrs/api/adjacent_host • SERVICE METRIC STATUS (possible status a service metric(Test) may have after execution • from MRS ) • Parameter:This query doesn’t accept any parameter. • URL:http://<hostname>/mrs/api/servicemetric_status

  7. List of APIs provided by New SAM(ATP,MDDB,MRS) • VO NAME(VO Names defined in ATP ) • Parameter: This query doesn’t accept any parameter. • URL: http://<hostname>/mrs/api/vo_name • SITE NAME (site names present in ATP ) • Parameter: site_type(optional,multiple) • site_status(optional,single) • URL:http://<hostname>/mrs/api/site_name • SERVICE TYPES (Service Types defined in ATP ) • Parameter: This query doesnot accept any parameter. • URL: http://<hostname>/mrs/api/service_type • SERVICE TYPE RUNNING IN SERVICE-END-POINT OR SITES (Service types defined in each • service-endpoint or Sites from ATP) • Parameter:serviceendpoint,sitename(optional,multiple) • URL:http://<hostname>/mrs/api/servicetype_per_service_endpoint • STATUS,TIMESTAMPS AND DETAILS OF SERVICE-ENDPOINT AND SERVICE METRICS EXECUTED BY A CERTAIN VO (latest timestamps(execution time) of all Service Metrics • executed by certain VO in any Service-endpoint and Site) • Parameter:vo,site,flavour,infrastructure(mandatory and single) • URL:http://<hostname>/mrs/api/service_endpoint_status

  8. What needs to be implemented? • Availability results of the sites,service,etc. • Reliability results of the sites,service,etc. • Fine grain access control mechanism for the implemented • APIs via django-piston.

  9. Useful Links • Django • (http://www.djangoproject.com/download/) • Django-piston • (http://bitbucket.org/jespern/django-piston/wiki/Home) • Source Code (New SAM-PI) • (http://www.sysadmin.hep.ac.uk/svn/grid-monitoring/trunk/metric-store/mrs-web/) • Twiki Page • (https://twiki.cern.ch/twiki/bin/view/LCG/MRS)

  10. Questions & Comments If not Thank you very much

More Related