register-node

Register a MemSQL node on a specific host

Usage

Usage:
  memsql-admin register-node [flags]

Flags:
      --auditlogsdir string    Path to the auditlogsdir of the node, if not already specified in the MemSQL config file)
      --datadir string         Path to the datadir of the node, if not already specified in the MemSQL config file
      --force                  Skip safety checks that require the node be online (e.g., password is correct). Use this flag to register an offline node.
  -h, --help                   help for register-node
      --host string            Host of the MemSQL node to be registered
      --memsql-config string   Path to the MemSQL config file path of the node
  -p, --password STRING        The current MemSQL root password for the node
      --pid-file string        Path to the current pid file of the node, if not already specified in the MemSQL config file
      --plancachedir string    Path to the plancachedir of the node, if not already specified in the MemSQL config file
  -P, --port PORT              The node's current port, if not already specified in the MemSQL config file
      --tracelogsdir string    Path to the tracelogsdir of the node, if not already specified in the MemSQL config file

Global Flags:
      --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 int              Maximum amount of operations to be run in parallel
      --runtime-dir DIRECTORY_PATH   where to put Toolbox runtime data
      --state-file FILE_PATH         the Toolbox state file path
  -v, --verbosity count              Increase logging verbosity
  -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.

Was this article useful?