zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Gutiérrez Segalés <...@itevenworks.net>
Subject Re: ZK + dynamic config + EC2
Date Sat, 21 Nov 2015 19:28:15 GMT
Hi,

On 21 November 2015 at 10:16, Oboturov, Artem <artem.oboturov@zalando.de>
wrote:

> Hi
>
> I was looking at the ZK 3.5.x series new feature - dynamic configuration.
> As an example, we could have an EC2 auto scaling group for 3 ZK nodes. When
> one of them goes down, a new one would be spawned, but its IP could be
> different. We could query EC2 to get all instances from group and generate
> a config for ZK to take all currently running servers as part of ZK
> cluster, and then run an update of cluster configs for all existing ones
> using dynamic config feature. Would this strategy work? Are there any
> alternatives?
>

Yeah, that should work. You'd have to call reconfig() to remove the old
server
and add the new one.


-rgs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message