AGENT-UPGRADE

On this page

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.

Last modified: April 25, 2023

Was this article helpful?