Discover 4g load balancing router, include the articles, news, trends, analysis and practical advice about 4g load balancing router on alibabacloud.com
to the virtual IP address, also can be called LVS Cluster service IP, in the DR, Tun mode, the packet is returned directly to the user, so, on the director server and on each node of the cluster need to set this address. This IP is typically bound on a loopback address, such as lo:0, on real server, and, similarly, on director server, virtual IP is bound on a true network interface device, such as eth0:0.Each real server can be within the same network segment, it can be a separate network segme
Technology mainly involved ';
IP load Balancing: Is the most efficient in the implementation of load balancing technology, including three technologies, Vs/nat Vs/yun, VS/DR
including Nat a group of servers to constitute a high-performance, highly available virtual server, the problem exists, network services asymmetri
subnet problem
Through these articles, including this blog, you have learned the functions, principles, features and working modes of Nginx and LVS respectively. In the following article, we will combine these load layer technologies to introduce the installation and configuration of Nginx + keepalived, LVs + keepalived, LVs + keepalived + nginx.(I this Month "Perseverance" award has been received, laugh one: haha ha) Copyright NOTICE: This arti
row in Set (0.00 sec) Error:no query specified3) Use Navicat connection Mycat, operation mode and connection physical MySQL library consistent, user admin, password admin, Port 8066
After the connection is successful, you will see the TestDB database and the test data table
Add some data to the test table to save
Perform a SELECT * from test to view the test operation and see that the data is not updated
Cause: Mycat Query Sq is routed to B, so the result set read is incon
A brief introduction of LVS
LVS is the short name of Linux virtual server, the Linux VM, a free software project initiated by Dr. Zhangwensong, and its official site is www.linuxvirtualserver.org. Now that LVS is already part of the Linux standard kernel, Before the Linux2.4 kernel, the use of LVS must be recompiled to support the LVS function module, but from the Linux2.4 kernel, has been completely built in the LVS function modules, no need to make any patches to the kernel, you can directly
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
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.
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]
/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
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
to accept the packet. Because the request packet IP is right.But at this time LVs did not open snat, that is, the conversion of the packet, do not need to rely on iptables, but the LVs themselves to complete. Similar to multiple groups of Dnat.Personal Summary: Many of the forum's information are personal views, lack of rigor. Cisco and Linux are many things that are interlinked.This article is from the "[email protected]" blog, please be sure to keep this source http://ribble.blog.51cto.com/38
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
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
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
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.