Hello Madhu! Sorry you have hit this issue. We are actively building out a full installation guide which will address your needs for installation without sudo.
In the meantime, using toolbox with memsql-server without sudo is actually not too hard. Follow these steps to get started:
- Download the MemSQL Server tarball for the latest release. You can lookup the relative path on our release server at the following URL: https://release.memsql.com/production/index/memsqlserver/latest.json
- look for the section
memsql-server-tarin that document and append thePathattribute to the urlrelease.memsql.com/to download the latest tarball.
- look for the section
- Unpack the tarball on every host in your cluster wherever you want to install MemSQL
- Make sure that the user you will SSH into the node owns the unpacked installation directory
- It’s easiest if you unpack memsql-server into the same location on every host
- Create a directory on each host where you want MemSQL data to live, inside this directory add two files:
Name the first file "memsqlctl.hcl" with contents:
version = 1
user = "LINUX USER WHO SHOULD RUN MEMSQL"
defaultInstallDir = "PATH TO THIS DIRECTORY"
Name the second file "nodes.hcl" with contents:
version = 1
- Install toolbox on your command + control host. If you need to install toolbox without sudo you can get the latest tarball from a similar release url: https://release.memsql.com/production/index/memsqltoolbox/latest.json
- Register each host using
memsql-toolbox-config register-host- IMPORTANT: specify the additional flags
--memsqlctl-pathand--memsqlctl-config-path --memsqlctl-pathshould be an absolute path to the memsqlctl binary which was unpacked when you unpacked thememsql-servertarball--memsqlctl-config-pathshould be an absolute path to thememsqlctl.hclfile you created on each host
- IMPORTANT: specify the additional flags
- At this point you can run any
memsql-admincommand to operationalize your MemSQL Cluster.- some starting commands are
create-node,add-leaf,bootstrap-aggregator, andadd-aggregator - check
memsql-admin --helpfor more
- some starting commands are
- NOTE:
memsql-deploycommands currently will not work with this setup - we are making tarball installations first class as we speak which should be released in the next month or so. In the meantime this more manual installation process is the best option for running without sudo privileges.
Let us know if you run into any issues. We are working hard to make this particular experience much better.