CN107733916A - The distributed lock resources control authority moving method and device of a kind of image file - Google Patents

The distributed lock resources control authority moving method and device of a kind of image file Download PDF

Info

Publication number
CN107733916A
CN107733916A CN201711096735.9A CN201711096735A CN107733916A CN 107733916 A CN107733916 A CN 107733916A CN 201711096735 A CN201711096735 A CN 201711096735A CN 107733916 A CN107733916 A CN 107733916A
Authority
CN
China
Prior art keywords
lock
node
mark
virtual machine
migration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711096735.9A
Other languages
Chinese (zh)
Other versions
CN107733916B (en
Inventor
葛长伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Cloud Technologies Co Ltd filed Critical New H3C Cloud Technologies Co Ltd
Priority to CN201711096735.9A priority Critical patent/CN107733916B/en
Publication of CN107733916A publication Critical patent/CN107733916A/en
Application granted granted Critical
Publication of CN107733916B publication Critical patent/CN107733916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The application is related to technical field of server virtualization, more particularly to the distributed lock resources control authority moving method and device of a kind of image file, migrated for that will be in virtual machine together with the lock resources control authority companion virtual machine of the virtual machine image file of same node to destination node, so as to reduce the expense of the time delay of virtual machine locking and computing resource, so as to improve the availability of distributed file system and virtual machine, avoid due to the problem of virtual machine readwrite performance caused by this problem declines.This method includes:Destination node generation the first lock resource information corresponding with the image file of the virtual machine of virtual machine (vm) migration;According to the mark of source node, lock resources control authority migration request is sent to source node, lock status information of each node corresponding with the mark of the first lock resource information for lock resource is returned to according to source node, the second lock resource information is obtained, and notifies that the lock resources control authority owner after other node updates is purpose node.

Description

The distributed lock resources control authority moving method and device of a kind of image file
Technical field
The application is related to technical field of server virtualization, more particularly to a kind of distributed lock resources control of image file Authority moving method and device.
Background technology
In server virtualization product, virtualization working cluster is formed using more physical hosts (calling node in the following text);It is empty Operation has an at least virtual machine in planization working cluster;Virtual machine in virtualization working cluster is carried out by virtualization software Management, realizes establishment, migration, revocation of virtual machine etc.;Virtualization software is typically virtual as storage using shared-file system The carrier of machine image file;By network interaction message between node, coordinate the access to sharing memory space so that form empty Multiple nodes in planization working cluster can have access to identical memory space.
Shared-file system is existed to coordinate access of the different nodes to shared resource on disk using distributed lock technology The synchronization and mutual exclusion of file are realized between node.When virtual machine is starting on some node N, virtual management software can be from this section Point N opens virtual machine image file;After node N opens virtual image file, the Distributed Lock Manager that operates on node N Distributed lock resource (LOCK) corresponding with image file can be created in node N;If node N is first, to open this virtual The node of machine image file, node N can be used to be created as lock resources control authority owner (owner) node, and in node N Build owner;When any one node (including node N) in cluster wants the image file on operation disk, first Locking request is sent to owner nodes, owner nodes are after locking request is received, according to locking request and current lock money Source LOCK distribution condition, perform the locking authorisation process of corresponding image file.
When needs are by when on the virtual machine (vm) migration run on some node to other nodes;If before virtual machine (vm) migration The node at place is exactly the owner nodes of the lock resource associated with the image file of virtual machine, can cause owner nodes and void The node that image file is opened after the migration of plan machine is different nodes so that the follow-up locking request of the virtual machine can all pass through net Network is sent to owner nodes;Because virtual machine can be operated frequently to image file, locking request by network transmission extremely Owner nodes can increase the time delay and computing resource expense of virtual machine locking, cause the readwrite performance of virtual machine to decline;Meanwhile If the network between place node and owner nodes after virtual machine (vm) migration is unreachable, virtual machine can be caused to some mirror image The locking request of file is suspended so that virtual machine can not obtain the operating right to image file, cause file system and void The availability of plan machine declines.
The content of the invention
The embodiment of the present application provides a kind of the distributed lock resources control authority moving method and device of image file, uses So that when virtual machine is migrated into other nodes, also the distributed lock resources control of image file is moved in company with virtual Machine is migrated to identical node, avoids locking request by network transmission to owner nodes, so as to reduce virtual machine locking when Prolong the expense with computing resource, avoid the readwrite performance of virtual machine from declining.
First aspect, there is provided a kind of distributed lock resources control authority moving method of image file, applied to virtual machine The destination node of migration, this method include:
Destination node generation the first lock resource information corresponding with the image file of the virtual machine of virtual machine (vm) migration;It is described First lock resource information includes:The mark and purpose of the mark of the first lock resource information, the source node of virtual machine (vm) migration Lock status information of the node for the lock resource;Wherein, the lock money of image file before the source node is virtual machine (vm) migration Source control authority owner's owner nodes;
According to the mark of the source node, lock resources control authority migration request is sent to the source node;The lock money The mark of the first lock resource information is carried in the control authority migration request of source;The mark of the first lock resource information is used Lock shape of each node corresponding with the mark of the described first lock resource information for the lock resource is returned in the source node State information;
The mark that described first locks the source node in resource information is replaced with into the mark of destination node, and by purpose section Point replaces with lock of each node for the lock resource of the source node return for the lock status information of the lock resource Status information, the second lock resource information is obtained, and notify that the owner nodes after other node updates are the destination node, with Just other nodes are when initiating the locking request for the image file to the destination node, based on the described second lock resource Information controls access rights of other nodes for the image file.
Second aspect, there is provided a kind of distributed lock resources control authority moving method of image file, applied to virtual machine The source node of migration, this method include:
The lock resources control authority migration that the source node of virtual machine (vm) migration receives transmitted by the destination node virtually migrated please Ask;The mark of the first lock resource information is carried in the lock resources control authority migration request;The destination node is virtual The owner nodes of image file after machine migration;
Each node corresponding with the mark of the described first lock resource information is obtained for the lock status of the lock resource to believe Breath;
Lock status information of each node for the lock resource is sent to the destination node, for the mesh Node generation second lock resource information.
The third aspect, there is provided a kind of distributed lock resources control authority moving apparatus of image file, be installed on virtual machine The destination node of migration, the device include:
First lock resource information generation module, for the destination node generation in virtual machine (vm) migration and the mirror image of the virtual machine First lock resource information corresponding to file;The first lock resource information includes:The mark of the first lock resource information, source section Lock status information of the mark and destination node of point for the lock resource;Wherein, the source node be virtual machine (vm) migration it The owner nodes of preceding image file;
Migration request sending module, for the mark according to the source node, lock resources control is sent to the source node Authority migration request;The mark of the first lock resource information is carried in the lock resources control authority migration request;It is described The mark of first lock resource information is used for the source node and returns to each section corresponding with the mark of the described first lock resource information Lock status information of the point for the lock resource;
Second lock resource information generation module, the mark for locking the source node in resource information by described first replace with The mark of destination node, and lock status information of the destination node for the lock resource is replaced with what the source node returned Each node obtains the second lock resource information for the lock status information of the lock resource, and after notifying other node updates Owner nodes are the destination node, so that other nodes are initiating the visit for the image file to the destination node When asking request, access rights of other nodes for the image file are controlled based on the described second lock resource information.
Fourth aspect, there is provided a kind of distributed lock resources control authority moving apparatus of image file, be installed on virtual machine The source node of migration, the device include:
Receiving module, the source node for virtual machine (vm) migration receive the lock resource transmitted by the destination node of virtual machine (vm) migration Control authority migration request;The mark of the first lock resource information is carried in the lock resources control authority migration request;It is described Destination node is the owner nodes of image file after virtual machine (vm) migration;
Acquisition module, provided for obtaining each node corresponding with the mark of the described first lock resource information for the lock The lock status information in source;
Sending module, for lock status information of each node for the lock resource to be sent into the purpose section Point, for destination node generation the second lock resource information.
In the embodiment of the present application, if the lock resources control authority owner of the image file of virtual machine and virtual machine (vm) migration Source node be same node, then owner is also migrated to destination node in company with virtual machine together, so that virtual machine After migration, owner nodes corresponding to the node and image file where it are still on the same node;Virtual machine is to mirror image When file is operated, it is not necessary to locking request is sent to owner nodes by network, and by calling node core journey Sequence interacts with owner, and so as to avoid, node is different with owner nodes where virtual machine and network is unreachable between the two When caused distributed file system and virtual machine availability the problem of declining;Locked simultaneously also without by network transmission Request, so as to reduce the expense of the time delay of virtual machine locking and computing resource, avoid because virtual machine caused by this problem is read and write Hydraulic performance decline.
Brief description of the drawings
, below will be to the application in order to clearly illustrate the embodiment of the present application or technical scheme of the prior art Accompanying drawing required in embodiment or description of the prior art does simple introduction.It should be evident that drawings in the following description Only some embodiments described in the application, for those of ordinary skill in the art, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 shows the distributed lock resources control authority moving method for the image file that the embodiment of the present application one is provided Schematic flow sheet;
Fig. 2 shows the distributed lock resources control authority moving method for the image file that the embodiment of the present application two is provided Schematic flow sheet;
Fig. 3 shows the distributed lock resources control authority moving method for the image file that the embodiment of the present application three is provided Schematic flow sheet;
Fig. 4 shows the distributed lock resources control authority moving method for the image file that the embodiment of the present application four is provided Schematic flow sheet;
Fig. 5 shows that the embodiment of the present application provides a kind of distributed lock resources control authority moving apparatus of image file Structural representation;
Fig. 6 shows that the embodiment of the present application provides the distributed lock resources control authority migration dress of the image file of another kind The structural representation put;
Fig. 7 shows that the embodiment of the present application provides a kind of distributed lock resources control authority moving apparatus of image file Structural representation;
Fig. 8 shows that the embodiment of the present application provides the distributed lock resources control authority migration dress of the image file of another kind The structural representation put.
Embodiment
With the source node in the prior art only running virtual machine from virtual machine when being migrated to virtual machine Migrate to destination node difference, the embodiment of the present application to virtual machine when migrating, if the owner of virtual machine image file The source node of node and virtual machine (vm) migration is same node, then also migrates owner to destination node together in company with virtual machine, from And enabling to virtual machine after migration, owner nodes are still in same section corresponding to the node and image file where it Point on;When virtual machine operates to image file, it is not necessary to locking request is sent to owner nodes by network, and By calling node core program to be interacted with owner, so as to avoiding the node where the virtual machine different with owner nodes and The problem of caused distributed file system and virtual machine availability decline when network is unreachable between the two;Also it is not required to simultaneously , so as to reduce the expense of the time delay of virtual machine locking and computing resource, to be avoided by network transmission locking request because this is asked Virtual machine readwrite performance caused by topic declines.
The file that virtual machine image file in the application needs to use for virtual machine in normal course of operation, Huo Zhexu Plan machine needs the file called when performing a certain task.
It is below in conjunction with the accompanying drawings and specific real to enable the above-mentioned purpose of the application, feature and advantage more obvious understandable Mode is applied to be further described in detail the application.
In the embodiment of the present application, the equipment for performing the distributed lock resources control authority moving method of image file is respectively The source node and destination node of virtual machine (vm) migration;Wherein virtual management software realizes the management to source node and destination node. The distribution of the image file provided first below from executive agent by the destination node of virtual machine (vm) migration the embodiment of the present application Formula lock resources control authority moving method is illustrated.
It is shown in Figure 1, the distributed lock resources control authority migration for the image file that the embodiment of the present application one is provided Method comprises the following steps:
S101:Destination node generation the first lock resource letter corresponding with the image file of the virtual machine of virtual machine (vm) migration Breath;First lock resource information includes:Mark, the mark of source node and the destination node of first lock resource information are for locking resource Lock status information;Wherein, the lock resources control authority owner owner sections of image file before source node is virtual machine (vm) migration Point.
In specific implementation, before virtual machine (vm) migration, virtual management software can be started in source node configuration first Virtual machine relevant configuration information, such as cpu resource, memory source, IP address, and shared-file system is accessed in source node, beat Open the image file that virtual machine needs to use in the process of running;While image file is opened, operate in source node Distributed Lock Manager for each image file create lock resource;If now the source node is opens the of image file One node, then the owner nodes using the source node as lock resource, and generate lock resource information corresponding with owner;The lock Resource information includes:Lock resource information mark and each node for lock resource lock status information.Virtualize work The lock resource created in other nodes in cluster includes:Lock the mark, the mark of source node and itself section of resource information Lock status information of the point for lock resource;Mark of other nodes based on source node, added by network to what owner nodes were sent Lock request, source node is by calling itself kernel program, to the locking request of owner nodes transmission.
When virtual machine needs to migrate to destination node, virtual management software starts virtual machine (vm) migration program, Source node closes the image file of virtual machine, and virtual in the destination node establishment configuration information and source node of virtual machine (vm) migration Machine identical virtual machine, and open the image file of virtual machine in destination node.Now, the distribution operated in destination node Lock manager creates lock resource, the lock resource information of generation first for the virtual machine image file opened;Due to now virtual machine Image file corresponding to owner nodes remain as source node, therefore, generated first lock resource information include:First lock The mark of resource information, the mark of source node and destination node are in the lock status information for locking resource.
Specifically, corresponding to same image file, when generating the first lock resource information corresponding with image file:
First, the Distributed Lock Manager operated in destination node is in destination node generation and the title pair of image file The lock in resource information is locked in the mark for the first lock resource information answered, the wherein mark of the first lock resource information and source node The mark of resource information is identical.
Secondly, destination node can be to other node broadcasts owner query statements;Is carried in owner query statements The mark of one lock resource.If the node for receiving owner query statements is not owner nodes, the node can be to purpose section Point feedback indicates the information of its non-owner node, or the owner query statements is not responded;If receive owner The node of query statement is owner nodes, then the node can feed back the information for indicating that it is owner nodes to destination node, The mark of owner nodes is carried in the information.Now, because owner nodes are source node, therefore source node can be to purpose section Point feeds back the information that it is owner nodes, and the mark that owner nodes are carried in the information is the mark of source node;Meanwhile Because destination node be present for locking the lock status information of resource in source node, then in order to realize destination node and source node it Between lock status information synchronization, source node can also by destination node for lock resource lock status information be sent to destination node.
Finally, the owner nodes of mark return of the source node according to the first lock resource information are being received in destination node Mark and destination node for lock resource lock status information after, according to first lock resource information mark, first lock The mark and destination node for the owner nodes that the mark of resource information returns create lock for the lock status information of lock resource Resource, the lock resource information of generation first.
It should be noted that lock status information is any one in locking state and released state in the present embodiment.Typically Ground, because virtual machine is before migration, image file can be closed from source node, no matter lock status information exists corresponding to image file Locking state or released state are in before closing image file, after closing, can be all arranged to unlock shape by owner nodes State.
S102:According to the mark of source node, lock resources control authority migration request is sent to source node;Lock resources control The mark of the first lock resource information is carried in limit migration request;The mark of first lock resource information is used for source node and returned and the Lock status information of each node for lock resource corresponding to the mark of one lock resource information.
In specific implementation, when destination node generation it is corresponding with the image file of virtual machine first lock resource information it Afterwards, lock resources control authority migration request can be sent to source node according to the mark of source node.Specifically, working set is virtualized For group when creating, each node can preserve the mark of the marks of other nodes, destination address and same node Mapping relations between destination address;Destination node, can be according to the first lock resource letter after the lock resource information of generation first The mark of source node included in breath, the mark destination address of source node is obtained, and be based on the destination address, resources control will be locked Authority migration request is sent to source node.
Source node can provide after lock resources control authority migration request is received according to the first entrained lock therein The mark of source information, navigate to specific lock resource information, and the lock by each node locked in resource information for lock resource Status information returns to destination node.
S103:The mark that first locks the source node in resource information is replaced with into the mark of destination node, and by purpose Node for lock resource lock status information replace with source node return each node for lock resource lock status information, obtain To the second lock resource information, and notify that the owner nodes after other node updates are purpose node, so that other nodes are to mesh Node initiate for image file locking request when, based on second lock resource information control other nodes for image file Access rights.
In specific implementation, when destination node receives what source node was returned according to lock resources control authority migration request After each node is for the lock status information of the lock resource, the source node identification in resource information can be locked by first and replaced with The mark of destination node, and each node pair that destination node is replaced with source node and returned for locking the lock status information of resource In the lock status information of lock resource, the second lock resource information is obtained.
In addition, it is purpose node that destination node, which is also notified that the lock resources control after other node updates,.Specifically, mesh Node can generate owner node notification instructions, and by owner nodes notification instruction to other node broadcasts, or based on each Individual node is sent to corresponding node for the lock status information of lock resource;Purposeful section is carried in the owner notification instructions The mark of the mark of point and the first lock resource information, the node for receiving owner node notification instructions are primarily based on the first lock The mark of resource information, positioned for lock resource corresponding to the first lock resource information mark, then will lock the source in resource The mark of owner nodes, replace with the mark of destination node;After the node initiates locking request again, purpose section can be based on The mark of point, destination node is sent to by locking request.
Using above-described embodiment, in virtualizing working cluster by virtual machine from source node migrate to destination node when Wait, if virtual machine locks resource owner and virtual machine in same node before migration corresponding to virtual machine image file, Destination node generation the first lock resource information corresponding with the image file of the virtual machine of virtual machine, and send and lock to source node Resources control authority migration request;Lock of the source node based on lock resources control authority migration request by each node for lock resource After status information is sent to destination node, destination node saves for the purpose of the mark replacement of the source node in resource information is locked first The mark of point, destination node is replaced with into each node of source node return for locking resource for locking the lock status information of resource Lock status information, obtain the second lock resource information, and notify that the lock resources control authority owner after other node updates is Destination node, so as to which owner is migrated to destination node together;When virtual machine is grasped in destination node to image file When work, it is not necessary to locking request is sent to owner nodes by network, and by calling node core program and owner Interact, so as to avoid virtual machine place node from being asked with caused by owner node differences by network transmission locking Ask, so as to reduce the expense of the time delay of virtual machine locking and computing resource, avoid due to virtual machine read-write property caused by this problem It can decline.
Shown in Figure 2, the embodiment of the present application two also provides the distributed lock resources control of another image file Moving method is limited, after the first lock resource information corresponding with the image file of the virtual machine is generated, sends and locks to source node Before resources control authority migration request, in addition to:
S201:According to the identification information of source node, to the locking request of source node transmission virtual machine image file;
S202:After the locking successful information of source node return is received, generation lock resources control authority migration request.
In the distributed lock resources control authority transition process of image file, if owner nodes Successful migration it Before receive locking request transmitted by other nodes, authorize the node for sending locking request to operate image file, meeting Change sends lock status information of the node for lock resource of locking request;This is likely to result in source node according to lock resource control Authority migration request processed sends the section of locking request to after lock status information of each node for locking resource of destination node Point is changed for locking the lock status information of resource, causes source node to be sent to each node of destination node for lock resource Lock status information, and in source node actual storage each node for lock resource lock status information it is inconsistent in the case of, from And cause owner migrating to destination node, lock resource management error.
In order to avoid the generation of above mentioned problem, before owner is migrated to destination node, destination node is first according to source The identification information of node, the locking request of virtual machine image file is sent to source node.Source node is receiving the virtual machine mirror As file locking request after, locking authorisation process is carried out to the locking request, will lock resource corresponding to image file operation Authority is locked in destination node, has other nodes to send locking request to source node in the process immediately, the request is not yet It can be handled by source node, so as to ensure that source node is sent to state letter of each node for lock resource of destination node Breath, it is consistent for the lock status information for locking resource with each node of actual storage in source node.
In addition, shown in Figure 2, the distributed lock resources control authority for the image file that the embodiment of the present application is provided is moved In shifting method, after obtaining the second lock resource information, in addition to:
S203:Migration successful information is sent to source node;Migration successful information returns to other nodes for source node and sent out The pending locking request sent;
S204:Locking authorisation process is carried out to pending locking request.
In specific implementation, because before owner is by from source node Successful migration to destination node, other nodes are right When image file is operated, still locking request can be sent to source node;Source node is receiving lock resources control After limiting migration request, or after the locking request transmitted by destination node is received, the other sections that will can receive afterwards The transmitted locking request of point is hung as pending locking request;, can be to after destination node generates Secondary resource information Source node sends migration successful information;After source node receives migration successful information, its suspension is returned to destination node Institute's locking request to be handled;Destination node locks after pending locking request is received to pending locking request Authorisation process.
Based on same inventive concept, the distributed lock resource control with above-mentioned image file is additionally provided in the embodiment of the present application The distributed lock resources control authority moving method of another image file corresponding to authority moving method processed, from executive agent Added by the distributed lock resources control authority moving method for the image file that the angle of source node is provided the embodiment of the present application With explanation.
Referring to shown in 3, a kind of distributed lock resources control authority for image file that the embodiment of the present application three provides migrates Method includes:
S301:The source node of virtual machine (vm) migration receives the lock resources control authority transmitted by the destination node of virtual machine (vm) migration Migration request;The mark of the first lock resource information is carried in lock resources control authority migration request;Destination node is virtual machine The owner nodes of image file after migration.
In specific implementation, destination node sends the detailed process of control authority migration request referring to above-mentioned to source node S101, it will not be repeated here.
S302:Obtain lock status information of each node corresponding with the mark of the first lock resource information for lock resource.
S303:Lock status information of each node for the lock resource is sent to the destination node, is used for The second lock of destination node generation resource information.
In specific implementation, the virtual machine created on source node is when image file is opened, if it is first The node of image file is opened, then the Distributed Lock Manager run on the source node can create and image file pair in source node The lock resource information answered, and the owner nodes using source node as lock resource.Wherein, the lock resource information as owner nodes Including:Lock the lock status information of mark, the mark of source node and each node for lock resource of resource.
, can be according to wherein entrained the after source node, which receives control authority transmitted by destination node, migrates instruction The mark of one resource information, the lock resource identification in having with locked resource are matched, to navigate to and first resource information Lock resource corresponding to mark.
In positioning after specifically lock resource, after lock resource corresponding with the first lock resource information is navigated to, Neng Goucong In get with the first corresponding each node of lock resource information for locking the lock status information of resource, and send it to purpose Node, so that lock status information of the destination node according to each node for lock resource, completes the migration to owner.
Using above-described embodiment, in virtualizing working cluster by virtual machine from source node migrate to destination node when Wait, if virtual machine locks resource owner and virtual machine in same node before migration corresponding to virtual machine image file, virtually Machine can send lock resources control authority migration request after destination node opening to source node;Source node is receiving lock money After the control authority migration request of source, corresponding each node is sent to purpose section for locking the lock status information of resource Point, so that destination node is migrated owner to being saved where virtual machine for locking the lock status information of resource based on each node Point same node, when virtual machine is operating in destination node to image file, it is not necessary to by network to Owner nodes send locking request, and are interacted by calling destination node kernel program with owner, so as to avoid when void The distributed file system different with owner nodes and caused when network is unreachable between the two of node where plan machine and virtual The problem of machine availability declines;Simultaneously also without by network transmission locking request, so as to reduce the time delay of virtual machine locking With the expense of computing resource, avoid because virtual machine readwrite performance caused by this problem declines.
Alternatively, shown in Figure 4, the embodiment of the present application four also provides the distributed lock resource of another image file Control authority moving method, before receiving the lock resources control authority migration request transmitted by destination node, this method also includes:
S401:Receive the owner query statements transmitted by destination node;The first lock money is carried in owner query statements The mark of source information.
In specific implementation, destination node sends the processes of owner query statements referring to above-mentioned S101 to source node, herein Repeat no more.
S402:Obtain with the mark of the first corresponding owner nodes of mark for locking resource information and destination node for Lock the lock status information of resource;
S403:The mark of owner nodes and destination node are sent to destination node for locking the lock status information of resource, The first lock resource information is created for destination node.
In specific implementation, after source node receives the owner query statements transmitted by destination node, can be based on should The mark of the first lock resource information carried in owner query statements, locks resource information from corresponding to local all owner nodes It is middle detect whether corresponding with the mark of the first lock resource information locking resource information;If so, then from the lock detected The mark of acquisition owner nodes corresponding with the mark of the first lock resource information and destination node are for lock resource in resource Lock status information, the mark of mesh owner nodes and destination node are then sent to mesh for locking the lock status information of resource Node so that destination node create first lock resource information.
In addition, the distributed lock resources control authority migration side of another image file provided in the embodiment of the present application In method, before receiving the lock resources control authority migration request transmitted by destination node, in addition to:
Receive the locking request of the image file transmitted by destination node.
According to locking request, locking authorisation process is carried out to virtual machine image file, authorized successfully if locked, to mesh Node return lock successful information.
Specific implementation when, source node after the locking request for receiving the image file transmitted by destination node, Locking authorisation process can be carried out to virtual machine image file according to locking request, and when locking authorizes successfully, to destination node Return and lock successful information, the operating right of image file is locked as destination node.
Destination node can also be based on locking successful information, by the after the locking successful information of source node return is received Included destination node is arranged to locking state for locking the lock status information of resource in one lock resource information, is then saved to source Point sends source node and sends lock resources control authority migration request.
Alternatively, in the distributed lock resources control authority moving method for the image file that the embodiment of the present application is provided, After the lock resources control authority migration request transmitted by destination node is received, in addition to:
Hung the locking request transmitted by other nodes as pending locking request;
After each node is sent into destination node for the lock status information of lock resource, in addition to:
Receive the migration successful information transmitted by destination node;
Pending locking request is sent to destination node, so that destination node to locking request lock at mandate Reason.
In specific implementation, the record of embodiment corresponding to above-mentioned Fig. 2 is may refer to, will not be repeated here.
Based on same inventive concept, the image file described by with above-mentioned Fig. 1-Fig. 2 is additionally provided in the embodiment of the present invention Distributed lock resources control authority moving method corresponding to image file distributed lock resources control authority moving apparatus, by Device in the embodiment of the present invention solves the principle of problem and the distributed lock resource of above-mentioned image file of the embodiment of the present invention Control authority moving method is similar, therefore the implementation of device may refer to the implementation of method, repeats part and repeats no more.
It is shown in Figure 5, the distributed lock resources control authority migration dress for the image file that the embodiment of the present application is provided The destination node for being installed on virtual machine (vm) migration is put, the device includes:
First lock resource information generation module 10, for the destination node generation in virtual machine (vm) migration and the mirror of the virtual machine The first lock resource information as corresponding to file;First lock resource information includes:The mark of first lock resource information, the mark of source node Know and destination node for lock resource lock status information;Wherein, image file before source node is virtual machine (vm) migration Owner nodes;
Migration request sending module 20, for the mark according to source node, send lock resources control authority to source node and move Move request;The mark of the first lock resource information is carried in lock resources control authority migration request;The mark of first lock resource information Know and return to lock status information of each node corresponding with the mark of the first lock resource information for lock resource for source node;
Second lock resource information generation module 30, the mark for locking the source node in resource information by first replaces with mesh Node mark, and by destination node for lock resource lock status information replace with source node return each node pair In the lock status information of lock resource, the second lock resource information is obtained, and for the purpose of notifying the owner nodes after other node updates Node, so that other nodes are when initiating the access request for image file to destination node, based on the second lock resource information Control access rights of other nodes for image file.
By the distributed lock resources control authority moving apparatus of the image file, can when virtual machine is migrated, Migrated together with the owner nodes companion virtual machine of resource is locked corresponding to the image file that will be opened with virtual machine from source node to mesh Node, when operation to image file after virtual machine (vm) migration, it is not necessary to sent and locked to owner nodes by network Request, and interacted by calling node core program with owner, so as to avoid virtual machine place node and owner Caused by node difference by network transmission locking request, so as to reduce opening for the time delay of virtual machine locking and computing resource Pin, avoid because virtual machine readwrite performance caused by this problem declines.
Alternatively, the first lock resource information generation module 10, is specifically used for:Generation corresponding with the title of image file the The mark of one lock resource information;
To other node broadcasts owner query statements;The mark of the first lock resource information is carried in owner query statements Know;
Receive the mark and destination node pair for the owner nodes that source node returns according to the mark of the first lock resource information In the lock status information of lock resource;
According to first lock resource information mark, first lock resource information mark return owner nodes mark with And destination node creates the first lock resource information for the lock status information of lock resource;Owner nodes are identified as source node Mark.
Alternatively, the distributed lock resources control authority moving apparatus for the image file that the embodiment of the present application is provided also wraps Include:Locking request sending module, after generating the first lock resource information corresponding with the image file of the virtual machine, Xiang Yuan Before node sends lock resources control authority migration request, according to the identification information of source node, virtual machine mirror is sent to source node As the locking request of file;
After the locking successful information of source node return is received, generation lock resources control authority migration request.
Alternatively, the distributed lock resources control authority moving apparatus for the image file that the embodiment of the present application is provided also wraps Include:Processing module, after obtaining the second lock resource information, migration successful information is sent to source node;Migrate successful information The pending locking request transmitted by other nodes is returned for source node;
Locking authorisation process is carried out to pending locking request.
Based on same inventive concept, the image file described by with above-mentioned Fig. 3-Fig. 4 is additionally provided in the embodiment of the present invention Distributed lock resources control authority moving method corresponding to image file distributed lock resources control authority moving apparatus, by Device in the embodiment of the present invention solves the principle of problem and the distributed lock resource of above-mentioned image file of the embodiment of the present invention Control authority moving method is similar, therefore the implementation of device may refer to the implementation of method, repeats part and repeats no more.
It is shown in Figure 6, the distributed lock resources control authority migration dress for the image file that the embodiment of the present application is provided The source node for being installed on virtual machine (vm) migration is put, the device includes:
Receiving module 40, the source node for virtual machine (vm) migration receive the lock money transmitted by the destination node of virtual machine (vm) migration Source control authority migration request;The mark of the first lock resource information is carried in lock resources control authority migration request;Purpose section Point is the owner nodes of image file after virtual machine (vm) migration;
Acquisition module 50, for obtaining lock of each node corresponding with the mark of the first lock resource information for lock resource Status information;
Sending module 60, for each node to be sent into destination node for locking the lock status information of resource, for mesh Node generation second lock resource information.
By the distributed lock resources control authority moving apparatus of the image file, can when virtual machine is migrated, Migrated together with the owner nodes companion virtual machine of resource is locked corresponding to the image file that will be opened with virtual machine from source node to mesh Node, when operation to image file after virtual machine (vm) migration, it is not necessary to sent and locked to owner nodes by network Request, and interacted by calling node core program with owner, so as to avoid virtual machine place node and owner Caused by node difference by network transmission locking request, so as to reduce opening for the time delay of virtual machine locking and computing resource Pin, avoid because virtual machine readwrite performance caused by this problem declines.
Alternatively, the distributed lock resources control authority moving apparatus for the image file that the embodiment of the present application is provided also wraps Include:First processing module, for before receiving the lock resources control authority migration request transmitted by destination node, receiving purpose section The transmitted owner query statements of point;The mark of the first lock resource information is carried in owner query statements;
The mark and destination node of acquisition owner nodes corresponding with the mark of the first lock resource information are for locking resource Lock status information;
The mark of owner nodes and destination node are sent to destination node for locking the lock status information of resource, used The first lock resource information is created in destination node.
Alternatively, the distributed lock resources control authority moving apparatus for the image file that the embodiment of the present application is provided also wraps Include:Second processing module, for before the lock resources control authority migration request transmitted by destination node is received, receiving purpose The locking request of image file transmitted by node;
According to locking request, locking authorisation process is carried out to virtual machine image file, authorized successfully if locked, to mesh Node return lock successful information.
Alternatively, the distributed lock resources control authority moving apparatus for the image file that the embodiment of the present application is provided also wraps Include:3rd processing module, after receiving the lock resources control authority migration request transmitted by destination node, by other nodes Transmitted locking request is hung as pending locking request;
After each node is sent into destination node for the lock status information of lock resource, in addition to:
Receive the migration successful information transmitted by destination node;
Pending locking request is sent to destination node, so that destination node to locking request lock at mandate Reason.
As shown in fig. 7, moved by the distributed lock resources control authority for the image file that another embodiment of the application provides Moving device schematic diagram, the distributed lock resources control authority moving apparatus 100 of the image file include:First processor 110, One memory 120 and the first bus 130, first memory 120 are stored with execute instruction, when plant running, first processor Communicated between 110 and first memory 120 by the first bus 130, first processor 110 performs to be deposited in first memory 120 The following execute instruction of storage:
Destination node generation the first lock resource information corresponding with the image file of the virtual machine of virtual machine (vm) migration;First Lock resource information includes:Lock shape of mark, the mark of source node and the destination node of first lock resource information for lock resource State information;
According to the mark of source node, lock resources control authority migration request is sent to source node;Lock resources control authority is moved Move in request and carry the mark of the first lock resource information;The mark of first lock resource information is used for source node and returned and the first lock Lock status information of each node corresponding to the mark of resource information for lock resource;
The mark that first locks the source node in resource information is replaced with into the mark of destination node, and by destination node pair In each node that the lock status information of lock resource replaces with source node return for the lock status information of lock resource, second is obtained Resource information is locked, and notifies that the lock resources control authority owner after other node updates is purpose node, so as to other nodes When initiating the locking request for image file to destination node, other nodes are controlled for mirror based on the second lock resource information As the access rights of file.
Alternatively, first processor 110 is specifically used for:Generation the first lock resource information corresponding with the title of image file Mark;
Resources control authority owner's owner query statements are locked to other node broadcasts;Carried in owner query statements The mark of first lock resource information;
Receive the mark and destination node pair for the owner nodes that source node returns according to the mark of the first lock resource information In the lock status information of lock resource;
According to first lock resource information mark, first lock resource information mark return owner nodes mark with And destination node creates the first lock resource information for the lock status information of lock resource;Owner nodes are identified as source node Mark.
Alternatively, first processor 110 is additionally operable to generation the first lock resource letter corresponding with the image file of the virtual machine After breath, according to the identification information of source node before sending lock resources control authority migration request to source node, sent out to source node Send the locking request of virtual machine image file;
After the locking successful information of source node return is received, generation lock resources control authority migration request.
Alternatively, first processor 110 is additionally operable to after obtaining the second lock resource information, is sent and is migrated successfully to source node Information;Migration successful information returns to the pending locking request transmitted by other nodes for source node;
Locking authorisation process is carried out to pending locking request.
As shown in figure 8, moved by the distributed lock resources control authority for the image file that another embodiment of the application provides Moving device schematic diagram, the distributed lock resources control authority moving apparatus 200 of the image file include:Second processor 210, Two memories 220 and the second bus 230, second memory 220 are stored with execute instruction, when plant running, second processor Communicated between 210 and second memory 220 by the second bus 230, second processor 210 performs deposits in second memory 220 The following execute instruction of storage:The lock resources control authority migration that the source node of virtual machine (vm) migration receives transmitted by destination node please Ask;The mark of the first lock resource information is carried in lock resources control authority migration request;
Obtain lock status information of each node corresponding with the mark of the first lock resource information for lock resource;
Each node is sent to destination node for locking the lock status information of resource, for the lock of destination node generation second Resource information.
Alternatively, second processor 210 is additionally operable to:Receive the lock resources control authority migration request transmitted by destination node Before, the owner query statements transmitted by destination node are received;The first lock resource information is carried in owner query statements Mark;
The mark and destination node of acquisition owner nodes corresponding with the mark of the first lock resource information are for locking resource Lock status information;
The mark of owner nodes and destination node are sent to destination node for locking the lock status information of resource, used The first lock resource information is created in destination node.
Alternatively, second processor 210 is additionally operable to:Receive the lock resources control authority migration request transmitted by destination node Before, the locking request of the image file transmitted by destination node is received;
According to locking request, locking authorisation process is carried out to virtual machine image file, authorized successfully if locked, to mesh Node return lock successful information.
Alternatively, second processor 210 is additionally operable to:Receive the lock resources control authority migration request transmitted by destination node Afterwards, hung the locking request transmitted by other nodes as pending locking request;
After each node is sent into destination node for the lock status information of lock resource, receive transmitted by destination node Migration successful information;
Pending locking request is sent to destination node, so that destination node to locking request lock at mandate Reason.
The distributed lock resources control authority moving method of the image file that the embodiment of the present application is provided and device Computer program product, including the computer-readable recording medium of program code is stored, the instruction that program code includes can use In the method in previous methods embodiment that performs, specific implementation can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description With the specific work process of device, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
If function is realized in the form of SFU software functional unit and as independent production marketing or in use, can stored In a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially in other words to existing The part for having part that technology contributes or the technical scheme can be embodied in the form of software product, the computer Software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be personal meter Calculation machine, server, or network equipment etc.) perform each embodiment method of the application all or part of step.It is and foregoing Storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, the only embodiment of the application, but the protection domain of the application is not limited thereto is any to be familiar with Those skilled in the art can readily occur in change or replacement in the technical scope that the application discloses, and should all cover Within the protection domain of the application.Therefore, the protection domain of the application should be defined by scope of the claims.

