The working principle of the master-slave sentinel
https://blog.csdn.net/hayre/article/details/78753683
http://www.redis.cn/documentation.html
The master-slave sentinel builds actual combat
The requirements are as follows:
Post a super ugly picture
1. Install redis + sentinel
http://www.cnblogs.com/lazyball/p/8946064.html