Updated Failover Master Server (markdown)

Chris Lu 2019-04-25 13:31:52 -07:00
parent 3fc389c2ff
commit 8da2ec9f63

@ -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?