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

Distributed lock resource control authority transferring method and device of mirror image document

An image file and resource control technology, applied in the field of server virtualization, can solve problems such as the decline of virtual machine read and write performance, the decline of file system and virtual machine availability, the increase of virtual machine locking delay and computing resource overhead, etc. Reduce the overhead of computing resources, reduce latency, and avoid the effect of degrading read and write performance

Active Publication Date: 2018-02-23
NEW H3C CLOUD TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When it is necessary to migrate a virtual machine running on a certain node to another node; if the node where the virtual machine was located before the migration happens to be the owner node of the lock resource associated with the virtual machine image file, the owner node and the virtual machine will After the migration, the nodes that open the image file are different nodes, so that the subsequent lock requests of the virtual machine will be sent to the owner node through the network; because the virtual machine frequently operates on the image file, the lock request will be transmitted to the owner node through the network. Increase the delay of virtual machine locking and computing resource overhead, resulting in a decline in the read and write performance of the virtual machine; at the same time, if the network between the node where the virtual machine is located and the owner node is unreachable, it will cause the virtual machine to The file lock request is suspended, so that the virtual machine cannot obtain the operation permission on the image file, resulting in a decrease in the availability of the file system and the virtual machine

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
  • Distributed lock resource control authority transferring method and device of mirror image document
  • Distributed lock resource control authority transferring method and device of mirror image document
  • Distributed lock resource control authority transferring method and device of mirror image document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Unlike in the prior art, when migrating a virtual machine, the virtual machine is only migrated from the source node where the virtual machine is running to the destination node, in the embodiment of the present application, when migrating the virtual machine, if the owner node of the virtual machine image file If the source node of the virtual machine migration is the same node, the owner is also migrated to the destination node together with the virtual machine, so that after the virtual machine is migrated, the node where it is located and the owner node corresponding to the image file are still on the same node; When the virtual machine operates on the image file, it does not need to send a lock request to the owner node through the network, but interacts with the owner by calling the node kernel program, so as to avoid when the node where the virtual machine is located is different from the owner node and the network between the two is different. The problem of decr...

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 relates to the technical field of server virtualization, particularly to a distributed lock resource control authority transferring method and device of a mirror image document and is used for transferring a virtual machine and the lock resource control authority of a virtual machine mirror image document located at the same node as the virtual machine to a target node so as to reduce locking delay and resource calculation expense of the virtual machine and improve the usability of both the distributed document system and the virtual machine and avoid the problem of the reading-writing performance reduction of the virtual machine caused by the usability. The method comprises the method of generating first lock resource information corresponding to the mirror image document ofthe virtual machine by the target node where the virtual machine is transferred; sending a lock resource control authority transferring request to a source node based on the identifier of the sourcenode; feeding back lock state information of each node corresponding to the identifier of the first lock resource information for the lock resource based on the source node to obtain second lock resource information; and notifying other nodes that the updated lock resource control authority owner serves as the target node.

Description

technical field [0001] The present application relates to the technical field of server virtualization, and in particular to a method and device for migrating distributed lock resource control rights of image files. Background technique [0002] In server virtualization products, multiple physical hosts (hereinafter referred to as nodes) are used to form a virtualized working cluster; at least one virtual machine runs in the virtualized working cluster; the virtual machines in the virtualized working cluster are managed by virtualization software , to realize the creation, migration, and cancellation of virtual machines; virtualization software generally uses a shared file system as a carrier for storing virtual machine image files; nodes exchange messages through the network to coordinate access to shared storage space, making virtualization work Multiple nodes in the cluster can access the same storage space. [0003] In order to coordinate the access of different nodes t...

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
IPC IPC(8): H04L29/06H04L29/08G06F9/455
Inventor 葛长伟
Owner NEW H3C CLOUD TECH CO LTD
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