Ok, I've sorted out my data directory issue by linking in a new partition from /usr/local/gtm - a bit kludgy but it works.
I've spent quite a bit of time looking at the way it all sets up, and in the end I've stayed with the mgwtools process, as it works (even though it installs a lot more stuff than is needed).
However, I've noticed that node-mdb is very touchy with the exact way that selects are constructed - for example, if the wrong type of quotes are used (even arrangements that SDB is quite happy with ). Again, not a problem as such, but I notice that node-mdb tends to throw immediately after such a problem (and that isn't so cool...)
So here is the trace illustrating the problem (the quotes around "test_sdb" is what stimulates it, but it seems to cope with it initially, but then poos...):
Select Expression = select * from "test_sdb" where value like "X1%"
*** SDB.select = {"items":"*","condition":"value","limit":0}
domainIndex records: {}
domain name not found
BoxUsage: 0.0050000000
/root/node_modules/redis-node/lib/client.js:278
commandName = commandForReply.commandName;
^
TypeError: Cannot read property 'commandName' of undefined
at Client.handleReply (/root/node_modules/redis-node/lib/client.js:278:38)
at Client.emit (events.js:67:17)
at Client.handleData (/root/node_modules/redis-node/lib/client.js:249:18)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:347:14)
Is there anything can be done to make this more robust? (Sorry, js isn't really my bag...)
Thanks
Alan