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

  • Machine Identity Debt: Why Human Identity Is No Longer Cloud Security's Primary Boundary
  • Goodbye, Skeleton Keys: Why Machine Identity Broke IAM, and What SPIFFE Is Doing About It
  • 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

Trending

  • The Agentic Agile Office: Streamlining Enterprise Agile With Autonomous AI Agents
  • From Polling to PubSub: Building an Asynchronous OPC UA Stack in Python
  • The 20 Software Engineering Laws
  • Jakarta NoSQL: Why JPA Is Not Enough for the AI Era
  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.3K 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

  • Machine Identity Debt: Why Human Identity Is No Longer Cloud Security's Primary Boundary
  • Goodbye, Skeleton Keys: Why Machine Identity Broke IAM, and What SPIFFE Is Doing About It
  • 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

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