Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
Add description to service config in admin command
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu Ning committed Apr 26, 2017
1 parent 6442730 commit 259928e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/tools/admin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,15 @@ func main() {
Name: "serviceconfig",
Aliases: []string{"cfg"},
Usage: "serviceconfig (get|set|delete)",
Description: `Manage service configs. Supported service names, config keys and usage are:
"cherami-controllerhost", "numPublisherExtentsByPath", comma-separated list of "prefix=extent_count"
"cherami-controllerhost", "numConsumerExtentsByPath", comma-separated list of "prefix=extent_count"
"cherami-controllerhost", "numRemoteConsumerExtentsByPath", comma-separated list of "prefix=extent_count"
"cherami-controllerhost", "activeZone", comma-separated list of active zones
"cherami-controllerhost", "failoverMode", true or false
"cherami-storehost", "adminStatus", if set to anything other than "enabled", will prevent placement of new extent on this store
"cherami-storehost", "minFreeDiskSpaceBytes", integer, minimum required free disk space in bytes to place a new extent
`,
Subcommands: []cli.Command{
{
Name: "get",
Expand Down

0 comments on commit 259928e

Please sign in to comment.