38 cards
View
Posted over 2 years ago. Visible to the public. Repeats. Linked content.

Redis Sentinel manual failover

  1. Connect to your sentinel instance:

    Copy
    redis-cli -p <SENTINEL-PORT>
  2. Have a look at the current master and the available slaves

    Copy
    SENTINEL masters
    Copy
    SENTINEL slaves <master name>
  3. Force a failover

    Copy
    SENTINEL failover <master name>
  4. After some seconds you can have a second look at the current master:

    Copy
    SENTINEL masters

    The IP should have changed.

Owner of this card:

Avatar
Claus-Theodor Riegg
Last edit:
over 2 years ago
by Andreas Herz
Keywords:
ops
This website uses cookies to improve usability and analyze traffic.
Accept or learn more