static/rbmd | ||
templates/rbmd | ||
conf.json | ||
LICENSE | ||
rbmd.py | ||
README.md | ||
requirements.txt | ||
schema.sql | ||
users.py |
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.