You are viewing an older version of this section. View current production version.

remove-leaf

Info

MemSQL Helios does not support this command.

Remove the leaf from the cluster.

Usage

Usage:
  memsql-admin remove-leaf [flags]

Flags:
      --force                disable automatic rebalancing
  -h, --help                 help for remove-leaf
      --host string          the cluster-addressable hostname for the leaf node
      --memsql-id MemsqlID   the MemsqlID of the leaf to be removed
      --port PORT            the cluster-addressable port for the leaf node

Global Flags:
      --backup-cache FILE_PATH              File path for the backup cache
      --cache-file FILE_PATH                File path for the Toolbox node cache
  -c, --config FILE_PATH                    the Toolbox configuration file path
  -j, --json                                Enable JSON output
      --parallelism POSITIVE_INTEGER        Maximum amount of operations to be run in parallel
      --runtime-dir DIRECTORY_PATH          where to put Toolbox runtime data
      --ssh-max-sessions POSITIVE_INTEGER   Maximum number of SSH sessions to open per host, must be at least 3
      --state-file FILE_PATH                the Toolbox state file path
  -v, --verbosity count                     Increase logging verbosity: valid values are 1, 2, 3. Usage -v=count or --verbosity=count
  -y, --yes                                 Enable non-interactive mode and assume the user would like to move forward with the proposed actions by default

Remarks

This command is interactive unless you use either the --yes or --json flags to override interactive behavior.