alias redis-cli='/export/product/redis/3.2.1/bin/redis-cli'
./redis_trib_wrapper.sh check $(hostname):50000 | grep M:
./redis_trib_wrapper.sh check $(hostname):50000 | grep -B2 "replicates 1237847c8f51f14ce3361818f0acd0ad746907dc" grep "S:"
redis-cli -h slave -p 50000 DEBUG SEGFAULT ./redis_trib_wrapper.sh check $(hostname):50000
redis-cli -h slave1 -p 50000 DEBUG SEGFAULT redis-cli -h slave2 -p 50000 DEBUG SEGFAULT
./redis_trib_wrapper.sh info
Résultat attendu : le cluster rest accessible, mais il manque un shard, il doit etre rebooter et ezventuellement reshardé
redis-cli -h 10.98.67.182 -p 50000 DEBUG SEGFAULT redis-cli -h 10.98.68.16 -p 50000 DEBUG SEGFAULT redis-cli -h 10.98.68.14 -p 50000 DEBUG SEGFAULT