You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anna Sudnitsina 92b94c3b46 Initial commit 2 years ago
static/rbmd Initial commit 2 years ago
templates/rbmd Initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md Initial commit 2 years ago
conf.json Initial commit 2 years ago
rbmd.py Initial commit 2 years ago
requirements.txt Initial commit 2 years ago
schema.sql Initial commit 2 years ago
users.py Initial commit 2 years ago

README.md

rbmd web panel

Web dashboard for RBMD provides interface to monitor cluster data and allows you to mount/umount/resolve.

Requirements

Python2.7

python-pip

Install dependencies:

pip install -r requrements.txt --user

Apply database schema

sqlite3 auth.db < schema.sql

Add users

./users.py -u username # Add -p 'password' optionaly

Change config

{
    "zookeeper" : "127.0.0.1:2181", // Zookeeper
    "api": "http://127.0.0.1:9076/v1" // RBMD HTTP API endpoint
}

Usage

Run

./rbmd.py

This is a turn on the web server at 0.0.0.0:8000.