I use cron.  On one box I just do:

for n in node1 node2 node3 node4 ; do
   nodetool -h $n repair
   sleep 120
done

A lot easier then managing a bunch of individual crontabs IMHO
although I suppose I could of done it with puppet, but then you always
have to keep an eye out that your repairs don't overlap over time.

On Mon, Aug 27, 2012 at 4:52 PM, Edward Sargisson
<edward.sargis...@globalrelay.net> wrote:
> Hi all,
> So nodetool repair has to be run regularly on all nodes. Does anybody have
> any interesting strategies or tools for doing this or is everybody just
> setting up cron to do it?
>
> For example, one could write some Puppet code to splay the cron times around
> so that only one should be running at once.
> Or, perhaps, a central orchestrator that is given some known quiet time and
> works its way through the list, running nodetool repair one at a time (using
> RPC?) until it runs out of time.
>
> Cheers,
> Edward
> --
>
> Edward Sargisson
>
> senior java developer
> Global Relay
>
> edward.sargis...@globalrelay.net
>
>
> 866.484.6630
> New York | Chicago | Vancouver  |  London  (+44.0800.032.9829)  |  Singapore
> (+65.3158.1301)
>
> Global Relay Archive supports email, instant messaging, BlackBerry,
> Bloomberg, Thomson Reuters, Pivot, YellowJacket, LinkedIn, Twitter, Facebook
> and more.
>
>
> Ask about Global Relay Message — The Future of Collaboration in the
> Financial Services World
>
>
> All email sent to or from this address will be retained by Global Relay’s
> email archiving system. This message is intended only for the use of the
> individual or entity to which it is addressed, and may contain information
> that is privileged, confidential, and exempt from disclosure under
> applicable law.  Global Relay will not be liable for any compliance or
> technical information provided herein.  All trademarks are the property of
> their respective owners.



-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

Reply via email to