Re: RR DNS name instead of list of server

2019-02-12 Thread rammohan ganapavarapu
ok, got it thank you! On Tue, Feb 12, 2019 at 8:49 AM Andor Molnar wrote: > Not sure what do you mean by 'static'? > ZK instance cannot change myid, it's tight to the database. > > Andor > > > On Tue, Feb 12, 2019 at 5:18 PM rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > > Andor,

Re: RR DNS name instead of list of server

2019-02-12 Thread Andor Molnar
Not sure what do you mean by 'static'? ZK instance cannot change myid, it's tight to the database. Andor On Tue, Feb 12, 2019 at 5:18 PM rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Andor, > > Thanks you, do we have to have a static myid? any alternatives to it? > > Ram > > On

Re: RR DNS name instead of list of server

2019-02-12 Thread rammohan ganapavarapu
Andor, Thanks you, do we have to have a static myid? any alternatives to it? Ram On Tue, Feb 12, 2019 at 3:44 AM Andor Molnar wrote: > Hi Ram / Alan, > > I quite like the idea of implementing some kind of autoconfiguration for > ZooKeeper, because currently it's entirely based on static

Re: RR DNS name instead of list of server

2019-02-11 Thread rammohan ganapavarapu
Jürgen, I have zk clusters in dynamic environment like Autoscalling groups and as you know in ASG it is quite common for a instance to get terminate and new one comes up right, so in that case if i rely on static config it will be little bit hard to manage the cluster, i was thinking if we have

Re: RR DNS name instead of list of server

2019-02-11 Thread Alan Scherger
Hey Jürgen, My intent was to simply suggest a more programmatic means for dynamic configuration. In particular, the detecting of seed nodes and their appropriate id numbers. One might imagine provisioning 3 nodes with tags like: zk_cluster=thebestcluster zk_myid={1,2,3} and then in the zk

Re: RR DNS name instead of list of server

2019-02-10 Thread rammohan ganapavarapu
Should I open a feature request? For both cloud auto discovery and use DNS end point to form a quorum. On Sun, Feb 10, 2019, 3:56 PM Alan Scherger wrote: > We might look at something like this: https://github.com/hekate-io/hekate > for inspiration (or adoption). In the Golang community

Re: RR DNS name instead of list of server

2019-02-10 Thread Alan Scherger
We might look at something like this: https://github.com/hekate-io/hekate for inspiration (or adoption). In the Golang community Hashicorp has built something similar: https://github.com/hashicorp/go-discover -- this problem set itself probably warrants a multilingual Apache project to help drive

Re: RR DNS name instead of list of server

2019-02-10 Thread rammohan ganapavarapu
Clod providers have api to query instance IP based in tags, actually consul is doing that to form a cluster. On Sun, Feb 10, 2019, 11:40 AM Andor Molnar wrote: > Hi Ram! > > What exactly do you mean by "auto-discovery on cloud instance tags"? > Is there a standard way of doing that? > >

Re: RR DNS name instead of list of server

2019-02-10 Thread Andor Molnar
Hi Ram! What exactly do you mean by "auto-discovery on cloud instance tags"? Is there a standard way of doing that? Regards, Andor On Sat, Feb 9, 2019 at 4:07 PM Norbert Kalmar wrote: > Hi Ram, > > Unfortunately ZK does not support RR DNS name. > As for plans on discovery based on cloud

RR DNS name instead of list of server

2019-02-08 Thread rammohan ganapavarapu
Hi, Does zookeper support RR DNS name in the config instead of giving each server name/ip like what consul does to join the cluster? server.1=server1 server.2=server2 server.3=server3 vs server=example.com where example.com is RR of server1, server2 and server3 And does any one know if zk