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
load, 1 for multi-network card master standbyThe Miimon is used for link monitoring. For example: miimon=100, then the system every 100MS monitoring link connection status, if one line is not connected to another line; Mode value indicates the mode of operation, he has 0,1,2,3 four modes, commonly used for 0, 12 kinds.The mode=0 indicates that load balancing (ro
-2R1 (Config-int-range) #channel-group 1 mode onConnecting the switch g0/1-2 to the corresponding port on the server, the bandwidth is significantly increased after testing
Another important reference material:
Linux dual NIC Bonding
is divided into three steps:
1, create BOND0 network card:
Vim/etc/sysconfig/network-scripts/ifcfg-bond0
Add the following:
Device=bond0
bootproto=none
onboot=yes
network=192.168.0.0
netmask=255.255.255.0
IPADDR= 192.
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
Alteon is used in the use of dual-machine master and Standby mode of work, the corresponding group network according to different ways are divided into a direct-connected group network, single-arm network of two pairs of networks and triangular transmission network, the following in turn, detailed introduction. 1.1Direct Connect NetworkingThe network topology diagram is as follows: ( Standard Architecture )650) this.width=650; "Src=" Http://s1.51cto.c
It is easy to use MySQL-proxy to implement read/write splitting and load balancing in MySQL. However, large-scale processing still needs to be improved in terms of performance. The main configuration steps are as follows:
1.1. Install mysql-proxy
MySQL proxy is such a middle-layer proxy. In short, MySQL proxy is a connection pool that forwards connection requests from foreground applications to the backgro
supports Virtual Hosts, but it is easy to configure and has a very good server health check function. When the back-end server of the proxy fails, haproxy will automatically remove the server, and then automatically add the server after the fault is recovered. The new 1.3 introduces frontend, backend, and frontend to match rules based on any HTTP request header content, and then directs the request to the relevant backend.
Ii. Load
Project Environment:
Both Windows Server 2008 are dual network adapters
IP Address
192.168.19.100 (extranet 1) 99.99.99.99 (intranet 1 dedicated)
192.168.19.101 (extranet 2) 99.99.99.100 (intranet 2 dedicated)
Where 192.168.19.100 is primary DNS 101 is backup DNS
Virtual IP Address 192.168.19.125
Ideas:
First, load Balancing Services (NLB) are installed o
script to set up a firewall, you need to add the following rules
Iptables-a output-o eth0-d 224.0.0.18-j accept iptables-a output-o eth0-s 224.0.0.18-j Accept Iptables-a input-i eth0-d 224.0.0.18-j Accept Iptables-a input-i eth0-s 224.0.0.18-j Accept
5. Summary
Keepalived the dual-machine hot standby via virtual routing, which has some advantages over other schemes.
Because it is a fixed master-slave hot standby, this schem
Mmm is used to monitor and Failover the mysql master-slave replication Architecture Based on Information Detection Methods. mmm can achieve load balancing. 100% of data availability mmm involves check items for server accessibility and service accessibility, the replication thread can
Mmm is used to monitor and Failover the mysql master-slave replication Architecture Based on Information Detection Methods.
server group. The layer-4 mechanism is to check the status of TCP port numbers to determine whether a server is faulty. if the server fails, it is removed from the server group. The layer-5 mechanism is to check whether a server application runs properly according to user settings. if the application is abnormal, remove it from the server group. 3,
2.3 Practical functions
Keepalived + lvs is mainly used for RealServer health check and failover implementation between the MASTER and BACKUP of the
MySQL dual-host master architecture, coupled with Load Balancing Devices, can achieve high performance and high availability of mysql database load balancing, Server Load balancer equipment can be based on algorithms to database
M
, you only need to add:
Iptables-I RH-Firewall-1-INPUT-d 224.0.0.18-j ACCEPT
2. If you use a script to configure a firewall, add the following rules:
Iptables-a output-o eth0-d 224.0.0.18-j ACCEPT iptables-a output-o eth0-s ACCEPT-j ACCEPT iptables-a input-I eth0-d 224.0.0.18-j ACCEPT iptables -a input-I eth0-s 224.0.0.18-j ACCEPT
5. Summary
Keepalived implements dual-machine Hot Standby through virtual routing, which is superior to other solut
This article is mainly about the simplest solution--dns polling.DNS PollingMost domain name registrars support the resolution of multiple A records, in fact, this is the DNS polling, the DNS server will resolve the request in accordance with the order of a records, one by one assigned to a different IP, so that the simple load balancing is completed.Advantages
Basically no cost, because often domai
The company recently had a project because users are concerned that a single machine can not afford to use the maximum number of users, the application cluster requirements. We designed the application cluster architecture according to the application situation.
The architecture diagram is as follows:
Features for deploying application clusters:
1. Front-end Agent load balancing
Because the user envir
Tags: init.d aio software server amp Mask self-wget multiple turn from MySQL High Availability: mysql+lvs+keepalived load balancing and failover-kk--focus Data-Blog channel-csdn.nethttp://blog.csdn.net/kk185800961/article/details/51115264# System Information:
192.168. 1.152 5.6 5.6. A
192.168. 1.153 5.6 5.6. A
VIP 192.168. 1.150 MySQL primary master synchronization is set Au
At present, the global application of a wide range of load balancing equipment for the United States F5. F5 in China in the end of 2000, in the domestic industry, F5 load balancing products have become the mainstream load balancing
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.