Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Is it possible to setup Redis Sentinel nodes to also switch on and off AOF/RDB snapshots? Is it correct setup?

$
0
0

I'd like to setup 3 Redis Sentinel nodes as follows:

  • they run on the same nodes of a 3 Redis instances: Master (M), Slave (R1), Slave (R2);
  • M1 uses AOF
  • R1 uses RDB
  • R2 uses RDB

I'd like to have Sentinel do the following upon failure of M:

  • switch RDB off for promoted slave (R1 or R2);
  • switch AOF on for promoted slave (R1 or R2);
  • switch RDB on for failing master (M);
  • switch AOF on for failing master (M).

The reasons behind this setup are: * have snapshots being taken on slaves to keep master's performances high * have sentinel to implement automatic failover and perform maintenance tasks on Redis instances without downtime

Is it possible? Is it correct?

Thanks


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>