Outdated Version

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

AGENT-PUT

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.

Allows copying of files to other hosts via SCP.

Specifying a list of agent-id's, this command allows users to SCP files to remote MemSQL Ops agent hosts. The SCP credentials used in this command are the same credentials used to deploy the MemSQL Ops agent into that host, or the credentials subsequent

Usage

usage: memsql-ops agent-put [--settings-file SETTINGS_FILE]
                            [--agent-ids AGENT_IDS [AGENT_IDS ...]]
                            [--memsql-role {leaf,aggregator,master} [{leaf,aggregator,master} ...]]
                            [--no-prompt] [-u USER] [-P PORT] [-i PRIVATE_KEY]
                            [-p [PASSWORD]]
                            source dest

SCP files to agents.

positional arguments:
  source                Path to the source file on the local machine.
  dest                  Path to the destination file on the remote agent(s).

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-ids AGENT_IDS [AGENT_IDS ...]
                        Filter the nodes by the specified agent IDs.
  --memsql-role {leaf,aggregator,master} [{leaf,aggregator,master} ...]
                        Filter the nodes by the specified SingleStore DB roles.
  --no-prompt           Skip interactive prompts if a single agent is
                        selected.
  -u USER, --user USER  Use this user for all SSH connections.
  -P PORT, --port PORT  Use this port for all SSH connections.
  -i PRIVATE_KEY, --private-key-file PRIVATE_KEY
                        Use this SSH key for all SSH connections.
  -p [PASSWORD], --password [PASSWORD]
                        Use this password for all SSH connections. Leave blank
                        to read the MEMSQL_PASSWORD environment variable, or
                        have a password prompt if MEMSQL_PASSWORD is not set.