It is really simpler than you can imagine.  Something like this should be
plenty sufficient.

   for h in ZK_HOSTS
      ssh $h $ZK_HOME/bin/ restart
      sleep 5

This is just something I typed in, not something I checked.  It is intended
to give you the
idea.  I will leave it to you to fix my silly errors.  :-)

Note that you probably don't need to do this to the observers since they
don't need to know about other

On Wed, Jul 21, 2010 at 10:48 AM, Avinash Lakshman <> wrote:

> Any example scripts for the rolling restart technique that anyone would be
> kind enough to share?

Reply via email to