couchbaselabs / cbft

*THIS PROJECT HAS MOVED* from couchbaselabs TO: https://github.com/couchbase/cbft -- no further development will be done here on couchbaselabs/cbft
Other
27 stars 5 forks source link

ability to clone a cbft setup for supportability #37

Open steveyen opened 9 years ago

steveyen commented 9 years ago

See issue https://github.com/couchbaselabs/cbft/issues/36, which is about the related ability to grab as much diagnostic info that we can from a cbft node (AAA).

This issue, then, is the ability to spin up a cbft node (or cluster?) that's based on that diagnostic info, so that the new node will have the same or similar config as AAA, so that supportability is easier.

steveyen commented 9 years ago

Here's a simple way of using curl to get the index definitions from a cbft node...

curl http://localhost:9090/api/index | jq .indexDefs.indexDefs

steveyen commented 9 years ago

Also, the recent REST api endpoint of /api/diag should have everything in it to make it possible to clone a configuration... manually.

Not yet automated on feeding /api/diag's output into some input of some TBD cloner-tool