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



MemSQL Helios does not support this command.

Run memsqlctl enable-high-availability on the host containing the Master Aggregator.


This will automatically update the 'redundancy_level' of the master aggregator
from 1 to 2, and evenly assign leaves to availability groups 1 and 2 (by
removing and re-adding them).

  memsql-admin enable-high-availability [flags]

  -h, --help                  help for enable-high-availability
  -p, --password STRING       the SQL password for re-adding the leaves (deprecated on clusters running MemSQL 7.0.6 or later)
      --skip-colocate-check   do not check whether colocation of a leaf pair is necessary
      --skip-disk-check       do not check that each leaf node has at least half of its disk space free
      --user string           the SQL user for re-adding the leaves (deprecated on clusters running MemSQL 7.0.6 or later)

Global Flags:
      --backup-cache FILE_PATH              File path for the backup cache
      --cache-file FILE_PATH                File path for the Toolbox node cache
  -c, --config FILE_PATH                    the Toolbox configuration file path
  -j, --json                                Enable JSON output
      --parallelism POSITIVE_INTEGER        Maximum amount of operations to be run in parallel
      --runtime-dir DIRECTORY_PATH          where to put Toolbox runtime data
      --ssh-max-sessions POSITIVE_INTEGER   Maximum number of SSH sessions to open per host, must be at least 3
      --state-file FILE_PATH                the Toolbox state file path
  -v, --verbosity count                     Increase logging verbosity: valid values are 1, 2, 3. Usage -v=count or --verbosity=count
  -y, --yes                                 Enable non-interactive mode and assume the user would like to move forward with the proposed actions by default


This command is interactive unless you use either the --yes or --json flags to override interactive behavior.