Problem with High Availability of Redis Sentinel in Windows

37 views
Skip to first unread message

Tarun Khurana

unread,
Nov 16, 2016, 4:02:32 AM11/16/16
to Redis DB
Hi folks,

I am running into a problem with Sentinel. When I issue the command SENTINEL slaves mymaster it doesn't return anything whereas I have 2 slaves. If I run the info command again after few minutes it displays master0:name=redisvm,status=sdown,address=10.0.17.4:6379,slaves=0,sentinels=1 Can you please offer any ideas.

Sentinel Configuration:
sentinel myid 87a5f828aeb1e2cb5d8b2a4bbf1c5e46da2bca21
# Generated by CONFIG REWRITE

port 26379

dir "C:\\Program Files\\Redis"
logfile "sentinel.log"
sentinel monitor redisvm x.x.x.x 6379 2
sentinel down-after-milliseconds redisvm 60000
sentinel failover-timeout redisvm 60000
sentinel config-epoch redisvm 0

sentinel leader-epoch redisvm 18
sentinel current-epoch 18


# Server
redis_version:3.2.100
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:dd26f1f93c5130ee
redis_mode:sentinel
os:Windows
arch_bits:64
multiplexing_api:WinSock_IOCP
process_id:3724
run_id:51a16b6718dc9e8abf8dff77d5738125d5ccea3f
tcp_port:26379
uptime_in_seconds:26
uptime_in_days:0
hz:10
lru_clock:2863559
executable:C:\Program Files\Redis\"C:\Program Files\Redis\redis-server.exe
config_file:C:\Program Files\Redis\sentinel-redis-cache.conf

# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# CPU
used_cpu_sys:0.00
used_cpu_user:0.06
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

# Stats
total_connections_received:1
total_commands_processed:1
instantaneous_ops_per_sec:0
total_net_input_bytes:28
total_net_output_bytes:1366
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
migrate_cached_sockets:0

# Sentinel
sentinel_masters:1
sentinel_tilt:0
sentinel_running_scripts:0
sentinel_scripts_queue_length:0
sentinel_simulate_failure_flags:0
master0:name=redisvm,status=ok,address=x.x.x.x:6379,slaves=0,sentinels=1
Reply all
Reply to author
Forward
0 new messages