Prepare for three virtual, all CentOS6.5 x86_64Note that the port consistency is maintained during the configuration process.Director (Eth0 192.168.1.189, VIP eth0:0: 192.168.1.18) Director 78Real Server1 (eth0 192.168.1.207, VIP lo:0:192.168.1.18)
1.echo "65535" >/proc/sys/net/ipv4/ip_local_port_range set up an out-of-band available port range indicates that the port can be used 65535-1024 (0~1024 is protected)echo 1 >/proc/sys/net/ipv4/tcp_tw_reuse set time_wait connection reuse default
The DR modelScalable Cache ServiceDr Core:The response process does not go through the DirectorDr Model Highlights:A.There are 3 ways to achieve this: only allow Director to respond to Router's dynamic ARP broadcast requests for VIPs,prevent VIP on
For convenience, I made another diagram based on the official schematic diagram, as shown in: VS/DR architecture:
I will explain the principle of LVS-DR based on this schematic diagram and specific examples, including the data packet, data
In Dr mode, both the LVS host and the actual server have a NIC connected to the same physical network segment.
IP Address Allocation
VIP: 10.10.3.170
Rip1: 10.10.3.140
Rip2: 10.10.3.141
1. Install the required dependency package
yum install -y wget
Read the platinum file written by the sibling in the 2.4 kernel.
IptablesAdd a module and try it in the 2.6 kernel. After one and a half days of hard work, refer to the platinum article,
Finally succeeded, write it down and share it with the Cu guys,
Linux TCP/IP tuning parameters all TCP/IP tuning parameters are in the/proc/sys/net/directory. for example, the following are some of the most important optimization parameters, which are followed by their meanings: www.2cto.com 1.
Build an ipsec/xl2tpd VPN in centos 6.5
In this article, yum is installed directly, saving you trouble.
I. Installation (a command is fixed)
Yum install openswan ppp xl2tpd
Like the source code installation of friends can go to the http://pkgs.org
I. IntroductionLinux Virtual Server (LVS) is a Virtual Server in Unix-like systems and one of the most outstanding projects contributed to open-source organizations in China. LVS exists as a front-end (ctor) in Unix-like systems and is also called a
On-line server clean up almost, ready to do a server layered architecture, is to separate the LNMP environment, using the LB cluster, first point theory.Load balancing lb cluster is mainly concerned with the concurrency processing power, commonly
Common open source software for load balancing: Nginx, LVS, keepalivedCommercial hardware load devices: F5, Netscale1, LB, LVS IntroductionLB cluster is a shorthand for the load balance cluster, and translation into Chinese is a loading balancing
This article mainly uses three scripts to implement the LVS configuration. Script 1:lvs.sh is configured on the load Balancer side, and script 2:realserver.sh is configured on the backend real server server. Script 3:check_lvs.sh is a script used to
One, Introduction
LVS (Linux virtual Server) is a virtual server in the Unix-like system and is one of the best projects in China to contribute to open source organization. LVS in the Unix-like system
is as a front-end (Director)
One, as the figure
Second, install Tomcat (JDK installation reference http://blog.csdn.net/u011254180/article/details/77893457)
Installation of the TAR format (take apache-tomcat-7.0.52.tar.gz as an example)1 upload tomcat to Linux2 Extract Tomcat
Set up a Web server, in the actual site running, perhaps the performance of the server will not be satisfactory, this needs to analyze specific server performance bottlenecks and find a solution to achieve an ideal load state, the Apache hardware
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.