aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-24 00:25:20 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-24 00:25:20 -0700
commit9774ede3cf62a6a2481fb22c71785ca7d271a806 (patch)
treec65a1e194fabff953aea6009fc31e17c46ef40a9 /weed/command/server.go
parentb04d7e3ac0581fb3dfd73a28878ab18eba57d03f (diff)
downloadseaweedfs-9774ede3cf62a6a2481fb22c71785ca7d271a806.tar.xz
seaweedfs-9774ede3cf62a6a2481fb22c71785ca7d271a806.zip
adjust usage description
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go13
1 files changed, 5 insertions, 8 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 8f1c900f3..49d872bcb 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -39,19 +39,16 @@ func init() {
var cmdServer = &Command{
UsageLine: "server -port=8080 -dir=/tmp -volume.max=5 -ip=server_name",
- Short: "start a server, including volume server, and automatically elect a master server",
+ Short: "start a master server, a volume server, and optionally a filer and a S3 gateway",
Long: `start both a volume server to provide storage spaces
and a master server to provide volume=>location mapping service and sequence number of file ids
This is provided as a convenient way to start both volume server and master server.
- The servers are exactly the same as starting them separately.
+ The servers acts exactly the same as starting them separately.
+ So other volume servers can connect to this master server also.
- So other volume servers can use this embedded master server also.
-
- Optionally, one filer server can be started. Logically, filer servers should not be in a cluster.
- They run with meta data on disk, not shared. So each filer server is different.
-
- Also optionally, one S3 gateway can be started.
+ Optionally, a filer server can be started.
+ Also optionally, a S3 gateway can be started.
`,
}