myid value

307 views
Skip to first unread message

William Davis

unread,
Nov 30, 2016, 8:59:25 PM11/30/16
to Redis DB
I've recently created a virtual image that has redis all setup for my environment. When I deploy the image I see the logs fill up with:

[991] 30 Nov 20:56:48.639 * -dup-sentinel master mymaster 10.254.18.162 6379 #duplicate of 10.254.18.160:26379 or e2aa60902f872679221db15c4b414c7d5b3eca7c
[991] 30 Nov 20:56:48.639 * +sentinel sentinel 10.254.18.160:26379 10.254.18.160 26379 @ mymaster 10.254.18.162 6379




I look at my sentinel config file and see

sentinel myid e2aa60902f872679221db15c4b414c7d5b3eca7c

On 2 machines.

I tried manually changing the value but it gets rewritten. I'm not sure how that value is determined and I cannot find any documentation on it.

How do I go about getting redis to regenerate that value?

William Davis

unread,
Nov 30, 2016, 9:15:30 PM11/30/16
to Redis DB
Ok well what I had to do was stop redis-sentinel, delete most of the config, including the myid line, and then start redis-sentinel back up. It generated a new id.
Reply all
Reply to author
Forward
0 new messages