High-Availability Implementation mdash; LVS (LinuxVirtualServer) LinuxVirtualServer several terms: ctor: also known as the scheduler, LVS front-end device; realserver: also known as the real internal server, is actually providing services; VIP: The published IP address, that is, the customer... high availability-Linux Virtual Server (LVS) Linux Virtual Server terms: ctor: also known as a scheduler, LVS front-end device; realserver: also known as a re
scheduling algorithmLoad balancing technology has many implementations, there are methods based on DNS domain name rotation, a method based on client scheduling access, a scheduling method based on application layer system load, and a scheduling method based on IP address, in which the most efficient implementation is IP load balancing technology.The IP load balancing technology of LVS is realized by Ipvs module, Ipvs is the core software of LVS cluster system, its main function is: Install on
by the user's request, the address of the real server which is converted to the backend service by the LVS server and the user's request message is sent to the application server. While the application server opens the message and responds to the user request to send and pass the LVS server, the LVS server modifies the source address to the VIP address on the LVS server interface.Nat Mode Features:
123456789
用户发来的请求和响应,都必须经过LVS服务
) (active+1) *256/weight who's small, pick whoIv. nq:never Queue (based on SED, regardless of incative)V. LBLC (locality-based Least-connection) based on local minimum connectionsVi. LBLCR: Local-based minimum connection with replication (cache shared object, sibling server)Dispatch to the same server as much as possible, only new requests are sent to the fewest servers, no words will be queried for the sibling server 5.LVS Dr ModelPrinciple of Dr Model When a client accesses a service in the
Linux Virtual Server
several terms:Director: Also can be called dispatcher, LVS front-end equipment;
Realserver: Also known as the real internal server, is really in the provision of services;
VIP: External IP, that is, the client requests to come in IP address;
DIP: Address of communication between dispatcher and Realserver; Introduction to LVS working modeLVS to achieve server cluster load balancing There are three ways, NAT,DR and Tun, the follow
Tags: des blog http using OS IO file data1) Check the status of the cluster:[Email protected] ~]$ crsctl Check clusterCrs-4537:cluster Ready Services are onlineCrs-4529:cluster Synchronization Services is onlineCrs-4533:event Manager is online2), all Oracle instances-(Database status):[Email protected] ~]$ srvctl status database-d racdbInstance RACDB1 is running on node RAC01Instance RACDB2 is running on node RAC023), check the status of individual instances:[Email protected] ~]$ srvctl status i
PA Screen World Internet + Friends Circle Leasing Platform, the company pays, rent your friends circle to play ads 8 yuan per day!1, 99 Yuan to become VIP members, collect 2 tasks a day to send friends circle, stand 8 yuan/day!2, the sharing of friends to become VIP members can be rewarded, a level of 8 yuan, two and 8 yuan. 10 first-Class VIP members, there are
Directory:
LVS three-mode configuration
Comparison of advantages and disadvantages of LVS three working modes
LVS three-mode configuration
Brief configuration of LVS three (LVS-DR, LVS-NAT, LVS-TUN) Modes
What is LVS:
Http://www.linuxvirtualserver.org/VS-NAT.html
Http://www.linuxvirtualserver.org/VS-IPTunneling.html
Http://www.linuxvirtualserver.org/VS-DRouting.html
First, install ipvsadm management.Program
Download: http://www.linuxvirtualserver.org/software/
Note that the
this operation will certainly affect the use of business systems, can not meet the requirements of the online architecture system. A better solution is to introduce a virtual IP (VIP) to the current replication environment, with the VIP to switch, so the impact of online switching will be much smaller. Suppose we apply for the VIP is: 192.168.1.20 Then we'll tie
High Availability-Linux Virtual Server (LVS) Linux Virtual Server terms: ctor: Also known as a scheduler, LVS front-end device; realserver: Also known as a real internal Server, is actually providing services; VIP: The published IP address, that is, the IP Address requested by the customer; DIP: the address for communication between the scheduler and the realserver; LVS working mode introduction LVS Server Cluster load balancing has three ways, NAT, D
exists.[Email protected] ~]# Lsmod|grep Ip_vsIp_vs 122112 04.3 Configurationand verifying the director Server4.3.1 Configuring the Director Server
#!/bin/bash vip=192.168.98.77 #虚拟ip (IP for user access) rip1=192.168.98.74 # Real server IP rip2=192.168.98.117 #真实服务器 (real server) IP port=2200 #端口 Case "$" in Start) echo "start config LVS Director Server ..." ifconfig eth0:0 $VIP
Experimental environment: rhel5.8
Director
dip:192.168.88.132 vip:192.168.88.120
Realserver
rip1:192.168.88.129 vip:192.168.88.120
rip1:192.168.88.134 vip:192.168.88.120
Dr Model, scheduling algorithm for WLC
Requirements implementation: Model normal work, and director implementation of automatic detection, when any RS fault, automatically remove it, when
background processes.B.orae grid Infrastructure (grid base layer, grid foundation software, cluster Software): is a software, responsible for managing nodes in the cluster, various resources and storage management, is the basis of RAC. Install the GI first and then install the RAC. GI can then be divided into:A. Oracle clusterwareB. Automated Storage Management ASM (Oracle Automatic Storage Management) for managing shared storageOracle 11g integrates Oracle Clusterware with ASMC. Hardware(2) Or
be sent to the RealServer through the postrouting hook. This process of changing the normal route of a data packet is implemented according to the IPVS table (defined by the Administrator through ipvsadm. "Therefore, on the director of LVS, you should be careful when configuring firewall rules to avoid conflicts.LVS is divided into director and realserver. A virtual ip address is configured on ctor to provide external services. Director forwards client requests to the pre-defined realserver bas
Objective: to configure a keepalived hot standby architecture and master-slave replication plan: master1zlm17719216817177master2zlm18819216817188vip. objective: to configure a keepalived hot standby architecture and master-slave replication
Planning:
Master1 zlm177 192.168.17.177
Master2 zlm188 192.168.17.188
Vip 192.168.17.166
Environment: Red Hat Enterprise Linux 6.4
Percona Server 5.6.15
I. software installationGo to the official website:
Keepali
Background Summary the customer's 10 Gb database VIP is down, causing the VIP to load to another node event. Support details: 04:29:56. 378 machine 1 VIP appears wentOFFLINEunexp
Background Overview The customer's 10 Gb database VIP is down, causing the VIP to load to anothe
LVS
Reference: http://zh.linuxvirtualserver.org/
Several terms:Director: Also known as scheduler, LVS front-end device;
RealServer: a real internal server is actually providing services;
VIP: The public IP address, that is, the IP Address requested by the customer;
Dip: the address for communication between the scheduler and the RealServer;LVS has three working modes: LVS implements Server Cluster load balancing in three modes: Nat, Dr, And Tun. The
service: ipvsadm-A | E-t | u | f VIP: port-s scheduling algorithmDelete a cluster service: ipvsadm-D-t | u | f VIP: portRealserverAdd or modify REALSERVER: ipvsadm-a | e-t | u | f VIP: port-r REALSERVER [: port]-g |-I |-m [-w weight]Delete a REALSERVER: ipvsadm-d-t | u | f VIP: port-r REALSERVER [: port]##############
Vip/public/private IP Differences in RAC environmentsEach node to 2 network card, 3 IP, virtual IP or called the business IP, a single network card when it can "drift" to the other network card is to continue to provide servicesIn the Oracle RAC Environment, each node will have multiple IP addresses, respectively, PUBLIC/PRIVATE/VIP, what is the difference between these three IPs? What are the occasions for
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.