chance-nelson / doppler

Web front end for the jobstats tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slurm Jobstats Site

Overview

Provides a web frontend for cluster users to view how efficient they are in regards to use of requested resources. Provides a ranking system and graphs to help users and groups improve their usage.

Installation

Requirements

  1. Slurm
  2. jobstats-cmd
  3. jobstats-db
  4. WSGI-compatible web server (gunicon recommended)
  5. Parent web server (nginx recommended)

Install

  1. Clone and enter repository git clone https://github.com/nauhpc/doppler.git && cd doppler
  2. Install dependencies pip install -r requirements.txt

Running behind a WSGI Server (ex. gunicorn)

  1. Run WSGI server
gunicorn -w 4 app:app
  1. Set your web server to be a reverse-proxy for the WSGI server

NGINX:

server {
    listen 80;
    server_name example.org;
    access_log  /var/log/nginx/example.log;

    location / {
        proxy_pass http://127.0.0.1:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

Apache:

<VirtualHost *:80>
    ServerName 134.114.32.210
    ProxyPreserveHost on
    ProxyPass "/" "http://127.0.0.1:8000"
</VirtualHost>

Reference yout WSGI server's guide for more information

Documentation

Documentation is available for generation via Sphinx, with Google-style docstrings. You can generate docs by:

cd docs
make html

Reference Sphinx's documentation for more information

About

Web front end for the jobstats tools

License:GNU General Public License v3.0


Languages

Language:Python 62.5%Language:HTML 36.1%Language:CSS 1.4%