Thank you @carl, this is very useful
However I had encounter the issue and error thrown while creating the node and details are below
[madhu@md-3mem-mstr memsql-toolbox]$ ./memsql-admin create-node --host 10.1.0.16 --password zzzzz --datadir /home/madhu/memsql_base/memsql-data/
could not determine memsqlctl user: error running memsqlctl: failed to start command: `"/home/madhu/memsql_base/memsql-server-6/" "--json" "--yes" "--config" "/home/madhu/memsql_base/memsql-d/" "env"`: fork/exec /home/madhu/memsql_base/memsql-server-6/: permission denied
stderr:
The below are the commands that used for registering the hosts
Master
memsql-toolbox-config register-host --localhost --host 10.1.0.16 --memsqlctl-path /home/madhu/memsql_base/memsql-server-6/ --memsqlctl-config-path /home/madhu/memsql_base/memsql-d/
Leaf
memsql-toolbox-config register-host --identity-file ~/clusterkey --host 10.1.0.17 --memsqlctl-path /home/madhu/memsql_base/memsql-server-6/ --memsqlctl-config-path /home/madhu/memsql_base/memsql-d/
MemSQL Server is extracted into the path: /home/madhu/memsql_base/memsql-server-6/
memsqlctl.hcl and nodes.hcl are created in the path /home/madhu/memsql_base/memsql-d/
Contents of memsqlctl.hcl
[madhu@md-3mem-mstr memsql-d]$ cat memsqlctl.hcl
version = 1
user = "madhu"
defaultInstallDir = "/home/madhu/memsql_base/memsql-d/"
tried with and without quotes around user and path
madhu – is the OD user that is used to install
kindly suggest, where did I go wrong
Regards
Madhu