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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com