According to the terms of reference, I have to set up a cluster of five nodes.
I have a number of questions.
Can I specify one of the nodes simultaneously as a master node and as a data node?
If I specified one master node (coordinator), what happens if it fails? Will other nodes choose a new coordinator? How to properly configure the nodes so that when the coordinator fails, they choose a new one from the remaining four nodes?