Skip to content

samples of the architecture & code of my thesis platform

Notifications You must be signed in to change notification settings

kdalkafoukis/diploma_thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diploma Thesis

A platform for monitoring cloud infrastructures by the infrastructure administrator.

Created to run in ICBnet Lab of NTUA.Completed on June, 2016.

The platform that works in the Cloud Infrastructure, gathers Logs from Openstack & Zabbix elements and stores them to Apache Cassandra which is a NoSQL database and Apache Spark on top of Cassandra does batch analysis.

This repository has been created to show code samples of the platform.

Programming Languages, Libraries, Api's and Frameworks were used:

  • Python 3.4

  • Scala 2.10.4

  • Java 1.8.0_72-b15

  • ApacheSpark 1.5.2

  • Apache Cassandra 3.2

  • Zabbix 3.0

  • Spark Cassandra Connector 1.5.0 DataStax Python Driver for Apache Cassandra 3.0.0

  • Requests 2.9.1

Architecture

Image of Architecture

This service is responisble for the collection (through Zabbix Rest Api) and forwarding of Zabbix Data from VM's to Cassandra

This service parses Openstack log files to Cassandra.

log-cassandra_connector.py Custom script that reads the below nova-api.log.1 and stores it to Cassandra Cluster.

nova-api.log.1 Sample of nova-api.log.1 file

This service uses Spark on top of Cassandra to analyze data.
The scripts analyze data from Cassandra & stores results back to it.

spark-script_1.scala Simple script that analyzes data from Cassandra & stores results back to it

spark-script_2.scala Simple script that analyzes data from Cassandra & stores results back to it

This services is responsible to represent the requested queries about the Cloud infrastracture to the administrator of the infrastructure.

view-data_1.py A script that shows grouped past results about CPU utilization

About

samples of the architecture & code of my thesis platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published