I am doing the same but somehow its not working. I get the following errors
Resolved hostname: zk-1.example.local to address: zk-1.example.local/ 172.16.3.85 Cannot open channel to 2 at election address zk-1.example.local/ 172.16.3.85:3888 INFO [QuorumPeer[myid=3]/0.0.0.0:2183:QuorumPeer$QuorumServer@184] - Resolved hostname: zk-1.example.local to address: zk-1.example.local/ 172.16.3.85 Any suggestions on how to get past this. Thank you On Fri, Jul 6, 2018 at 6:45 AM, Vincenzo D'Amore <v.dam...@gmail.com> wrote: > Just use the fqdn of each instance in zoo.cfg. For example: > > server.1=zk-1.example.local:2888:3888 > server.2=zk-2.example.local:2888:3888 > server.3=zk-3.example.local:2888:3888 > > > On Fri, Jul 6, 2018 at 3:03 PM Sushant Vengurlekar < > svengurle...@curvolabs.com> wrote: > > > I want to use a FQDN of each of the zookeeper instances instead of the IP > > address in the zookeeper config. has anyone done this before and can > point > > to some examples. > > Thank you > > > > > -- > Vincenzo D'Amore >