Waving sway sprinkle write hundreds of words, suddenly found himself is written no others good, original or reprint it.
I will write a few of the better blog address to everyone, and then write some of their own problems and solutions to solve the good.
http://blog.csdn.net/pi9nc/article/details/17735653
Http://www.cnblogs.com/Xrinehart/p/3502213.html
According to this two-bit blog, you can fully understand the Redis and configuration of the Master and Sentinel.
------------------------------------------------Gorgeous separator line---------------------------------------------------
Now, let's talk about the problems I've encountered. (The following are not updated regularly)
1, the allocation of master and subordinate, to maintain the reids.conf consistent, and on this basis, will be from the redis.conf file plus slaveof.
2, when configuring sentinel.conf files, remember to add a password (if any). Paste one of my configuration content.
Daemonize Yes-background run
logfile "/data/logs/sentinel.log"--sentinel log output File
Sentinel Monitor master178 192.168.3.178 6379 1
Sentinel auth-pass master178 mima123
Sentinel down-after-milliseconds master178 5000 Sentinel Failover-timeout master178 900000
Sentinel Parallel-syncs master178 2
3, sentinel.conf file, only need to configure the master. You do not need to configure the from.