I am trying to configure the ensemble of 3 nodes following the documentation. All of them are on Linux Ubuntu. on all the three nodes configuration file looks like this :>
Ensure that:
echo ruok | netcat ip.of.zk2 2181
. If ok, the server should respond with imok
(FYI, here's a list of all supported 4-letter commands)/home/zkuser/zookeeper_data/myid
contains values 1/2/3 for each server, respectivelyIf interested, I have created a vagrant+ansible script to create a 3-node virtual Zookeeper cluster, see https://github.com/mkrcah/virtual-zookeeper-cluster