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

Virtual resource re-balancing method based on consistency algorithm

A technology of virtual resources and balancing methods, applied in the direction of response error generation, software simulation/interpretation/simulation, error detection of redundant data in hardware, etc. The effect of fast and automatic failover, low resource consumption and strong system stability

Inactive Publication Date: 2014-12-10
CHENGDU ZHIYUN SCI & TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, a virtual machine is created on a host machine, and each host machine has a backup host machine, and the data of the virtual machine on the main host machine is synchronized to the backup host machine in real time. When the main host machine fails, enable Backup host, if both the master host and the backup host fail, the virtual machines on the backup host will not be able to work, and the system will be affected

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
  • Virtual resource re-balancing method based on consistency algorithm
  • Virtual resource re-balancing method based on consistency algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] This embodiment provides a method for rebalancing virtual resources based on a consensus algorithm. The method applies the DHT algorithm. The DHT algorithm uses a distributed hash function to solve structured distributed storage problems. Specifically, based on the consensus algorithm The virtual resource rebalancing method includes the following steps:

[0025] 1. Each host is assigned a hash block of its own and becomes the manager of the hash block;

[0026] 2. Create a virtual machine. Each virtual machine has a unique identifier. The cloud storage system hashes the unique identifier to obtain the key and generate a hash table;

[0027] 3. The host machine obtains the unique node identifier D, and the key has a unique relationship with D; the node identifier D is obtained through the hash node IP; the above-mentioned unique relationship is generated when the hash table is produced;

[0028] 4. According to the unique identification of the host machine, use the DHT ...

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 discloses a virtual resource re-balancing method based on the consistency algorithm. The problems that in the prior art, when main host machines and standby host machines break down, virtual machines on the standby host machines cannot work, and a system is influenced are solved. The virtual resource re-balancing method includes the following steps: (1) an own hash block is distributed to each host machine, and each host machine becomes a manager of the corresponding hash block; (2) the virtual machines are created, each virtual machine has a unique identification, hashing is carried out on the unique identifications through the system, a key is obtained, and a hash list is generated; (3) the host machines obtain unique node markers D, and the key and the D have the unique incidence relation; (4) a DHT ring is generated with the DHT algorithm according to the unique identifications of the host machines; (5) the virtual machines are mapped to the host machines according to the unique incidence relation between the key and the D, and the virtual machines are managed by the host machines. The virtual resource re-balancing method is less in resource consumption, stable in system and high in capacity of backup for disaster recovery.

Description

technical field [0001] The invention relates to a cloud host disk cloning method, in particular to a virtual resource rebalancing method based on a consistency algorithm. Background technique [0002] Cloud host is a host product in the cloud computing service system. This product effectively solves the defects of difficult management and weak business scalability in traditional physical lease and VPS services. The price of cloud hosting service is lower than that of traditional physical hosting, and there is no need to pay a deposit. It is very flexible, and when the user's business scale expands, cloud hosting can quickly realize business expansion. Cloud computing can save users from owning and maintaining complex computing infrastructure, so it is welcomed by more and more users. In order to ensure the reliability of users' business, cloud hosts need to provide failover and disaster recovery. [0003] The main purpose of building a disaster recovery system is to preven...

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): G06F9/455G06F11/16H04L29/08
Inventor 黄睿
Owner CHENGDU ZHIYUN SCI & TECH
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