New Installations
If MemSQL is not installed, the following command will install with an alternate directory:
5.x: http://docs.memsql.com/docs/agent-deploy
memsql-ops agent-deploy ... --ops-datadir /path/to/ops/agent/directory ... --memsql-installs-dir /path/to/memsql/directory ...
4.x: http://docs.memsql.com/4.1/ops/cli/AGENT-INSTALL/
memsql-ops agent-install ... --ops-datadir /path/to/ops/agent/directory ... --memsql-installs-dir /path/to/memsql/directory ...
If you do not specify memsql-installs-dir, than MemSQL Ops and MemSQL will share the OPS datadir.
Existing Installations
If MemSQL is already installed, you can use the `memsql-ops agent-move-memsql-installs-dir` command to migrate your data. Additional information on this command is located at http://docs.memsql.com/docs/agent-move-memsql-installs-dir
The command that you will run on each of your nodes will be similar to:
memsql-ops agent-move-memsql-installs-dir --installs-dir MEMSQL_INSTALLS_DIR --agent-id AGENT_ID
By default:
INSTALLS_DIR /var/lib/memsql
Please let us know if you have any questions!