On Fri, Jun 19, 2015 at 1:59 PM, Brice Figureau <brice...@daysofwonder.com> wrote:
> Hi, > > What would be the correct procedure to perform an automated rolling > upgrade of an akka cluster (running a dozen of singleton and sharding)? > > Is it enough to: > 1) "leave" one node > 2) wait a bit > 3) restart the node JVM > 4) do the same on another node > That sounds good to me. For step 2 and 3 you can subscribe to MemberRemoved and restart the jvm when you see MemberRemoved with the selfAddress. In 2.4-M1 there is a convenience method for this: Cluster(system).registerOnMemberRemoved > > And should the seed nodes be treated differently? > Make sure that the list of seed nodes of the restarted node contains some of the running nodes, so that it joins the existing cluster. Cheers, Patrik > -- > Brice Figureau > My Blog: http://www.masterzen.fr/ > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: > https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.