AGENT-DEPLOY
On this page
Deploys a MemSQL Ops agent to another host.
This command requires valid SSH credentials to connect to the host where you plan to deploy the agent.AGENT-SSH
.
Usage
usage: memsql-ops agent-deploy [--settings-file SETTINGS_FILE] [--async] -hHOST [-P PORT] [-u USER] [-p [PASSWORD]][-i IDENTITY_FILE] [--agent-port AGENT_PORT][--ops-datadir OPS_DATADIR][--memsql-installs-dir MEMSQL_INSTALLS_DIR][--allow-no-sudo]Deploy a MemSQL Ops agent to a host.optional arguments:--settings-file SETTINGS_FILEA path to a MemSQL Ops settings.conf file. If not set,we will use the file in the same directory as theMemSQL Ops binary.--async If this option is true, we will exit without waitingfor the agent to be fully deployed.-h HOST, --host HOST The hostname of the machine to deploy to.-P PORT, --port PORT The SSH port for the machine to deploy to.-u USER, --user USER The user on the remote machine to use. By default wewill use the same username as the user running thiscommand.-p [PASSWORD], --password [PASSWORD]Password for the user on the remote machine. Leaveblank to read the MEMSQL_PASSWORD environmentvariable, or have a password prompt if MEMSQL_PASSWORDis not set.-i IDENTITY_FILE, --identity-file IDENTITY_FILEPath to a private key file for logging into the remotemachine.--agent-port AGENT_PORTThe port on which we will run the newly-deployedagent.--ops-datadir OPS_DATADIRA directory to use as the agent's data directory. Theagent will put log files and so forth in thisdirectory. By default, we will use the agent's installdirectory.--memsql-installs-dir MEMSQL_INSTALLS_DIRA directory that we will install SingleStore nodes in. Bydefault, we will use the agent's data directory (see--ops-datadir above).--allow-no-sudo Do not throw an error if we cannot use sudo on theremote machine.
Last modified: April 25, 2023