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