Redis master configuration and Sentinel configuration

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.