title: Correct shutdown sequence for Redis cluster
body: <p>Suppose I have the following Redis replication setup:</p>
  
  <ul>
  <li>3 machines</li>
  <li>Each machine has a Redis server and a Redis sentinel. </li>
  <li>One of the servers is set as master, the other two are its slaves. </li>
  </ul>
  
  <p>What would be the correct sequence and commands to gracefully shutdown this setup, all while keeping the existing master as master and existing slaves as slaves (meaning, no failover or reconfig should take place)</p>
  
  <p>Thanks. </p>