Claims (10)

1. the distributed lock resources control authority moving method of a kind of image file, it is characterised in that applied to virtual machine (vm) migration Destination node, this method includes:
Destination node generation the first lock resource information corresponding with the image file of the virtual machine of virtual machine (vm) migration;Described first Lock resource information includes:The mark and destination node of the mark of the first lock resource information, the source node of virtual machine (vm) migration For the lock status information of the lock resource;Wherein, the lock resource control of image file before the source node is virtual machine (vm) migration Rights holder owner nodes processed;
According to the mark of the source node, lock resources control authority migration request is sent to the source node;The lock resource control The mark of the first lock resource information is carried in authority migration request processed;The mark of the first lock resource information is used for institute State source node and return to lock status letter of each node corresponding with the mark of the described first lock resource information for the lock resource Breath;
The mark that described first locks the source node in resource information is replaced with into the mark of destination node, and by destination node pair Lock status of each node for the lock resource of the source node return is replaced with the lock status information of the lock resource Information, the second lock resource information is obtained, and notify that the owner nodes after other node updates are the destination node, so as to it His node is when initiating the locking request for the image file to the destination node, based on the described second lock resource information Control access rights of other nodes for the image file.
2. according to the method for claim 1, it is characterised in that the generation corresponding with the image file of the virtual machine the One lock resource information, is specifically included:
The mark of generation the first lock resource information corresponding with the title of the image file;
To other node broadcasts owner query statements;The first lock resource information is carried in the owner query statements Mark;
Receive the mark and destination node pair for the owner nodes that source node returns according to the mark of the described first lock resource information In the lock status information of the lock resource;
According to the mark of the described first lock resource information, the mark of the owner nodes of the mark return of the first lock resource information Know and destination node is for the lock status information of the lock resource, create the first lock resource information;The owner nodes The mark for being identified as the source node.
3. according to the method for claim 1, it is characterised in that generation the first lock corresponding with the image file of the virtual machine After resource information, before sending lock resources control authority migration request to the source node, in addition to:
According to the identification information of the source node, to the locking request of source node transmission virtual machine image file;
After the locking successful information that the source node returns is received, the lock resources control authority migration request is generated.
4. according to the method described in claim 1-3 any one, it is characterised in that obtain it is described second lock resource information it Afterwards, in addition to:
Migration successful information is sent to the source node;The migration successful information returns to other node institutes for the source node The pending locking request sent;
Locking authorisation process is carried out to the pending locking request.
5. the distributed lock resources control authority moving method of a kind of image file, it is characterised in that applied to virtual machine (vm) migration Source node, this method includes:
The source node of virtual machine (vm) migration receives the lock resources control authority migration request transmitted by the destination node virtually migrated;Institute State the mark that the first lock resource information is carried in lock resources control authority migration request;The destination node is virtual machine (vm) migration The owner nodes of image file afterwards;
Obtain lock status information of each node corresponding with the mark of the described first lock resource information for the lock resource;
Lock status information of each node for the lock resource is sent to the destination node, for the purpose section Point generation the second lock resource information.
6. according to the method for claim 5, it is characterised in that the lock resources control received transmitted by destination node Before limiting migration request, in addition to:
Receive the owner query statements transmitted by the destination node;The first lock resource is carried in the owner query statements The mark of information;
The mark and destination node of acquisition owner nodes corresponding with the mark of the described first lock resource information are for the lock The lock status information of resource;
The mark of the owner nodes and destination node are sent to the purpose for the lock status information of the lock resource Node, the first lock resource information is created for the destination node.
7. according to the method for claim 5, it is characterised in that the lock resources control received transmitted by destination node Before limiting migration request, in addition to:
Receive the locking request of the image file transmitted by the destination node;
According to the locking request, locking authorisation process is carried out to the virtual machine image file, authorized successfully if locked, Returned to the destination node and lock successful information.
8. according to the method described in claim 5-7 any one, it is characterised in that receive the lock resource transmitted by destination node After control authority migration request, in addition to:
Hung the locking request transmitted by other nodes as pending locking request;
It is described by each node for it is described lock resource lock status information be sent to the destination node after, also wrap Include:
Receive the migration successful information transmitted by the destination node;
The pending locking request is sent to the destination node, so that the destination node is carried out to the locking request Lock authorisation process.
9. the distributed lock resources control authority moving apparatus of a kind of image file, it is characterised in that be installed on virtual machine (vm) migration Destination node, the device includes:
First lock resource information generation module, for the destination node generation in virtual machine (vm) migration and the image file of the virtual machine Corresponding first lock resource information;The first lock resource information includes:The first lock mark of resource information, source node Mark and destination node are for the lock status information for locking resource;Wherein, mirror before the source node is virtual machine (vm) migration As the owner nodes of file;
Migration request sending module, for the mark according to the source node, lock resources control authority is sent to the source node Migration request;The mark of the first lock resource information is carried in the lock resources control authority migration request;Described first The mark for locking resource information is used for source node return each node pair corresponding with the mark of the described first lock resource information In the lock status information of the lock resource;
Second lock resource information generation module, for the purpose of the mark for locking the source node in resource information by described first is replaced The mark of node, and destination node is replaced with into each of the source node return for the lock status information of the lock resource Node obtains the second lock resource information, and notify the owner after other node updates for the lock status information of the lock resource Node is the destination node, so that other nodes are initiating the access request for the image file to the destination node When, access rights of other nodes for the image file are controlled based on the described second lock resource information.
10. the distributed lock resources control authority moving apparatus of a kind of image file, it is characterised in that be installed on virtual machine (vm) migration Source node, the device includes:
Receiving module, the source node for virtual machine (vm) migration receive the lock resources control transmitted by the destination node of virtual machine (vm) migration Authority migration request;The mark of the first lock resource information is carried in the lock resources control authority migration request;The purpose Node is the owner nodes of image file after virtual machine (vm) migration;
Acquisition module, for obtaining each node corresponding with the mark of the described first lock resource information for the lock resource Lock status information;
Sending module, for lock status information of each node for the lock resource to be sent into the destination node, For destination node generation the second lock resource information.
CN201711096735.9A 2017-11-09 2017-11-09 A kind of the distributed lock resources control permission moving method and device of image file Active CN107733916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711096735.9A CN107733916B (en) 2017-11-09 2017-11-09 A kind of the distributed lock resources control permission moving method and device of image file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711096735.9A CN107733916B (en) 2017-11-09 2017-11-09 A kind of the distributed lock resources control permission moving method and device of image file

