Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.

AGENT-MOVE-MEMSQL-INSTALLS-DIR

MemSQL Ops has been deprecated

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

Info

MemSQL Helios does not support this command.

Available since MemSQL Ops version 4.1.8.

Move all MemSQL nodes for a MemSQL Ops agent to a new directory.

Usage

usage: memsql-ops agent-move-memsql-installs-dir
                                                 [--settings-file SETTINGS_FILE]
                                                 [--async]
                                                 [--agent-id AGENT_ID]
                                                 --installs-dir INSTALLS_DIR

Move all MemSQL nodes for a MemSQL Ops agent to a new directory.

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.
  --async               If this option is true, we will exit without waiting
                        for the MemSQL nodes to be fully moved.
  --agent-id AGENT_ID   The ID of the agent whose MemSQL nodes we will move.
                        Defaults to the locally running agent if available.
  --installs-dir INSTALLS_DIR
                        The directory to which we will move the MemSQL nodes.