We have demonstrated in the previous recipe how to set up an environment of one Redis master and two slaves, which is monitored by three Sentinels. In this recipe, we will do a couple of experiments in this environment and verify the Sentinels are doing their jobs correctly. We will also explain the master failover process in detail.
Testing Sentinel
Getting ready…
You must finish the setup in the Setting up Sentinel section of this chapter. Additionally, you can refer to the table shown in the Getting ready section of the previous recipe, Setting up Sentinel.