Open Bonkebo opened 9 years ago
Hello @Bonkebo, Redis Sentinel is not supported yet in RDM.
@uglide ,thanks for your reply.
@Bonkebo Could you please describe which kind of support you want to see in RDM?
@uglide I hope it can list Master and Slave,also can point out which one is does not work. how do you think?
@Bonkebo Ok, so in connections tree we will have following:
▤ redis-sentinel-foo
| - ▤ redis-server-1 (master) [up]
| - ▤ redis-server-10 (slave) [up]
| - ▤ redis-server-11 (slave) [up]
| - ▤ redis-server-12 (slave) [up]
| - ▤ redis-server-13 (slave) [down]
| - ▤ redis-sentinel-101
| - ▤ redis-sentinel-102
| - ▤ redis-sentinel-103
| - ▤ redis-server-1 (master) [down]
Items like ▤ redis-server-10 (slave) [up]
will have context menu with items:
SENTINEL SET
command)SENTINEL REMOVE
command)When we click on such items we connect to this redis-server as usual (db list should be loaded).
Items like ▤ redis-sentinel-101
will have context menu with items:
SENTINEL MONITOR
command)When we click on such items Events log of this sentinel should be loaded (read-only live log with all events received via PSUBSCRIBE *
command).
Does it make sense for you? What should be added to this implementation?
@Bonkebo Which network topology do you use? Is it enought to do following in RDM?
RDM <------ SSH Tunnel -----> redis-sentinel-foo
RDM <------ SSH Tunnel -----> redis-sentinel-foo host <------TCP Socket ------> redis-server-1
RDM <------ SSH Tunnel -----> redis-sentinel-foo host <------TCP Socket ------> redis-server-10
...
yeah,it makes sense for me.I do not very known about the network topology,but think it is enought for me.
Hi. I can be interested in this feature too. Can you give me some details to beta-test it when it is ready?
Many thanks.
For me the most important feature is that we can connect to a Sentinel, and we're using a Redis-Instance that is writable. Current situation:
Desired situation:
I've read the above, and while I agree that everything proposed above is a great addition to RDM, I also believe that maybe the core functionality (auto-select a R/W server using sentinel) would be the first step, and the other steps (GUI tree representation of sentinel and masters/slaves as well as GUI commands that trigger sentinel commands) would follow in later releases. But that's just my 2 cents :).
But regardless of what you think of my proposal, I added a (small) bounty anyway! Thanks for your great work on the project!
+1
How to connect to remote Redis Sentinel?