mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-30 00:40:44 +01:00
Updated Failover Master Server (markdown)
1 parent
a1b6b1f886
commit
67e028f717
1 file changed
+3
-3
@@ -38,9 +38,9 @@ Now let's start the master and volume servers separately, the usual way.
|
||||
Usually you would start several (3 or 5) master servers, then start the volume servers:
|
||||
|
||||
```bash
|
||||
weed master -port=9333 -mdir=./1 -peers=localhost:9333,localhost:9334,localhost:9335
|
||||
weed master -port=9334 -mdir=./2 -peers=localhost:9333,localhost:9334,localhost:9335
|
||||
weed master -port=9335 -mdir=./3 -peers=localhost:9333,localhost:9334,localhost:9335
|
||||
weed master -ip=localhost -port=9333 -mdir=./1 -peers=localhost:9333,localhost:9334,localhost:9335
|
||||
weed master -ip=localhost -port=9334 -mdir=./2 -peers=localhost:9333,localhost:9334,localhost:9335
|
||||
weed master -ip=localhost -port=9335 -mdir=./3 -peers=localhost:9333,localhost:9334,localhost:9335
|
||||
# now start the volume servers, specifying any one of the master server
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user