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

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

Example Embodiment

[0032] Unlike the prior art, when the virtual machine is migrated, the virtual machine is only migrated from the source node where the virtual machine runs to the destination node. In the embodiment of the present application, when the virtual machine is migrated, if the owner node of the virtual machine image file is If the source node of the virtual machine migration is the same node, the owner is also migrated to the destination node along 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, thereby avoiding when the node where the virtual machine is located is different from the owner node and the network between the two The problem of reduced availability...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products