Publications (2)

Publication Number Publication Date
CN107733916A true CN107733916A (en) 2018-02-23
CN107733916B CN107733916B (en) 2019-09-13

Family

ID=61214661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711096735.9A Active CN107733916B (en) 2017-11-09 2017-11-09 A kind of the distributed lock resources control permission moving method and device of image file

Country Status (1)

Country Link
CN (1) CN107733916B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446337A (en) * 2018-02-28 2018-08-24 新华三云计算技术有限公司 A kind of lock resources control permission moving method and device
CN111444008A (en) * 2018-12-29 2020-07-24 北京奇虎科技有限公司 Inter-cluster service migration method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521058A (en) * 2011-12-01 2012-06-27 北京威视数据系统有限公司 Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group
CN104486373A (en) * 2014-11-21 2015-04-01 华为技术有限公司 Lock resource migration method, nodes and distributed system
US20150378783A1 (en) * 2014-06-28 2015-12-31 Vmware, Inc. Live migration with pre-opened shared disks
CN107133093A (en) * 2017-06-02 2017-09-05 郑州云海信息技术有限公司 The online moving method and device of a kind of virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521058A (en) * 2011-12-01 2012-06-27 北京威视数据系统有限公司 Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group
US20150378783A1 (en) * 2014-06-28 2015-12-31 Vmware, Inc. Live migration with pre-opened shared disks
CN104486373A (en) * 2014-11-21 2015-04-01 华为技术有限公司 Lock resource migration method, nodes and distributed system
CN107133093A (en) * 2017-06-02 2017-09-05 郑州云海信息技术有限公司 The online moving method and device of a kind of virtual machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446337A (en) * 2018-02-28 2018-08-24 新华三云计算技术有限公司 A kind of lock resources control permission moving method and device
CN108446337B (en) * 2018-02-28 2019-09-13 新华三云计算技术有限公司 A kind of lock resources control permission moving method and device
CN111444008A (en) * 2018-12-29 2020-07-24 北京奇虎科技有限公司 Inter-cluster service migration method and device
CN111444008B (en) * 2018-12-29 2024-04-16 北京奇虎科技有限公司 Inter-cluster service migration method and device

