To install MemSQL 7.0 Beta 1 on a single server, connected to the internet, starting with a clean Linux installation, do the following.
Using MemSQL Tools
Install our deployment tool,
memsql-deployby following the instructions at https://docs.memsql.com/guides/latest/install-memsql/on-premises/multi-host/comprehensive/step-2.
Deploy a master aggregator and a single leaf node using:
memsql-deploy cluster-in-a-box --version dev:79478641-ff6d-403e-8afc-664aa726a383 --license $LICENSE
$LICENSEwith your existing MemSQL license key. If you don't already have a license, visit our portal, create an account if you don't have one, create a free license, and use that.
(Optional) MemSQL Studio is also installed as part of step 1. To use it, follow the instructions at: https://docs.memsql.com/guides/latest/install-memsql/on-premises/multi-host/comprehensive/step-4/
For a custom installation, on any number of nodes, follow the instructions at https://docs.memsql.com/guides/latest/install-memsql. However, be sure to use the
--version dev:79478641-ff6d-403e-8afc-664aa726a383 option wherever applicable so you get the 7.0 Beta 1 version. This will be required when using
memsql-deploy setup-cluster, or
Using MemSQL Ops
Download and install the MemSQL Ops tarball.
wget http://download.memsql.com/memsql-ops-6.7.6/memsql-ops-6.7.6.tar.gz tar zxvf memsql-ops-6.7.6.tar.gz cd memsql-ops-6.7.6 sudo ./install.sh -n
Deploy a master aggregator first. Replace $LICENSE with your existing MemSQL Enterprise license key or use the
--developer-editionflag if you do not have an Enterprise license.
memsql-ops memsql-deploy --role master --port 3306 --version-hash e93df498e298007a917bc973fbe76c387d5a51a4 --license $LICENSE
Deploy a single leaf node.
memsql-ops memsql-deploy --role leaf --port 3307 --version-hash e93df498e298007a917bc973fbe76c387d5a51a4
For additional installation options, follow the instructions at https://docs.memsql.com/memsql-ops/v6.7/full-installation-guide/. Note: Because you are installing a specific build of MemSQL, you must install it using the command-line install path, rather than through the MemSQL Ops UI, as shown above.
- Upgrades to and from MemSQL 7.0 Beta 1 are not supported.
- If you are running MySQL on the same machine you want to use to run MemSQL 7.0 Beta 1, you may need to run a custom installation rather than the
cluster-in-a-boxdeployment because MySQL may occupy port 3306. You can specify the desired ports for your nodes explicitly during a custom installation.