Yes before starting the server. When the server starts up, it looks for the 
file myid in the data directory.

-Rakesh

-----Original Message-----
From: David Medinets [mailto:[email protected]] 
Sent: 11 June 2014 18:14
To: [email protected]
Subject: Re: Zookeeper on Docker

That file needs to be in place before zookeeper spins up?


On Wed, Jun 11, 2014 at 8:38 AM, Rakesh R <[email protected]> wrote:

> Hi David,
>
> You can place 'myid' file in server's data directory, as specified by 
> the configuration file parameter dataDir.
>
> For example: dataDir=/home/zookeeper-data/
>
> Keep like /home/zookeeper-data/myid
>
> Regards,
> Rakesh
>
> -----Original Message-----
> From: David Medinets [mailto:[email protected]]
> Sent: 11 June 2014 17:56
> To: [email protected]
> Subject: Fwd: Zookeeper on Docker
>
> Hi. I'm working to containerize Zookeeper with Docker. I think I'm 
> nearly there. But still need to add myid files to each node in the 
> ensemble. If anyone is inclined, I'll appreciate any help or advice. 
> My project is at https://github.com/medined/docker-zookeeper. It 
> starts a three-node zookeeper ensemble and a web-based application to 
> view the contents of the ensemble.
>

Reply via email to