MySQL High availability Explore (ii) Lvs+keepalived+mysql single-point write master synchronization high Availability scheme

Source: Internet
Author: User

global_defs { notification_email {       [email  Protected]}notification_email_from [email protected]smtp_server smtp.mail.sina.comsmtp_connect_ Timeout 30router_id lvs1} vrrp_sync_group test {group {loadbalance}} vrrp_ Instance loadbalance {state masterinterface eth0lvs_sync_daemon_inteface eth0virtual_ Router_id 51priority 180advert_int 1 authentication {auth_type passauth_pass  1111} virtual_ipaddress {192.168.100.101 dev eth0 label eth0:1}}  Virtual_server 192.168.100.101 3306 {delay_loop 6lb_algo rrlb_kind drpersistence _timeout 20protocol tcpsorry_server 192.168.100.48 3306real_server 192.168.100.47  3306 {weight 3tcp_check {connect_timeout 3nb_get_retry 3delay_before_retry  3connect_port 3306}}}


This article is from the "light meal state-Octopus" blog, please make sure to keep this source http://daiyiyi.blog.51cto.com/2358701/1770649

MySQL High availability Explore (ii) Lvs+keepalived+mysql single-point write master synchronization high Availability scheme

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.