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
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Every Generation Fears the Machine. Here Is How the AI Job Panic Usually Ends
  • Machine Identity Debt
  • 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

Trending

  • Batching Strategies: Throughput vs Latency in Practice
  • The Window Closes: Why I Switched to Kotlin Before the Codebase Got Too Big
  • Designing Frontend Applications for Failure, Not Just Success
  • Microsoft Fabric Throttling: Diagnose Before You Scale

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  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
·
Updated Sep. 16, 16 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
37.5K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

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

  • Every Generation Fears the Machine. Here Is How the AI Job Panic Usually Ends
  • Machine Identity Debt
  • 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

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • 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