Discover cisco load balancing router, include the articles, news, trends, analysis and practical advice about cisco load balancing router on alibabacloud.com
In large Web applications, databases often become a bottleneck for concurrent access. to effectively solve the bottleneck of concurrent access, the master-slave mode of multiple databases is used to increase the concurrent access to the web.The master-slave mode is used for data synchronization.Sqlrelay solves connection pool problems and implements Load Balancing for read/write splitting.Sqlrelay is config
message, and only routers in the master state can send VRRP messages .
The lamp platform is built. Please refer to the previous article if necessary. Yum is fast, and wants to demonstrate keepalived.Primary server 192.168.1.111 eth0Standby server 192.168.1.10 eth0VIP 192. 168.1.222Yum-y Install gcc*Yum install-y OpenSSL openssl-devel poptpopt-devel libnl libnl-devel kernel-develMkdir/usr/local/keepalivedYum Install Popt-devel-yMV desktop/keepalived-1.2.2.tar.gz/home/cd/home/TAR-ZXVF keepalive
1 , LVS , NAT Introductionlvs Yes linux Virtual Server in the real world Span style= "Color:rgb (51,51,51)" >b/s Structure of the network application in the load balancer to use, working in 7 Network layer in the Layer network model, which is usually said to be ip layer, because data processing is in linux nat Yes network addresstranslation , the abbreviation for network address translation, with the help of nat , Private (reserve
Configure mysql+lvs+keeplived to achieve load balancing for MySQL read operations
Environment:
Test1192.168.46.131master
Test2192.168.46.130slave Backup Test Library
TEST3 Scheduler
1, installation and configuration keepalived
First installs the Keepalived software on the node test1, the Test2, the software installation is very simple.
[Root@test1]# yum install-y openssl-devel [root@test1 ~]# wget]
Description
Operating system: CentOS 5.X 64-bit
Web server: 192.168.21.127, 192.168.21.128
Sites: Bbs.111cn.net and Sns.111cn.net deployed on two Web servers
To achieve the purpose:
Add two servers (main main mode) to achieve Web server load balancing through haproxy+keepalived
Architecture Planning:
Haproxy server: 192.168.21.129, 192.168.
/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s4.51cto.com/wyfs02/m01/8c/08/wkiom1hfelzx1wgraaawcrwo834711.png-wh_500x0-wm_3-wmp_4-s_4110980461.png "title = "999.png" alt= "Wkiom1hfelzx1wgraaawcrwo834711.png-wh_50"/>So first put aside these questions do not say, first of all, say the principle, nginx reverse proxy, the client is not aware of the external network server exists, that is, he just follow the DNS server resolution,
In previous experiments, manual configuration was used to synchronize data between two mysql database servers. mysql-cluster is used to simplify the configuration process and expand a large number of nodes with ease, for more information about mysql-cluster, see the official mysql website ?? Long? P plan: LD1 (Server Load balancer): 192
In previous experiments, manual configuration was used to synchronize data between two mysql database servers. mysql
Keepalived
Due to the use of mysqlcluster in the production environment, high availability load balancing is required, and keepalived+haproxy is provided here for implementation.
The main function of keepalived is to realize the fault isolation of the real machine and the failover between load balancer. Can be exchanged at the 3,4,5 layer. It is implemented thr
part can be modified on the prepared LVS:State BACKUPPriority The above section is the end of the LVS machine configurationThe following is a configuration script on the Web machine, primarily binding the VIP and shutting down the ARP response#!/bin/bashvip=192.168.1.20. /etc/rc.d/init.d/functionsCase $ inStartIfconfig lo:0 $VIP netmask 255.255.255.255 broadcast $VIPRoute add-host $VIP Dev lo:0Echo 1 >/proc/sys/net/ipv4/conf/lo/arp_ignoreEcho 2 >/proc/sys/net/ipv4/conf/lo/arp_announceEcho 1 >/p
Description
Operating system: CentOS 5.X 64-bit
Web server: 192.168.21.127, 192.168.21.128
Sites: Bbs.111cn.net and Sns.111cn.net deployed on two Web servers
To achieve the purpose:
Add two servers (main main mode) to achieve Web server load balancing through nginx+keepalived
Architecture Planning:
Nginx server: 192.168.21.129, 192.168.21.130
This paper applies to TL-ER6120 V1.0, TL-ER5120 V1.0, TL-ER5520G V1.0, TL-R483 V3.0, TL-R478 + V5.0, TL-WVR300 V1.0)Gamers of online games know that using the telecom line to go to the Netcom game server will be a "card" (high latency), and vice versa, using the Netcom line to go to the telecom game server will also be "card ", the reason is the access bottleneck between China Telecom and China Netcom. To solve this problem, you can select a multi-WAN port
(This article applies to TL-ER6120 V1.0, TL-ER5120 V1.0, TL-ER5520G V1.0, TL-R483 V3.0, TL-R478 + V5.0, TL-WVR300 V1.0)Multi-WAN port routers can serve as load balancing and line backup, and can expand bandwidth to improve network performance. More and more Internet cafes and enterprises choose multi-WAN port routers as egress gateways to connect to the Internet.The following describes how to configure and
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.