mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Failover Master Server (markdown)
parent
a1b6b1f886
commit
67e028f717
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue