Persistent volume at an offset of a virtual block device of a storage server
First Claim
Patent Images
1. A non-transitory machine-readable storage medium encoded with instructions executable by a processor of a management server, the storage medium comprising:
- instructions to schedule a first virtual machine on a first host server;
instructions to request that a first storage server present to the first host server a first persistent volume, the first persistent volume to store information for the first virtual machine regardless of the state of the first virtual machine;
instructions to provide, to the first host server, an offset of a first virtual block device of the first storage server at which the first persistent volume is accessible to the first virtual machine via an input/output (I/O) operation of the first host server based on the offset; and
instructions to request that the first storage server dissociate the first persistent volume from the first virtual block device in response to termination of the first virtual machine.
2 Assignments
0 Petitions
Accused Products
Abstract
Example embodiments disclosed herein relate to a persistent volume at an offset of a virtual block device of a storage server. Example embodiments include requesting that a persistent volume be dissociated from a virtual block device in response to the termination of a virtual machine.
244 Citations
15 Claims
-
1. A non-transitory machine-readable storage medium encoded with instructions executable by a processor of a management server, the storage medium comprising:
-
instructions to schedule a first virtual machine on a first host server; instructions to request that a first storage server present to the first host server a first persistent volume, the first persistent volume to store information for the first virtual machine regardless of the state of the first virtual machine; instructions to provide, to the first host server, an offset of a first virtual block device of the first storage server at which the first persistent volume is accessible to the first virtual machine via an input/output (I/O) operation of the first host server based on the offset; and instructions to request that the first storage server dissociate the first persistent volume from the first virtual block device in response to termination of the first virtual machine. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
a system manager to; select a first host server among a plurality of host servers to host a first virtual machine associated with a first persistent volume managed by a storage server; request that a storage manager of the storage server make the first persistent volume available to the selected first host server for input/output (I/O) operations; receive, from the storage manager, offset information associated with a mapped offset of a first virtual block device of the first storage server at which the first persistent volume is accessible to the first virtual machine via an I/O operation of the first host server; and request that the storage manager unmap the first persistent volume from the first virtual block device such that the first persistent volume is unavailable for I/O operations by the first host server, in response to an indication that the first virtual machine has terminated. - View Dependent Claims (8, 9, 10, 11, 12)
-
13. A method comprising:
-
scheduling, at a host server, a first virtual machine associated with a first persistent volume to store information for the first virtual machine regardless of whether the first virtual machine is running; providing, to a storage manager of the storage server, a request to create a virtual block device, associated with security information, at the storage server after scheduling the first virtual machine; providing, to a host manager of the host server, the security information and a first offset at which the persistent volume is mapped to the virtual block device; and providing, to the storage manager, a request to unmap the first persistent volume from the virtual block device to render the first persistent volume unavailable for I/O operations by the first host server, in response to an indication that the first virtual machine has terminated. - View Dependent Claims (14, 15)
-
Specification