-Re: Running a 3-node ensemble on a single machine
Alexander Shraer 2013-04-22, 22:58
You can create 3 different data directories and point your configuration
files to them. You can then open 3 shells, and each shell will run its own
server - you can point it to the right config file by using the ZOOCFG
parameter, like: export ZOOCFG=zoo_replicated3.cfg
Or you can run them all in one shell and provide the config file path as a
parameter to zkServer.sh.
Here's an example of zoo_replicated3.cfg, pointing to the zookeeper3 data
No, it's not for testing. I'm not familiar with Curator's TestingCluster. I
would like to simulate the production environment.
On Apr 22, 2013, at 3:25 PM, Jordan Zimmerman <[EMAIL PROTECTED]>
> If this is just for testing, use the TestingCluster from Curator.
> On Apr 22, 2013, at 3:23 PM, Drew Kutcharian <[EMAIL PROTECTED]> wrote:
>> Hi Guys,
>> For development purposes I would like to run a 3 node Zookeeper ensemble
on a single machine (Mac OS X). What's the cleanest way to do this?