I better replicate mah storage expansion for: https://github.com/Ne00n/pipe-builder-3000/
Configures SeaweedFS on all nodes (master/volume/filer) including HA
You need at least 3 nodes
Tested on Debian 10/11 and Ubuntu 20.04 with systemd.
Dependencies
none
Prepare
Rename hosts.example.json to hosts.json and fill it up
Make sure you have an odd number of nodes
Usage
Builds or Updates the SeaweedFS cluster
python3 seaweed.py build
After a build you can check the status
curl http://vpnip:9333/dir/status?pretty=y
Shutdown of all SeaweedFS instances
python3 seaweed.py shutdown
Removes all SeaweedFS instances
python3 seaweed.py clean
Terminates all SeaweedFS instances + data
python3 seaweed.py terminate