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

Add description to service config in admin command #172

Merged
merged 1 commit into from
May 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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