Server cluster-based packet generation method and load balancer

A load balancer and server cluster technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problem that DR mode cannot be applied to large-scale cross-Vlan cluster deployment

Active Publication Date: 2017-08-08
HUAWEI TECH CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The DR mode requires the load balancer and the backend host to be in the same Vlan, and the current large-scale cloud deployment usually spans Vlans, which makes the traditional DR mode unable to be applied to large-scale cross-Vlan cluster deployments

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server cluster-based packet generation method and load balancer
  • Server cluster-based packet generation method and load balancer
  • Server cluster-based packet generation method and load balancer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] Combine below figure 2 with image 3 Briefly introduce the virtual server VS / DR (Virtual Server via Direct Routing) technology implemented by direct routing. VS / DR utilizes the asymmetric characteristics of most Internet services. The load balancer is only responsible for balancing requests, and the server directly returns the response to the client. Can greatly improve the throughput of the entire cluster system.

[0041] The architecture of VS / DR is as ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention relates to a server cluster-based packet generation method and a load balancer. The method comprises the steps of receiving a request packet of a client, wherein the request packet of the client comprises a source IP address and a destination IP address; determining a destination server according to a preset load balance policy; sending an address resolution protocol (ARP) request packet according to the destination IP address; obtaining an ARP response packet according to the ARP request packet, wherein the ARP response packet comprises an initial media access control (MAC) address of the destination server, and the initial MAC address is different from an actual MAC address of the destination server; and updating the destination IP address according to the initial MAC address, so as to obtain an updated request packet of the client, wherein the updated request packet of the client comprises the source IP address and the updated destination IP address. Through adoption of the server cluster-based packet generation method and the load balancer, the source IP address in the request packet is maintained in the transmission of the packet, and the source IP address of the client is detected in the network layer.

Description

technical field [0001] The invention is based on load balancing technology, and in particular relates to a method for generating messages based on server clusters and a load balancer for server clusters. Background technique [0002] Load Balance (LB) means to allocate tasks to multiple operating units for execution, such as Web servers, FTP servers, enterprise key application servers, and other mission-critical servers, so as to jointly complete work tasks. [0003] A cluster is to combine multiple servers together in order to improve the performance of the server. [0004] The Chinese name of VLAN (Virtual Local Area Network) is "Virtual Local Area Network". A virtual local area network (VLAN) is a group of logical devices and users. These devices and users are not limited by physical locations. They can be organized according to factors such as functions, departments, and applications. They communicate with each other as if they are in In the same network segment, it is...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/12H04L12/803H04L45/02H04L45/74
CPCH04L47/125H04L61/103H04L67/1001H04L45/02H04L67/1004H04L2101/622H04L12/4691H04L67/1014H04L61/5007H04L45/74
Inventor 韦启蒙龚飞胡敏
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products