Outdated Version

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

AGENT-START

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to SingleStore tools.

Starts MemSQL Ops agents running on remote host(s). Specifying the --all flag will start all MemSQL Ops agents in the cluster.

Usage

usage: memsql-ops agent-start [--settings-file SETTINGS_FILE]
                              [--agent-id AGENT_ID | --all] [-P PORT]
                              [--ignore-root-error] [--no-prompt]

Start one or all MemSQL Ops agents in the cluster.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  --agent-id AGENT_ID   The ID of the agent to start.
  --all                 Start all agents in the cluster.
  -P PORT, --port PORT  Bind agents to the specified port.
  --ignore-root-error   If set, MemSQL Ops will start even if we previously
                        started it with root privileges and it is now being
                        started by a non-root user.
  --no-prompt           Skip interactive prompts if ID is not provided. This
                        should be used for non-interactive scripts and
                        automation.