I would like to know if there is any way to deploy a cluster node in an isolated way creating a new separated cluster.
The use case is the following, consider I have a three-node cluster with all data fully replicated, and I want to go from this deployment to a single deployment, with any of these nodes. A valid reason for this could be data synchronization problems between the nodes in the cluster.
Do you know if there is any configuration option or guideline for this?
We took your question and decided it was great, so we will cover it with a tutorial/guide. I started working on it. It is a draft but soon we should have something useful. You can follow it, if you are interested, in https://github.com/crate/crate-tutorials/pull/2 .
I have been reading your tutorial and I found this interesting link in the documentation that I think is related.
For what I understood, the idea is to force the old master node to perform the bootstrap process again. My problem now is that I am deploying the cluster with docker and when I try to execute cluster-node inside a container the following error is thrown:
bootstrap_crate-node.1.jqv6b8in47v3@ns305208 | Error: Could not find or load main class org.elasticsearch.cluster.coordination.NodeToolCli
bootstrap_crate-node.1.jqv6b8in47v3@ns305208 | Caused by: java.lang.ClassNotFoundException: org.elasticsearch.cluster.coordination.NodeToolCli
Do you know how can I execute crate-node inside a docker container? Am I doing something wrong?