diff --git a/Failover-Master-Server.md b/Failover-Master-Server.md index ab025ed..a896700 100644 --- a/Failover-Master-Server.md +++ b/Failover-Master-Server.md @@ -45,10 +45,17 @@ weed master -port=9335 -mdir=./3 -peers=localhost:9333,localhost:9334,localhost: weed volume -dir=./1 -port=8080 -mserver=localhost:9333,localhost:9334,localhost:9335 weed volume -dir=./2 -port=8081 -mserver=localhost:9333,localhost:9334,localhost:9335 weed volume -dir=./3 -port=8082 -mserver=localhost:9333,localhost:9334,localhost:9335 + +# The full list of masters is recommended, but not required. +# You can only specify any master servers. +weed volume -dir=./3 -port=8082 -mserver=localhost:9333 +weed volume -dir=./3 -port=8082 -mserver=localhost:9333,localhost:9334 ``` These 6 commands will actually functioning the same as the previous 3 commands from the cheatsheet. +It is a best practice for volume servers to include as many master servers as possible. So when one of the masters failed, the volume server can switch to another one. + ## FAQ * Q: Is it possible to add an additional master server to an already running SeaweedFS cluster?