Also Published As

Publication number Publication date
CN107733916B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
US8661457B2 (en) Pipeline across isolated computing environments
US7257811B2 (en) System, method and program to migrate a virtual machine
JP5450620B2 (en) Computer system, processing method, and computer program
CN104111897B (en) A kind of data processing method, device and computer system
EP3039524B1 (en) Virtual disk blueprints for a virtualized storage area network
US8230155B2 (en) Direct memory access filter for virtualized operating systems
EP3553647B1 (en) Data write method, apparatus, and system
KR101941728B1 (en) Clustered client failover
JP2018022529A (en) Scalable distributed storage architecture
US8924969B2 (en) Virtual machine image write leasing
JPH0883253A (en) Method and device for virtual space management
CN104199740B (en) The no tight coupling multinode multicomputer system and method for shared system address space
EP3432132B1 (en) Data storage method and device
CN107544864A (en) A kind of virtual-machine data copy method and virtual-machine data copy system
CN108027801A (en) Data processing method, device and system
WO2015085826A1 (en) Method and apparatus for accessing shared resource
CN113342711B (en) Page table updating method and device and related equipment
CN110119308B (en) System for managing large-scale container applications
CN104679662A (en) Method and system for managing shared memory
WO2023236397A1 (en) Key management method, key management apparatus, key management device and storage medium
CN107733916B (en) A kind of the distributed lock resources control permission moving method and device of image file
TWI226549B (en) High-performance lock management for flash copy in n-way shared storage systems
JP5966466B2 (en) Backup control method and information processing apparatus
US20150101042A1 (en) Tag based permission system and method for virtualized environments
CN109254873A (en) Data back up method, relevant apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant