Outdated Version

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

AGENT-STOP

MemSQL Ops has been deprecated

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

Info

SingleStore Managed Service does not support this command.

Stops MemSQL Ops agent(s) running on remote host(s). Specifying the --all flag will stop all MemSQL Ops agents in the cluster.

Usage

usage: memsql-ops agent-stop [--settings-file SETTINGS_FILE]
                             [--agent-id AGENT_ID | --all] [--no-prompt]

Stop 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 stop.
  --all                 Stop all agents in the cluster.
  --no-prompt           Skip interactive prompts if ID is not provided. This
                        should be used for non-interactive scripts and
                        automation.