21st International Conference on Computing in High Energy and Nuclear Physics | |
Towards Monitoring-as-a-service for Scientific Computing Cloud applications using the ElasticSearch ecosystem | |
物理学;计算机科学 | |
Bagnasco, S.^1 ; Berzano, D.^2 ; Guarise, A.^1 ; Lusso, S.^1 ; Masera, M.^1,3 ; Vallero, S.^1,3 | |
Istituto Nazionale di Fisica Nucleare, Via Pietro Giuria 1, Torino | |
10125, Italy^1 | |
CERN - European Organization for Nuclear Research, Geneva 23 | |
CH-1211, Switzerland^2 | |
Dipartimento di Fisica, Università degli Studi di Torino, Via Pietro Giuria 1, Torino | |
10125, Italy^3 | |
关键词: Accounting informations; Asynchronous communication; Dynamic allocations; Interactive analysis; Monitoring frameworks; RESTful Web services; Scientific applications; Scientific computing applications; | |
Others : https://iopscience.iop.org/article/10.1088/1742-6596/664/2/022040/pdf DOI : 10.1088/1742-6596/664/2/022040 |
|
学科分类:计算机科学(综合) | |
来源: IOP | |
【 摘 要 】
The INFN computing centre in Torino hosts a private Cloud, which is managed with the OpenNebula cloud controller. The infrastructure offers Infrastructure-as-a-Service (IaaS) and Platform-as-a-Service (PaaS) services to different scientific computing applications. The main stakeholders of the facility are a grid Tier-2 site for the ALICE collaboration at LHC, an interactive analysis facility for the same experiment and a grid Tier-2 site for the BESIII collaboration, plus an increasing number of other small tenants. The dynamic allocation of resources to tenants is partially automated. This feature requires detailed monitoring and accounting of the resource usage. We set up a monitoring framework to inspect the site activities both in terms of IaaS and applications running on the hosted virtual instances. For this purpose we used the ElasticSearch, Logstash and Kibana (ELK) stack. The infrastructure relies on a MySQL database back-end for data preservation and to ensure flexibility to choose a different monitoring solution if needed. The heterogeneous accounting information is transferred from the database to the ElasticSearch engine via a custom Logstash plugin. Each use-case is indexed separately in ElasticSearch and we setup a set of Kibana dashboards with pre-defined queries in order to monitor the relevant information in each case. For the IaaS metering, we developed sensors for the OpenNebula API. The IaaS level information gathered through the API is sent to the MySQL database through an ad-hoc developed RESTful web service. Moreover, we have developed a billing system for our private Cloud, which relies on the RabbitMQ message queue for asynchronous communication to the database and on the ELK stack for its graphical interface. The Italian Grid accounting framework is also migrating to a similar set-up. Concerning the application level, we used the Root plugin TProofMonSenderSQL to collect accounting data from the interactive analysis facility. The BESIII virtual instances used to be monitored with Zabbix, as a proof of concept we also retrieve the information contained in the Zabbix database. In this way we have achieved a uniform monitoring interface for both the IaaS and the scientific applications, mostly leveraging off-the-shelf tools. At present, we are working to define a model for monitoring-as-a-service, based on the tools described above, which the Cloud tenants can easily configure to suit their specific needs.
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
Towards Monitoring-as-a-service for Scientific Computing Cloud applications using the ElasticSearch ecosystem | 1432KB | download |