Implement the DR Mode of LVs one. Experimental environmentThree machines:
Director node: (ENS33 192.168.10.53 VIP ens33:0 192.168.10.80)
Real Server1: (Ens33 192.168.10.51 VIP lo:0 192.168.10.80)
Real server2: (Ens33 192.168.10.52 VIP lo:0 192.168.10.80)
Two. Installation and configuration 1. Configure two real server servers(1) Configure virtual IP address (VIP)The VIP address is used only as the source address for sending
Our LVS-DR cluster is built with an LVS scheduler, and the entire cluster will be paralyzed if the scheduler fails in the production environment. The two-machine hot standby of the LVS Scheduler by keepalived can solve this problem very well. Keepalived uses the VRRP virtual Routing Redundancy Protocol to realize the multi-machine hot-standby function of Linux server in the way of software.Case topology: This lvs+keepalived cluster requires two Nginx
has established, and when a request is dispatched to a server, its number of connections increases by 1, and its number of connections is reduced by one when the connection is aborted or timed out.Four, weighted minimum connection scheduling (Weighted least-connection scheduling) WLCThe weighted minimum connection scheduling (Weighted least-connection scheduling) algorithm is a superset of the minimum connection schedule, which is the default algorithm for Ipvsadm. Each server uses correspondi
A new type of genetic scanning antivirus software. More than 22000 types of viruses and Trojan horses can be prevented and cleared, including various highly complex and variant viruses. It was once the first anti-virus software to eradicate the onehalf virus in 1994 and is well known in Europe. Dr. Web can quickly respond to various word viruses and isolate and clarify them.
What's new in
One, source code pathHttps://github.com/weiganyi/dr-helperSecond, the interfaceTo access the Web service through the browser, you can see the interface such as the following:Adt-bundle compiles project build dr-helper.apk. After installation, you can see the application interface such as the following:Third, backgroundAfter the birth of Java is mainly used for
LVS-DR + Keepalived Web Server dual-host hot standby configuration
Keepalived is a software similar to the layer3, 4 7 switching mechanism, that is, layer 3rd, layer 4th, and layer 7th switching. Keepalived is automatically completed without manual interference.
Scheduling Server:It must be done on the basis of LVS.
Reference https://www.bkjia.com/Linux/2018-03/151514.htm
One Network Card:Vmnet1: 192.168.8
First, the environment introduction:lvs_master:192.168.1.18lvs_backup:192.168.1.19web1:192.168.1.16web2:192.168.1.17vip:192.168.1.20Second, installation:Install the lvs+keepalived on both LVS:Yum Install Lvsadm keepalived-yInstalling Nginx on two Web servers (installation configuration skipped)Configuration keepalived:Configuration on main LVS:Vim/etc/keepalived/keepalived.conf! Configuration File for KeepalivedGlobal_defs {Notification_email {[email
LVS topic: NAT and Dr Model for Web load Balancing
Objective:
in the previous article we talked about the basic concepts of LVS and the experimental principles and processes of the corresponding model, this article we mainly use lvs provide load balancing for Web services
NAT implements the experimental topology650) this.width=650; "s
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.