The scripts are for testing Prometheus on using various configurations including compression and erasure coding.
The script is tested on Cloudlab using the small-lan profile with Ubuntu 20.04.
- Base: run prombench on a single node with local storage
- Clone the repo, first:
$ git clone https://github.com/swson/promceph
- Then, run:
$ cd promceph $ source ./run-prombench-base.sh
- Clone the repo, first:
- Ceph-base: run prombench on 3-node with Ceph storage
- For each node:
- Clone the repo, first:
$ git clone https://github.com/swson/promceph
- Then, run:
$ cd promceph $ source ./run-prombench-base.sh
- Clone the repo, first:
- In the first node, e.g., node0 on Cloudlab, run the script for setting up Ceph.
$ source ./setup-ceph.sh
- Run the script for running prombench.
$ source ./run-prombench-with-ceph.sh
- For each node:
Use this script to collect storage comsumption and TSDB direcotry structure.
while true
do
date 2>&1 | tee -a ceph.log
sudo ceph df 2>&1 tee -a ceph.log
tree /mnt/cephfs 2>&1 | tee -a ceph.log
sleep 300
done