RedisInsight / RedisDesktopManager

https://resp.app
Other
22.92k stars 3.27k forks source link

Full Redis Sentinel support #3399

Open Bonkebo opened 9 years ago

Bonkebo commented 9 years ago

How to connect to remote Redis Sentinel?

uglide commented 9 years ago

Hello @Bonkebo, Redis Sentinel is not supported yet in RDM.

Bonkebo commented 9 years ago

@uglide ,thanks for your reply.

uglide commented 9 years ago

@Bonkebo Could you please describe which kind of support you want to see in RDM?

Bonkebo commented 9 years ago

@uglide I hope it can list Master and Slave,also can point out which one is does not work. how do you think?

uglide commented 9 years ago

@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:

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:

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?

uglide commented 9 years ago

@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
...
Bonkebo commented 9 years ago

yeah,it makes sense for me.I do not very known about the network topology,but think it is enought for me.

gordillo-ramon commented 8 years ago

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.

DJFliX commented 8 years ago

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!

kanevbg commented 3 years ago

+1