Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A highly scalable framework for the performance and energy monitoring of HPC servers

License

NotificationsYou must be signed in to change notification settings

ExamonHPC/examon

Repository files navigation

ExaMon

ExaMon HPC Monitoring

Build Status

A highly scalable framework for the performance and energy monitoring of HPC servers

📖Documentation

Setup

This setup will install all server-side components of the ExaMon framework:

  • MQTT broker and Db connector
  • Grafana
  • KairosDB
  • Cassandra
  • Example plugins

This Examon installation includes the following plugins:

  • random_pub

Please note: the random_pub plugin is used to test the system and it will publish random metrics.It can be disabled as described in theEnable/disable plugins section.

Prerequisites

Since Cassandra is the component that requires the majority of resources, you can find more details about the suggested hardware configuration of the system that will host the services here:

Hardware Configuration

To install all the services needed by ExaMon we will use Docker and Docker Compose:

Install Docker and Docker Compose.

Install instructions

Clone the Git repository

First you will need to clone the Git repository:

git clone https://github.com/ExamonHPC/examon.git

Create Docker Services

Once you have the above setup, you need to create the Docker services:

docker compose up -d

This will build the Docker images and fetch some prebuilt images and then start the services. You can refer to thedocker-compose.yml file to see the full configuration.

Configuration

Configure Grafana

Log in to the Grafana server using your browser and the default credentials:

NOTE: This installation sets the default password toGF_SECURITY_ADMIN_PASSWORD in thedocker-compose.yml file.

http://localhost:3000

Follow the normal procedure for adding a new data source:

Add a Datasource

From the Grafana UI, add a new data source and selectKairosDB.

Fill out the form with the following settings:

To import the dashboards stored in thedashboards/ folder:

Import dashboard

To test the installation, you can import theExamon Test - Random Sensor.json dashboard.

Configure the plugins

Installing the ExaMon plugins requires the configuration of each individual component.

It is necessary to define all the properties of the.conf configuration file of the pluginswith the appropriate values related to the server hosting the framework. In particular, it is necessaryto define the IP addresses and ports of the server where the KairosDB and/or MQTT broker services run,as well as their credentials.The configuration files to be edited are located in the respective plugin folders contained in thefollowing folders:

PluginPath
random_pub/publishers/random_pub

Please refer to the respective plugin readme file (Configuration section) for further details.

Manage the plugins

The plugins are managed by supervisord, which is the microservices manager for the examon container.

The majority of the commands follow the supervisorctl syntax:

supervisorctl<command><plugin-name>

The most used commands are:

  • start
  • stop
  • restart
  • status
  • tail

to see the full list of commands, you can use the following command:

dockerexec -it<examon-container-name> supervisorctlhelp

To start the plugins, you need to run the following command:

dockerexec -it<examon-container-name> supervisorctl start<plugin-name>

Example:

dockerexec -it examon supervisorctl start plugins:random_pub

Or, if you want to start all the plugins, you can use the following command:

dockerexec -it<examon-container-name> supervisorctl start plugins:*

As an alternative, you can open the supervisor shell to manage the plugins and start/stop them individually:

dockerexec -it<examon-container-name> supervisorctl

Check the logs

To check the logs of the plugins, you can use the following command:

dockerexec -it<examon-container-name> supervisorctl tail [-f]<plugin-name>

Enable/disable the plugins

Some plugins may be disabled by default and need to be started manually each time the examon container is started.

To enable and start the plugins automatically, you need to edit the supervisor configuration file for the examon service.

dockerexec -it<examon-container-name> bashvi /etc/supervisor/conf.d/supervisor.conf

Then, for each plugin, set the following parameters to true:

autostart=True

Restart the examon container to apply the changes:

docker restart<examon-container-name>

Please note that the supervisor configuration will be lost in case the container is recreated.To make the settings persistent, you need to edit the supervisor configuration file indocker/examon/supervisor.conf and rebuild.

Examon server configuration

The Examon server must be enabled in the supervisor configuration file and configured to use the Examon REST API.

Please refer to theREADME.rst file in theweb/examon-server folder for more information.

NOTE: The Cassandra related settings must be the same as the ones used in the Slurm publisher in the Cassandra section.

Data persistence

During the installation, two Docker volumes are created, which are required for data persistence.

$ docker volume lsDRIVER    VOLUME NAMElocal     examon_cassandra_volumelocal     examon_grafana_volume
  • Theexamon_cassandra_volume is used to store the collected metrics
  • Theexamon_grafana_volume is used to store Grafana:
    • users account data
    • dashboards

To set a custom volume path, you can use the following settings in thedocker-compose.yml file:

volumes:cassandra_volume:driver:localdriver_opts:type:nonedevice:/path/to/cassandra/volumeo:bindgrafana_volume:driver:localdriver_opts:type:nonedevice:/path/to/grafana/volumeo:bind

About

A highly scalable framework for the performance and energy monitoring of HPC servers

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp