zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Віталій Тимчишин <tiv...@gmail.com>
Subject Re: Zookeeper on short lived VMs and ZOOKEEPER-107
Date Thu, 15 Mar 2012 20:29:54 GMT
As for me this can work in given environment (where is it externally
ensured that old server is down until new one is up), but can't be
introduced as generic zookeeper patch. Simply because without such an
external ensurance, two servers with different IPs and same name can be
recognized by different parts of the ensemble.
BTW: Are there possibility of such a problem now with dynamic DNS and
servers started at different DNS states?
As for me, better option would be to assign IPs to your VMs dynamically.
E.g. when you think given server should become serverA, you should simply
add IPa as an alias IP for it. ARP will ensure you won't have two As and
you don't need to touch the code.

Best regards, Vitalii Tymchyshyn

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