DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Beyond Fail-Safe: Designing Fail-Operational State Machines for Physical AI
  • Series (4/4): Toward a Shared Language Between Humans and Machines — Humans as Co-Creators: Ethics, Strategy, and the Future of a Shared Language
  • Series (3/4): Toward a Shared Language Between Humans and Machines — Quantum Language and the Limits of Simulation
  • Series (2/4): Toward a Shared Language Between Humans and Machines — From Multimodality to World Models: Teaching Machines to Experience

Trending

  • Introduction to Tactical DDD With Java: Steps to Build Semantic Code
  • Agentic Testing: Moving Quality From Checkpoint to Control Layer
  • Lambda-Driven API Design: Building Composable Node.js Endpoints With Functional Primitives
  • Key Takeaways From Integrating a RAG Application With LangSmith
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. Running Multiple Zookeeper Instances on Single Windows Machine

Running Multiple Zookeeper Instances on Single Windows Machine

This tutorial with screenshots will teach you how to run multiple instances of the popular config management software ZookeeperRunner on your local machine.

By 
Mohammad Nadeem user avatar
Mohammad Nadeem
·
Updated Sep. 16, 16 · Tutorial
Likes (5)
Comment
Save
Tweet
Share
37.2K Views

Join the DZone community and get the full member experience.

Join For Free

Running Zookeeper on Windows is easy. Check out this tutorial on how to run multiple Zookeeper instances on one Windows machine.

Step 1: Copy Three Instances of ZookeeperRunner on Your Local Drive

I have copied them as instance1, instance2, and instance3.

zookeeper-multi-instances

Step 2: Copy Required Zookeeper jar Files to [RUNNER_HOME]/lib

You must do this for each of the instances.

zookeeper-runner-jars

Step 3: Update the Zoo Config Files

Again, you must do this for each of the instances.

For the client ports, instance1= 2181, instance2=2182, and instance3=2183.

zookeeper-runner-zoo-config

Step 4: Update the Wrapper Config

zookeeper-runner-wrapper-config

Step 5: Update the myid Files

zookeeper-runner-myid

Step 6 : Start Zookeeper Instances.

You must do this for each of the instances.

zookeeper-runner-start

Below are the running instances.

zookeeper-runner-instance1

zookeeper-runner-instance2

Image title

That's it! You now know how to run multiple instances of Zookeeper on one Windows machine.

Machine

Opinions expressed by DZone contributors are their own.

Related

  • Beyond Fail-Safe: Designing Fail-Operational State Machines for Physical AI
  • Series (4/4): Toward a Shared Language Between Humans and Machines — Humans as Co-Creators: Ethics, Strategy, and the Future of a Shared Language
  • Series (3/4): Toward a Shared Language Between Humans and Machines — Quantum Language and the Limits of Simulation
  • Series (2/4): Toward a Shared Language Between Humans and Machines — From Multimodality to World Models: Teaching Machines to Experience

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook