Reconstruction of data of virtual machines
AssigneeHewlett Packard Enterprise Development LP
InventorsTaranisen Mohanta, Abhijith Umesh, Ashish Kumar, Leena Kotrabasappa Muddi, Srinath Nadig Sreekantaswamy
Life of this patent
Estimating the term…
Abstract
In an example, reconstruction values may be assigned to a Virtual Machine (VM) based on an attribute of a VM. The attribute of the VM may be compared with a corresponding attribute of each reference VM of a set of reference VMs. Each reference VM may have a reference reconstruction value. Using the reconstruction value, the VM may be rank ordered amongst a plurality of VMs for reconstruction of its data.
Claims18
A system comprising:
- a processor;
- and
- a memory coupled to the processor, the memory storing instructions executable by the processor to:
- in response to a first node of a cluster of nodes that store data becoming inaccessible, determine a mode of reconstruction for first virtual machine (VM) data that is associated with the first VM and is stored on the first node, based on whether the first node becomes accessible within a delay time, wherein the mode of reconstruction is determined to be resynchronization of the first VM data if the first node becomes accessible within the delay time;
- receive a plurality of attributes of the first VM, wherein the first VM data is to be reconstructed on a node of a cluster of nodes, the node being the first node if the mode of reconstruction is determined to be resynchronization;
- compare the plurality of attributes of the first VM with corresponding plurality of attributes of each reference VM of a set of reference VMs, each reference VM having a reference reconstruction value;
- determine a reconstruction value for the first VM based on the comparison, wherein the reconstruction value is indicative of a rank order for reconstruction for the first VM among a plurality of VMs for which reconstruction is to be performed;
- and
- if the mode of reconstruction is resynchronization, resynchronize incremental changes to the first VM data on to the node, the node being same as the first node, to reconstruct the first VM data.
A method comprising:
- in response to a first node of a cluster of nodes that store data becoming inaccessible, determine a mode of reconstruction for first virtual machine (VM) data that is associated with the first VM and is stored on the first node, based on whether the first node becomes accessible within a delay time, wherein the mode of reconstruction is determined to be resynchronization of the first VM data if the first node becomes accessible within the delay time and is determined to be rebuilding of the first VM data if the first node remains inaccessible after the delay time lapses;
- receiving, by a processing resource, attributes of a first virtual machine (VM);
- determining, by the processing resource, similarity between the attributes of the first VM with corresponding attributes of each reference VM of a set of reference VMs, each reference VM having a reference reconstruction value;
- selecting, by the processing resource, a subset of the set of reference VMs based on the similarity between the attributes of the first VM and the corresponding attributes of each reference VM;
- assigning, by the processing resource, a reconstruction value for the first VM based on a reference reconstruction value of at least one reference VM of the subset;
- and
- rank ordering, by the processing resource, the first VM and a second VM having second VM data associated therewith based on respective reconstruction values of the first VM and the second VM set of reference VMs to determine an order of reconstruction for the first VM data and the second VM data;
- if the reconstruction mode is determined to be rebuilding, rebuilding the first VM data and the second VM data on a second node of the cluster of nodes in the order of reconstruction;
- and
- if the reconstruction mode is determined to be resynchronization, resynchronizing incremental changes to the first VM data and the second VM data on the first node in the order of reconstruction.
A non-transitory computer-readable medium comprising instructions for assigning reconstruction values to virtual machines (VMs), the instructions being executable by a processing resource to:
- in response to a first node of a cluster of nodes that store data becoming inaccessible, determine a mode of reconstruction for first virtual machine (VM) data that is associated with the first VM and is stored on the first node, based on whether the first node becomes accessible within a delay time, wherein the mode of reconstruction is determined to be resynchronization of the first VM data if the first node becomes accessible within the delay time and is determined to be rebuilding of the first VM data if the first node remains inaccessible after the delay time lapses;
- receive an attribute for a first VM;
- compute a similarity score for the first VM with each reference VM of a set of reference VMs based on similarity of the attribute of the first VM with corresponding attribute of each reference VM, each reference VM having a reference reconstruction value;
- assign a reconstruction value for the first VM based on the similarity score for the first VM with each reference VM and based on reference reconstruction value of each reference VM to rank order the first VM and a second VM having second VM data associated therewith, to rank order the first VM data and the second VM data for reconstruction;
- rank order the first VM and a second VM having second VM data associated therewith based on respective reconstruction values of the first VM and the second VM set of reference VMs to determine an order of reconstruction for the first VM data and the second VM data;
- if the reconstruction mode is determined to be rebuilding, rebuild the first VM data and the second VM data on a second node of the cluster of nodes in the order of reconstruction;
- and
- if the reconstruction mode is determined to be resynchronization, resynchronize incremental changes to the first VM data and the second VM data on the first node in the order of reconstruction.
Dependencies are inferred from the claim text.