Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-20 Thread Gaurav Pande
Hi Guys, Just to add one more thing which I forgot to ask earlier is there some kind of rollback concept valid for rolling back to single zookeeper and removing the quorum if the quorum did'nt work ? If so what are the steps please. Regards, Gaurav On Tue, 20 Jun, 2023, 01:12 Gaurav Pande,

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Gaurav Pande
Indeed I went through this Admin guide for my version 3.5.8 and iam a bit confused with this attribute standaloneEnabled it doesn't seems to present as a part of Pristine/out of the box config but docs says its value is true by default, what does it exactly govern , more specific is this be part

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Patrick Hunt
It really depends on your requirements. You should read the admin docs for insight and examples, start here: https://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_designing That said, I have a project here which I use for config generation/testing. YMMV: https://github.com/phunt/zkconf

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Gaurav Pande
Okay thanks, and could you share what's the standard config for ensemble as example? I mean what all parameters it includes. Also do I need to add standaloneEnabled=false on these 2 new zk servers config file as a part of initial base ensemble config as by default this parameter value is true?

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Patrick Hunt
On Mon, Jun 19, 2023 at 8:47 AM Gaurav Pande wrote: > Hi Patrick, > > Thanks for guidance here , based on below I only have presently 1 zk node > so if I provision 2 new VM and install same version of zookeeper on them > should I start them as standalone zookeepers first and then make changes

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Gaurav Pande
Hi Patrick, Thanks for guidance here , based on below I only have presently 1 zk node so if I provision 2 new VM and install same version of zookeeper on them should I start them as standalone zookeepers first and then make changes to there server config file? Also what are the valid zk configs

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Patrick Hunt
Two ways to do it come to mind, which I've used in the past: 1) most straightforward is to "clone" the repos for the two new members of the ensemble in their respective configs/datadirs. Just make sure to update the configs appropriately. Including the "myid" for each server. Then restart the

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-19 Thread Gaurav Pande
Hi tison, When you say stop services you mean existing standalone Zk service right? , if that's the case then yes we can. But what's the process ? Also can it be done without re-start I didn't know , can you share both process/steps? On Mon, 19 Jun, 2023, 10:15 tison, wrote: > Can you stop the

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-18 Thread Cody Amen
I’m working on initiating zookeeper at startup on my Apache server. Super rough draft but I don’t know if that helps interfacing your servers. Sent from my iPhone > On Jun 18, 2023, at 10:45 PM, tison wrote: > > Can you stop the services for reconfig, or you need an online reconfig? > >

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-18 Thread tison
Can you stop the services for reconfig, or you need an online reconfig? Best, tison. Gaurav Pande 于2023年6月19日周一 11:22写道: > Hi Guys, > > Any help on this thread please? > > Regards, > Gaurav > > On Sun, 18 Jun, 2023, 20:14 Gaurav Pande, wrote: > > > Hello Guys, > > > > Iam new in this space,

Re: Convert Standalone zookeeper to A 3 node Quorum

2023-06-18 Thread Gaurav Pande
Hi Guys, Any help on this thread please? Regards, Gaurav On Sun, 18 Jun, 2023, 20:14 Gaurav Pande, wrote: > Hello Guys, > > Iam new in this space, I wanted to know process/steps to convert a single > Zk node in standalone presently to a 3 node ZK quorum . > > What steps should I perform to

Convert Standalone zookeeper to A 3 node Quorum

2023-06-18 Thread Gaurav Pande
Hello Guys, Iam new in this space, I wanted to know process/steps to convert a single Zk node in standalone presently to a 3 node ZK quorum . What steps should I perform to add make my standalone Zk node a Quorum of 3 zk nodes? I am using ZK version 3.5.8 presently. Note - I have single