I am planning to use ZooKeeper in my system. I have 6 machines I need to coordinate. Do I understand correctly that I install ZooKeeper on each of those machines?
Some examples show I can create several instances on the same server, different port. What would be the use case for several instances on the same machine?
I do not think it is related, but I use PHP and the Keeper extension.
I currently have 3 web servers, one backend server (for batch processes), Two db servers, one Log and monitoring server. Each has Java + Tomcat installed. The main reason I plan to use ZooKeeper for is to manage locks on various resources my system uses. Like, Memory, certain tables, disk IO. All of my machines are Linux.