You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a sample solution based on Grafana for monitoring various component of an HPC cluster built with AWS ParallelCluster.
4
+
There are 6 dashboards that can be used as they are or customized as you need.
5
+
* ParallelCluster Stats - this is the main dashboard taht shows general monitoring info and metrics for the whole cluster. It includes Slurm metrics and Storage performance metrics.
6
+
* Master Node Details - this dashboard shows detailed metric for the Master node, including CPU, Memory, Network and Storage usage.
7
+
* Compute Node List - this dashboard show the list of the available compute nodes. Each entry is a link to a more detailed page.
8
+
* Compute Node Details - similarly to the master node details this dashboard show the same metric for the compute nodes.
9
+
* Cluster Logs - This dashboard shows all the logs of your HPC Cluster. The logs are pushed by AWS ParallelCluster to AWS ClowdWatch Logs and finally reported here.
10
+
* Cluster Costs (beta / in developemnt) - This dashboard shows the cost associated to every AWS Service utilized by your Cluster. It includes: EC2, EBS, FSx, S3, EFS.
4
11
5
-
Be sure to:
6
12
7
-
* Change the title in this README
8
-
* Edit your repository description on GitHub
13
+
## AWS ParallelCluster
14
+
**AWS ParallelCluster** is an AWS supported Open Source cluster management tool that makes it easy for you to deploy and
15
+
manage High Performance Computing (HPC) clusters in the AWS cloud.
16
+
It automatically sets up the required compute resources and a shared filesystem and offers a variety of batch schedulers such as AWS Batch, SGE, Torque, and Slurm.
17
+
* More info on: https://aws.amazon.com/hpc/parallelcluster/
18
+
* Source Code on Git-Hub: https://github.com/aws/aws-parallelcluster
19
+
* Official Documentation: https://docs.aws.amazon.com/parallelcluster/
20
+
21
+
22
+
## Solution components
23
+
This project is build with the following components:
24
+
25
+
***Grafana** is an open-source (https://github.com/grafana/grafana) platform for monitoring and observability. Grafana allows you to query, visualize, alert on and understand your metrics as well as create, explore, and share dashboards fostering a data driven culture.
26
+
***Prometheus** open-source (https://github.com/prometheus/prometheus/) project for systems and service monitoring from the Cloud Native Computing Foundation (https://cncf.io/). It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
27
+
* The **Prometheus Pushgateway** is on open-source (https://github.com/prometheus/pushgateway/) tool that allows ephemeral and batch jobs to expose their metrics to Prometheus.
28
+
***Nginx** (http://nginx.org/) is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server.
29
+
***Prometheus-Slurm-Exporter** (https://github.com/vpenso/prometheus-slurm-exporter/) is a Prometheus collector and exporter for metrics extracted from the Slurm (https://slurm.schedmd.com/overview.html) resource scheduling system.
30
+
***Node_exporter** (https://github.com/prometheus/node_exporter) is a Prometheus exporter for hardware and OS metrics exposed by \*NIX kernels, written in Go with pluggable metric collectors.
31
+
32
+
Note: *while almost all components are under the Apache2 license, only **Prometheus-Slurm-Exporter is licensed under GPLv3**, you need to be aware of it and accept the license terms before proceeding and installing this component.*
You can simply use the post-install script that you can find in this git-hub (http://link/) repo as it is, or customize it as you need. For instance, you might want to change your Grafana password to something more secure and meaningful for you, or you might want to customize some dashboards by adding additional components to monitor.
51
+
The proposed post-install script will take care of installing and configuring everything for you. Though, few additional parameters are needed in the AWS ParallelCluster config file: the post_install_args, additional IAM policies, security group, and a tag. Please note that, at the moment, the post install script has only been tested using Amazon Linux 2 (https://aws.amazon.com/amazon-linux-2/).
Make sure that port 80 and port 443 of your master node are accessible from the internet (or form your network). You can achieve this by creating the appropriate security group via AWS Web-Console or via Command Line Interface (CLI (https://docs.aws.amazon.com/cli/index.html)), see an example below:
More information on how to create your security groups here (https://docs.aws.amazon.com/cli/latest/userguide/cli-services-ec2-sg.html#creating-a-security-group).
74
+
Finally, set the additional_sg parameter in the [VPC] section of your ParallelCluster config file.
75
+
After your cluster is created, you can just open a web-browser and connect to https://your_public_ip (https://your_public_ip/) , a landing page will be presented to you with links to the Prometheus database service and the Grafana dashboards.
76
+
77
+
78
+
Note: Because of the higher volume of network traffic due to the compute nodes continuously pushing metrics to the master node,
79
+
in case you expect to run a large scale cluster (hundreds of instances), we would recommend to use an instance type slightly bigger than what you planned for your master node.
9
80
10
81
## Security
11
82
12
83
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
13
84
14
85
## License
15
86
16
-
This library is licensed under the MIT-0 License. See the LICENSE file.
17
-
87
+
This library is licensed under the MIT-0 License. See the LICENSE file.
0 commit comments