AGENT-STOP

On this page

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.

Last modified: April 25, 2023

Was this article helpful?