destination IP of the request message
1. Lvs-nat mode
Working principle:主要是数据到达VS后,VS根据VSIP和调度算法,去服务地址池中去查找哪些节点提供此服务,然后将数据包的Dip改为RSip,可能还会改变Dport。然后RS上的网关需指向DIP。VS最终对用户做响应Application Scenarios:1、此模式对RS修改较少,
2. LVS-DR mode
Working principle:主要是数据回去不经过VS,CIP数据到网关,然后网关去找VIP地址,数据到达VIP之后,VIP根据调度算法,转发给响应的RIP,此时目标MAC构建为RIP的MAC地址,此时数据转发出去,不经过TCP/I
Build a Server Load balancer cluster with LVS in Linux
Common open-source load balancing software: nginx, lvs, and keepalivedCommercial Hardware load equipment: F5, Netscale1. Introduction to LB and LVSLB clusters are short for load balance clusters. load Balancing clusters are translated into Chinese;LVS is an open-source software project for implementing Server Load balancer clusters;The LVS architecture can be logically divided into the scheduling layer (Director), the server cluster layer (R
Many of you are confused about the four IP addresses used to configure oracle11gr2rac. This article will describe them here. Open the etchosts file catetchosts # PublicIP192.168.1.138rac1. localdomainrac1194251.139rac2. localdomainrac2 # PrivateIP172.16.10.138rac1-pr of a RAC Node
Many of you are confused about the four IP addresses used to configure oracle 11gr2 rac. This article will describe them here. Open the/etc/hosts file of a RAC node cat/etc/hosts # Public IP 192.168.1.138rac1.localdoma
' has experienced an unrecoverable failure.Human intervention required to resume its availability.'Ora. rac1.LISTENER _ RAC1.lsnr 'on member 'rac1' has experienced an unrecoverable failure.Human intervention required to resume its availability.Attempting to stop 'ora. rac1.ASM1. asm 'on member 'rac1''Ora. rac1.ASM1. asm 'on member 'rac1' has experienced an unrecoverable failure.Human intervention required to resume its availability.Attempting to stop 'ora. rac2.LISTENER _ RAC2.lsnr 'on member 'r
There are four servers: 192.168.0.34, 192.168.0.35, 192.168.0.36, and 192.168.0.37.192.168.0.37 is an e-mail service running on nas, 35, and 36.A scheduler was created on port 37 to allocate services with ports 80, 25, and 110 to ports, 35, and 36.Specific Configuration:On server 37, an rpm package of ipvsadm is installed first.Yum install ipvsadm # obtains the ipvsadm software, which is responsible for load balancing and requests to backend services.And then the tutorialReference written by oth
any OS;2, LVS-DR650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/6A/wKioL1b-mHHitMbFAACdy3peeT4217.png "title=" 2016-04-01_234556.png "width=" "height=" 294 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:700PX;HEIGHT:294PX; " alt= "Wkiol1b-mhhitmbfaacdy3peet4217.png"/>In this model, the response message does not flow through the director, but responds directly to the client, so the VIP must also be configured on the real server and h
System Centos6.0
1. NAT Mode;
NAT model: address translation type, mainly for address translation, similar to the DNAT type of iptables. It implements Load Balancing through multi-object address translation;
Features and requirements:
1. LVSDirector) Dual NICs required: DIP (Intranet) and VIP Internet)
2. the IP address of the Intranet Real Server host must be in the same network as the DIP, and the gateway must point to the DIP address.
3. RIP is a p
On the basis of the LVS NAT mode1. Clear the Ipvsadm ruleIpvsadm--ln2. Clear the Iptables ruleIptables-t nat-f3. Modify the RS network adapter configuration, modify the back gatewayvi/etc/sysconfig/network-scripts/ifcfg-eth0 restart Eth0ifdown eth0; ifup eth04.dir NICIfdown eth1dirip:192.168.1.118 rs1ip:192.168.1.116 rs2ip:192.168.1.115 is considered an extranet IP.Add a virtual ip,vip above dirvim/usr/local/sbin/lvs_dr.sh#! /bin/Bashecho1>/proc/sys/n
limited back node equipment downtime will not affect the businessThree About LVSLvs:linux virtual server abbreviation, meaning is a virtual servers cluster system, it is also an open source software, by the University of Defense technology, Dr. Zhangwensong founded in May 1998, is one of the earliest free software projects in China, it can realize simple load balancing under Linux platform, with low cost, high performance, high reliability and high availability.Four The naming convention for re
install Nginx.Yum-y install gcc gcc-c++ autoconf automake make//installing GCC compilersNginx needs to install Pcre first,Https://sourceforge.net/projects/pcre/files/pcre/RPM-QA |grep nginx//See if it is installedConfiguring the Master Master1) Turn off firewall and SELinuxIptables-fIptables-nvlSetenforce 02) Edit Keepalived profile on master:128, set VIP to 100Vim/etc/keepalived/keepalived.conf,
/etc/keepalived/keepalived.conf emptying the confi
Industry sites in the last few years can be said to be a very good website project. To today's preconceived industry site although not very good development, but to feed themselves or not much problem. After all, it brings together people in so many industries. But there is a problem can be said very clearly placed in the front of such webmaster, that is, the site to the VIP members as the core, or the home page ads as the core good?
However, most of
hand, for example, we have 3 6 9 three IDs in hand.
As shown in the previous article. How should I check it. To make them appear in a result.
Someone may think of this.
Select * from 'article' where 'wid' = 3 or 'wid' = 6 or 'wid' = 9
If so, there will be a new problem. for PHP, it is more appropriate to write a lot or use in at this time,
In syntax format
SELECT column_name (s)FROM table_nameWHERE column_name IN (value1, value2 ,...)
If there are not many values to be queried, it is easy to us
, for example, we have 3 6 9 three IDs in hand.
As shown in the previous article. How should I check it. To make them appear in a result.
Someone may think of this.
Select * from 'article' where 'wid' = 3 or 'wid' = 6 or 'wid' = 9
If so, there will be a new problem. for PHP, it is more appropriate to write a lot or use in at this time,
In syntax format
SELECT column_name (s)FROM table_nameWHERE column_name IN (value1, value2 ,...)
If there are not many values to be queried, it is easy to use thi
articles in hand, if we have the id of several articles in hand, for example, we have 3 6 9 three IDs in hand.
As shown in the previous article. How should I check it. To make them appear in a result.
Someone may think of this.
Select * from 'Article' where 'wid' = 3 or 'wid' = 6 or 'wid' = 9
If so, there will be a new problem. For PHP, it is more appropriate to write a lot or use in at this time,
In syntax format
SELECT column_name (s)FROM table_nameWHERE column_name IN (value1, value2 ,...)
I
Oracle10gRAC listener reports TNS-12545TNS-12560TNS-00515
Oracle 10g RAC listener reports TNS-12545 TNS-12560 TNS-00515
Yesterday at the customer site a RAC in the start of listening when the TNS-12545 TNS-12560 TNS-00515 error, after processing back to normal ,, Today, I restored this problem on my own virtual machine, recording: OS: Linux DB: 10.2.0.4 RAC 1. Simulate recovery to the event 1. Switch the VIP address after manually disabling the l
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.