Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.

bootstrap-aggregator

Info

MemSQL Helios does not support this command.

Bootstrap the node as a Master Aggregator in the cluster.

Usage

Bootstrap the node as a Master Aggregator in the cluster.

To bootstrap a node, the node must have a valid license. Use the --license flag to specify a license
to set before bootstrapping the node:

    memsql-admin bootstrap-aggregator --memsql-id 0123ABCDEF --license BgEZY....==

If you previously set a license on the node, you can omit the --license flag:

    memsql-admin bootstrap-aggregator --memsql-id 0123ABCDEF

Usage:
  memsql-admin bootstrap-aggregator [flags]

Flags:
      --force                Skip the check for an existing master and bootstrap the node
  -h, --help                 Help for bootstrap-aggregator
      --license LICENSE      The license to apply to the node before bootstrapping
      --memsql-id MemsqlID   The MemSQL ID of the 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                    Toolbox configuration file path
      --disable-spinner                     Disable the progress spinner, which some terminal sessions/environments may have issues with
  -j, --json                                Enable JSON output
      --parallelism POSITIVE_INTEGER        Maximum number of operations to run in parallel
      --runtime-dir DIRECTORY_PATH          Where to store 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                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

When using this command, you should use --memsql-id rather than --host and/or --port.

This command also accepts --license as a convenience, which means you do not have to run set-license beforehand.

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