Method and system for handling ownership transfer in a virtualization environment
AssigneeNutanix, Inc.
InventorsMohit Aron, Dheeraj Pandey, Ajeet Singh
Life of this patent
Estimating the term…
Abstract
A method for handling storage in a virtualization environment including identifying a situation in which a storage controller ownership change is to occur for a virtual disk, identifying a candidate replacement owner for the virtual disk and transferring ownership of the virtual disk to the candidate replacement owner.
Claims27
A method for handling storage in a virtualization environment, comprising:
- identifying a situation in which a storage controller ownership change is to occur for a virtual disk that is managed by a storage controller in a first node that hosts one or more virtual machines,
- identifying a candidate replacement owner for the virtual disk by performing a leadership election among a plurality of volunteer storage controllers, wherein a volunteer storage controller of the plurality of volunteer storage controllers is elected as the candidate replacement owner, wherein the volunteer storage controller is a storage controller in a second node that hosts one or more virtual machines, wherein the second node is different from the first node;
- and
- transferring ownership of the virtual disk to the candidate replacement owner, wherein after the transfer the virtual disk is managed by the storage controller in the second node.
A computer program product embodied on a non-transitory computer readable storage medium, the non-transitory computer readable storage medium having stored thereon a sequence of instructions which, when executed by a processor causes the processor to execute a method for handling storage in a virtual machine in a virtualization environment, the method comprising:
- identifying a situation in which a storage controller ownership change is to occur for a virtual disk that is managed by a storage controller in a first node that hosts one or more virtual machines,
- identifying a candidate replacement owner for the virtual disk by performing a leadership election among a plurality of volunteer storage controllers, wherein a volunteer storage controller of the plurality of volunteer storage controllers is elected as the candidate replacement owner, wherein the volunteer storage controller is a storage controller in a second node that hosts one or more virtual machines, wherein the second node is different from the first node;
- and
- transferring ownership of the virtual disk to the candidate replacement owner, wherein after the transfer the virtual disk is managed by the storage controller in the second node.
A computer-based system for handling storage in a virtualization environment, comprising:
- a computer processor to execute a set of program code instructions;
- a memory to hold the set of program code instructions, in which the set of program code instructions comprises program code for identifying a situation in which a storage controller ownership change is to occur for a virtual disk that is managed by a storage controller in a first node that hosts one or more virtual machines;
- identifying a candidate replacement owner for the virtual disk by performing a leadership election among a plurality of volunteer storage controllers, wherein a volunteer storage controller of the plurality of volunteer storage controllers is elected as the candidate replacement owner, wherein the volunteer storage controller is a storage controller in a second node that hosts one or more virtual machines, wherein the second node is different from the first node;
- and transferring ownership of the virtual disk to the candidate replacement owner, wherein after the transfer the virtual disk is managed by the storage controller in the second node.
Dependencies are inferred from the claim text.