Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

configure zookeeper Server on a different ethernet card - IP address

avatar
Explorer

Request to check possibilityand steps on how to configure ZooKeeper Servers with diffrent IP address

This is to divert all health check traffic via diffrent ethernet Interface to Insulate workload issue's effecting components being brought down . Please respond if this can be acheived in any other way

1 REPLY 1

avatar
Super Collaborator

Hi @sadanjan mallireddy,

by default Zookeeper Server binds(listens) to all the IPs/interfaces specified in the host,

on the reverse case, we can control this behavior by adjusting the parameter clientPortddress="required only IP/host name"

Abstract from Zookeeper documentation

clientPortAddress
New in 3.3.0: the address (ipv4, ipv6 or hostname) to listen for client connections; that is, the address that clients attempt to connect to. This is optional, 

by default we bind in such a way that any connection to the clientPort for any address/interface/nic on the server will be accepted.

from this, you can redirect the required traffic to another nic (as long as the firewall allows).

Hope this helps !!