Some LVS experiment configurations, tools and solutions, and lvs experiment configuration Solutions
Recently, we have conducted some LVS configuration and solution Verification experiments to record some configurations, tools, and specific solutions
The specific process is to use nginx for load balancing. You can place nginx and the host on the same server or separately. However, you must specify that RS is the address of the nginx host. For directly configuring the virtual address on the nginx
OverviewWrite an iptables/NetfilterThe general steps of the matching module are as follows:
Find the specific situation you want to match.
Write part of the user space program used to accept parameters.
Write the kernel space
Nginx error optimization document
1. A large number of time_wait Cases
View:
Netstat-N | awk '/^ TCP/{++ s [$ NF]} end {for (a in S) printa. s [a]}'
Closed: No connection is active or in progress
Listen: the server is waiting for incoming call
Syn_
VMware-based virtual Linux cluster setup-lvs + keepalived,-lvskeepalivedBuild a virtual Linux cluster based on VMware-lvs + keepalived this article uses keepalived to achieve load balancing between the dual-machine hot backup of the lvs server and
Detailed configuration of Server Load balancer in lvs dr mode in CentOS
1. Prepare for LVS installation:
1. Prepare four Centos 6.2 x86_64
Note: SELinux and IPtables firewalls are disabled in this experiment.
Management IP address role remarks 192.16
Deploy Keepalived + LVS in CentOS to build a highly available WEB environment
I. Experiment deployment Software List
CentOS 6.4X64 mini
Keepalived-1.2.7.tar.gz
Ipvsadm 1.2.5-10
Ii. Tutorial Purpose
Keepalived is used to implement a cluster
1. Prepare for LVS installation:
1. Prepare four Centos 6.2 x86_64
Note: SELinux and IPtables firewalls are disabled in this experiment.
Manage IP addresses
Role
Remarks
192.168.1.101
LVS Master scheduler Master
1. Introduction to Keepalived
Keepalived is an important underlying tool that provides HA. Its initial role was to provide HA functions for ipvs and a service software that can provide vrrp health-check functions, it can be used only to provide a
The DR mode of the LVS load Balancing clusterFirst, the environment4 Virtual machines: 1 Client, 1 directorserver, 2 realserver. The IP addresses are as
Dr Mode of Lvs+keepalived load Balancing clusterFirst, the environment5 virtual machines, respectively:1 sets of test machines (192.168.3.111);2 sets of Directorserver (192.168.3.221, 192.168.3.222);2 sets of Realserver (192.168.3.231, 192.168.3.232)
Environmental acquisition Cenots 6.3 64-bit mini-mount because you need to do some work before installingIf you would like to update the system, replace the Yum source.1. Installing KeepAliveOfficial Latest Version keepalived-1.2.7Tar zxvf
Rhel6.6-x86-64Main software:Keepalived-1.2.16.tar.gzipvsadm-1.26-4.el6.x86_64.rpmMaster Directory server:192.168.1.5Backup Directory server:192.168.1.8Real Server 1:192.168.1.6Real Server 2:192.168.1.7vip:192.168.1.10Compiling and installing
The VIP management script of the LVS back-end Realserver lvs-realsvr.sh#!/bin/bash# # 2015/3/27# lvs real server## chkconfig: - 85 15# description: control vip on lvs realserver # source function library.
Lvs+keepalived high-availability load balancing configuration, recently need to use, so I have a virtual machine to carry out a simple installation test, hoping to help you solve small problems.Mater 192.168.78.128//keepalived+lvsSlave 192.168.78.129
Recently the team is ready to refactor the project, using RABBITMQ and several scenarios, with a focus on the upcoming scenario in the project. About RABBITMQ is not here detailed explanation, the specific view RABBITMQ Chinese manual. See the
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.