Make Sentinel monitor more than on master in the same box

696 views
Skip to first unread message

Andrés Rangel

unread,
Dec 10, 2012, 1:17:16 PM12/10/12
to redi...@googlegroups.com
Hi,
I tried sentinel and I really like it.
But I don't know if it can be used to monitor multiple instances of redis in the same box.

iI have 4 instances running on one box, they are all masters, and then another 4 instances running in another box, that are slaves of the  first box .

If I wanted to use sentinel to monitor them, I would have to have 4 sentinel instances running on each box, instead of just having one on each monitoring all of the instances.

What would be the best usage for my case?

thanks

--Andres

Ankur Mathur

unread,
Feb 27, 2014, 11:58:33 AM2/27/14
to redi...@googlegroups.com
Did you find an answer to your question? I am also facing the same problem. My application needs to stay in touch with thee sentinels and reconfigure itself - having multiple groups of sentinels is a bit messier than I had hoped.

Salvatore Sanfilippo

unread,
Feb 27, 2014, 4:02:07 PM2/27/14
to Redis DB
Hello, a single Sentinel instance can monitor any number of master-slave sets.
Just use multiple instances of "sentinel monitor" config directives.

Salvatore
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to redis-db+u...@googlegroups.com.
>
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Salvatore 'antirez' Sanfilippo
open source developer - GoPivotal
http://invece.org

To "attack a straw man" is to create the illusion of having refuted a
proposition by replacing it with a superficially similar yet
unequivalent proposition (the "straw man"), and to refute it
-- Wikipedia (Straw man page)
Reply all
Reply to author
Forward
0 new messages