Outdated Version
You are viewing an older version of this section. View current production version.
MEMSQL-DEPLOY
MemSQL Ops has been deprecated
Please follow this guide to learn how to migrate to SingleStore tools.
Deploy a MemSQL node (master aggregator, child aggregator or leaf) into a specific host where MemSQL Ops is installed.
Usage
usage: memsql-ops memsql-deploy [--settings-file SETTINGS_FILE] [--async]
[-a AGENT_ID] [-r {leaf,aggregator,master}]
[-P PORT] [-L LICENSE | --developer-edition]
[--version-hash VERSION_HASH]
[--redundancy-level {1,2}]
[--availability-group {1,2}]
Deploy a MemSQL node.
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 MemSQL to be fully deployed.
-a AGENT_ID, --agent-id AGENT_ID
The MemSQL Ops agent ID to use. Defaults to the
locally running agent if available.
-r {leaf,aggregator,master}, --role {leaf,aggregator,master}
The role of the MemSQL node.
-P PORT, --port PORT The port to use for this MemSQL node.
-L LICENSE, --license LICENSE
The MemSQL license key to use.
--developer-edition Whether or not to use the Developer Edition of MemSQL.
--version-hash VERSION_HASH
A MemSQL version hash to use.
--redundancy-level {1,2}
What redundancy level to run this MemSQL node in. This
is only applicable when deploying a master aggregator
and it is only available to users with Enterprise
licenses.
--availability-group {1,2}
Which availability group to run this MemSQL node in.
This is only applicable when deploying a leaf node and
it is only available to users with Enterprise
licenses.