You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by THADC <ti...@gmail.com> on 2018/06/01 14:57:17 UTC
starting multiple zookeeper nodes from one command
Hi,
I have a 3 node cluster. I have been starting my cluster with 3 separate
commands:
$ ./bin/zkServer.sh start zoo.cfg
$ ./bin/zkServer.sh start zoo2.cfg
$ ./bin/zkServer.sh start zoo3.cfg
, is there a way to start all 3 at the same time?
thanks!
--
Sent from: http://zookeeper-user.578899.n2.nabble.com/
Re: starting multiple zookeeper nodes from one command
Posted by Patrick Hunt <ph...@apache.org>.
I created this a while ago, I still use it frequently, YMMV:
https://github.com/phunt/zkconf
Patrick
On Fri, Jun 1, 2018 at 9:25 AM Prasanth Mathialagan <
prasanthmathialagan@gmail.com> wrote:
> I don't quite understand what you meant by services. Are you referring to
> running as system service?
>
> On Fri, Jun 1, 2018, 9:17 AM THADC <ti...@gmail.com>
> wrote:
>
> > Hi thanks for response. Yes, I could use a script, in fact will start the
> > nodes as services. So, maybe they need to remain separate commands since
> > separate services I guess?
> >
> >
> >
> > --
> > Sent from: http://zookeeper-user.578899.n2.nabble.com/
> >
>
Re: starting multiple zookeeper nodes from one command
Posted by Prasanth Mathialagan <pr...@gmail.com>.
I don't quite understand what you meant by services. Are you referring to
running as system service?
On Fri, Jun 1, 2018, 9:17 AM THADC <ti...@gmail.com>
wrote:
> Hi thanks for response. Yes, I could use a script, in fact will start the
> nodes as services. So, maybe they need to remain separate commands since
> separate services I guess?
>
>
>
> --
> Sent from: http://zookeeper-user.578899.n2.nabble.com/
>
Re: starting multiple zookeeper nodes from one command
Posted by THADC <ti...@gmail.com>.
Hi thanks for response. Yes, I could use a script, in fact will start the
nodes as services. So, maybe they need to remain separate commands since
separate services I guess?
--
Sent from: http://zookeeper-user.578899.n2.nabble.com/
Re: starting multiple zookeeper nodes from one command
Posted by Prasanth Mathialagan <pr...@gmail.com>.
Why not use a script to do that?
On Fri, Jun 1, 2018, 7:57 AM THADC <ti...@gmail.com>
wrote:
> Hi,
>
> I have a 3 node cluster. I have been starting my cluster with 3 separate
> commands:
>
> $ ./bin/zkServer.sh start zoo.cfg
> $ ./bin/zkServer.sh start zoo2.cfg
> $ ./bin/zkServer.sh start zoo3.cfg
>
> , is there a way to start all 3 at the same time?
>
> thanks!
>
>
>
> --
> Sent from: http://zookeeper-user.578899.n2.nabble.com/
>