I'd like to set up Cassandra Reaper soon enough, but right now I'm
keeping my cluster repaired with the following self-made script.
I created it by reading official wiki and some of this ML's messaes, but
can anyone confirm I chose the correct options?
(i.e. running "repair -pr" in turn on each and every host)
#!/bin/sh
USER=admin
PASS=password
for h in host1 host2 host3 hos4 host5; do
echo "****************************"
echo "** Host: $h"
echo "****************************"
nodetool -h "$h" -u "$USER" -pw "$PASS" repair -pr | \
egrep -B1 '(Starting repair|Repair command)'
done
--
Lapo Luchini - http://lapo.it/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org