Web dashboard for RBMD provides interface to monitor cluster data and allows you to mount/umount/resolve.
- Python2.7
- Zookeeper
- RBMD
Install dependencies:
pip install -r requrements.txt
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
}
Run
./rbmd.py
Web server will be started at 0.0.0.0:8000.
To run app in docker container:
docker build -t rbmd PROJECT_DIRECTORY
docker run -ti --network="host" rbmd