Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A load balancing method based on kvm virtualization cluster

A load balancing and virtualization technology, applied in the field of cloud computing virtualization, can solve problems such as unbalanced distribution of service resources and achieve the effect of improving utilization

Active Publication Date: 2018-08-10
SHANDONG UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, in the KVM virtualization cluster, when there are a large number of client access requests, there is a problem that service resources are not evenly distributed among virtual machines.

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
  • A load balancing method based on kvm virtualization cluster
  • A load balancing method based on kvm virtualization cluster
  • A load balancing method based on kvm virtualization cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039]A load balancing method based on a KVM virtualization cluster, the method runs on a server, constructs a KVM virtualization cluster on the server, and the KVM virtualization cluster includes a client, a load balancing server, Several computing servers and one storage server; build an LNMP environment in the load balancing server, configure nginx's nginx. / / " to connect several computing servers, and use java programming to call the libvirt-java development interface of KVM to obtain the configuration information, CPU usage, network broadband usage, response time, and load of each computing server. The configuration information includes Memory memory, CPU number cpus, CPU socket number sockets per node, core number per socket cores, hyperthreading threads, expected CPU frequency mhz;

[0040] The specific steps include: when the client accesses the load balancing server, the load balancing server calls the libvirt-java development interface of KVM and uses the SSH remote ...

Embodiment 2

[0042] According to the load balancing method described in Embodiment 1, the difference is that the dynamic request allocation algorithm, the specific steps include:

[0043] a. Find the current average load weight of the computing server The calculation formula is shown in formula (I):

[0044]

[0045] In formula (I), m refers to the number of computing servers; L i Refers to the computing server S i current load; Refers to the computing server S i The measured current response time to the client request, Measured by web monitoring software; ω i Refers to the computing server S i inherent ability; Refers to the computing server S i The time to respond to client requests when available resources are 0, Measured by: Computing server S i Constantly increase the number of client requests, when calculating the server S i When the number of response requests reaches the maximum value, it is measured by the webpage monitoring software that the computing server ...

Embodiment 3

[0066] According to the load balancing method described in Embodiment 2, the difference is that the webpage monitoring software refers to httpwatch.

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 invention provides a load balancing method based on a KVM virtual cluster. The KVM virtual cluster is built on a server, and the KVM virtual cluster comprises a client side, a load balancing server, a plurality of computing server and a storage server. When the client side accesses the load balancing server, the load balancing server calls a libvirt-java development interface of a KVM and uses an SSH remote protocol to obtain loads of the various computing servers, the computing server having the minimum allocation weight is found by utilizing a dynamic request allocation algorithm through a combination with a user demand condition, and a task request arriving at the server newly is allocated to the computing server having the minimum allocation weight. The load balancing method solves the problem of imbalance load allocation between virtual machines in virtual management environment, and improves the utilization rate of a server virtual resource.

Description

technical field [0001] The invention relates to a load balancing method based on a KVM virtualization cluster, and belongs to the field of cloud computing virtual technology. Background technique [0002] Cloud computing technology is a technological revolution in the IT industry. It can deploy computing resources on demand, and users only need to pay for the resources used. , database and other computing resources. This change makes the operation and maintenance of IT infrastructure continue to concentrate and improve, thus putting forward higher requirements on the infrastructure level, especially server performance. [0003] Virtualization technology is one of the core components of cloud computing technology and a key technology for fully integrating and efficiently utilizing various computing and storage resources, including server virtualization and application virtualization. The environment where each application is deployed has nothing to do with the physical plat...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L67/1008H04L67/101H04L67/1012
Inventor 张海霞乔亚芳袁东风
Owner SHANDONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products