From 8da2ec9f63aa6cd49345324f12f1b1ed955c454b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 25 Apr 2019 13:31:52 -0700 Subject: [PATCH] Updated Failover Master Server (markdown) --- Failover-Master-Server.md | 7 +++++++ 1 file changed, 7 insertions(+) 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?