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 (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
thuningxu authored May 4, 2017
1 parent 0486887 commit 3f513f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmd/tools/admin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,16 @@ 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", the active zone for multi-zone consumers
"cherami-controllerhost", "failoverMode", "enabled" or "disabled"
"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
"cherami-outputhost", "messagecachesize", comma-separated list of "destination/CG_name=value" for message cache size
`,
Subcommands: []cli.Command{
{
Name: "get",
Expand Down

0 comments on commit 3f513f9

Please sign in to comment.