Sentinel Operations Monitoring for Redis

Source: Internet
Author: User

One: Sentinel Operations monitoring

Sentinel continuously communicates with master to obtain the slave information for master.Monitor the status of master and slave if a slave fails, directly notify Master to remove the slave.If master fails, which is based on slave priority (configurable), select 1 slave to doNewMaster, put other slave-->NewMaster Questions: Sentinel communicates with Master if a time-out occurs because the master IO operation is frequentat this, that Master failed, very arbitrary.Solve: Sentnel allows multiple instances to guard 1 master, and when n sets (n can be set) Sentinel considers master invalid, it officially fails.Sentinel option Configuration Port26379#PortSentinel Monitor MyMaster 6379 2,Name of the host (not heavy),When 2 Sentinel instances are considered master invalid,official expiration Sentinel down-after-milliseconds MyMaster 30000the number of milliseconds after the connection does not reach the master thought to disconnect Sentinel can-failover MyMaster Yes#whether Sentinel is allowed to modify slave->master. If no, it can only be monitored, not authorized to modify.Sentinel Parallel-syncs MyMaster 1, modifying several slave at once to point to the new master.Sentinel Client-reconfig-script MyMaster/var/redis/,#scripts that can be triggered when you reconfigure the new master,new slave procedure

Sentinel Operations Monitoring for Redis

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: 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.