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

AGENT-UPGRADE

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.

Upgrades all MemSQL Ops agents to the latest version. All MemSQL Ops agents are upgraded with this command.

Usage

usage: memsql-ops agent-upgrade [--settings-file SETTINGS_FILE] [--async]
                                [--file-path FILE_PATH | -v VERSION]
                                [--timeout TIMEOUT] [--no-prompt]

Upgrade MemSQL Ops to the newest version.

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 agents to be fully upgraded.
  --file-path FILE_PATH
                        A .tar.gz file that contains a MemSQL Ops binary to
                        use during the upgrade.
  -v VERSION, --version VERSION
                        The version of MemSQL Ops to use. By default, we will
                        use the latest available.
  --timeout TIMEOUT     Number of seconds to wait for each agent to upgrade.
                        The default is 300 seconds
  --no-prompt           If this option is specified, we will upgrade MemSQL
                        Ops without interactive prompt.