IP Library Granted Patent US 11,061,709
Granted Patent B2
US 11,061,709 · App. 16/108,028 · Granted Jul 13, 2021

Storage management for deployment of virtual machine

Inventors: Biao Cao (Beijing, CN); Shi Lin Huang (Beijing, CN); Yi Chun Huang (Beijing, CN); Shuang Li (Beijing, CN); Hong Gang Liu (Shanghai, CN); YaLian Pan (Beijing, CN); Huang Rui (Beijing, CN); Na Fei Yang (Beijing, CN)
Assignee: International Business Machines Corporation
G06F9/45558G06F12/10G06F2009/45583G06F2212/1044G06F2212/657
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,061,709
App. No.
16/108,028
Granted
Jul 13, 2021
Kind
B2
Abstract

A method, computer system, and a computer program product for storage management for deployment of a virtual machine is provided. The present invention may include receiving a request to deploy a virtual machine based on a master VM image. The present invention may also include determining a free disk space for the virtual machine. The present invention may then include determining a disk storage space storing the master VM image. The present invention may further include mapping the disk storage space and the free disk space into a single virtual storage. The present invention may include designating the single virtual storage to be a virtual storage of the virtual machine.

Claims (51)

1. A method for storage management for deployment of a virtual machine, the method comprising:

receiving a request to deploy a virtual machine on a target host based on a master virtual machine (VM) image, wherein the master VM image includes data associated with a current state of the virtual machine, wherein the current state of the virtual machine comprises virtual memory contents data, virtual disk contents data, and virtual hardware configuration data;

allocating, in a first storage device, a free disk space for the virtual machine;

determining, in a second storage device, a disk storage space storing the master VM image;

mapping the determined disk storage space from the second storage device storing the master VM image and the allocated free disk space from the first storage device into a single virtual storage;

designating the single virtual storage as a virtual storage for the master VM image and the virtual machine deployed on the target host, wherein the master VM image is directly accessible by the target host without needing to be copied to the target host;

indicating a part of the designated single virtual storage corresponding to the mapped disk storage space as a storage location containing the master VM image;

mapping a first physical address of the mapped disk storage space; and

mapping a second physical address of the mapped free disk space, wherein the mapped first physical address and the mapped second physical address are a consecutive logical addresses of the virtual storage of the virtual machine.

2. The method of claim 1 , further comprising:

locating the determined free disk space remotely from the determined disk storage space.

3. The method of claim 1 , wherein indicating the part of the virtual storage corresponding to the mapped disk storage space as the storage location containing the master VM image further comprises:

recording a sub-range of the consecutive logical addresses corresponding to the mapped disk storage space as the storage location containing the master VM image.

4. The method of claim 3 , further comprising:

indicating the recorded sub-range of the consecutive logical addresses corresponding to the mapped disk storage space as the storage location containing the master VM image.

5. The method of claim 4 , further comprising:

setting the indicated sub-range of the consecutive logical addresses to a read-only mode for the virtual machine.

6. A computer system for storage management for deployment of a virtual machine, comprising:

one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more computer-readable tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:

receiving a request to deploy a virtual machine on a target host based on a master virtual machine (VM) image, wherein the master VM image includes data associated with a current state of the virtual machine, wherein the current state of the virtual machine comprises virtual memory contents data, virtual disk contents data, and virtual hardware configuration data;

allocating, in a first storage device, a free disk space for the virtual machine;

determining, in a second storage device, a disk storage space storing the master VM image;

mapping the determined disk storage space from the second storage device storing the master VM image and the allocated free disk space from the first storage device into a single virtual storage;

designating the single virtual storage as a virtual storage for the master VM image and the virtual machine deployed on the target host, wherein the master VM image is directly accessible by the target host without needing to be copied to the target host;

indicating a part of the designated single virtual storage corresponding to the mapped disk storage space as a storage location containing the master VM image;

mapping a first physical address of the mapped disk storage space; and

mapping a second physical address of the mapped free disk space, wherein the mapped first physical address and the mapped second physical address are a consecutive logical addresses of the virtual storage of the virtual machine.

7. The computer system of claim 6 , further comprising:

locating the determined free disk space remotely from the determined disk storage space.

8. The computer system of claim 6 , wherein indicating the part of the virtual storage corresponding to the mapped disk storage space as the storage location containing the master VM image further comprises:

recording a sub-range of the consecutive logical addresses corresponding to the mapped disk storage space as the storage location containing the master VM image.

9. The computer system of claim 8 , further comprising:

indicating the recorded sub-range of the consecutive logical addresses corresponding to the mapped disk storage space as the storage location containing the master VM image.

10. The computer system of claim 9 , further comprising:

setting the indicated sub-range of the consecutive logical addresses to a read-only mode for the virtual machine.

11. A computer program product for storage management for deployment of a virtual machine, comprising:

one or more computer-readable tangible storage media and program instructions stored on at least one of the one or more computer-readable tangible storage media, the program instructions executable by a processor to cause the processor to perform a method comprising:

receiving a request to deploy a virtual machine on a target host based on a master virtual machine (VM) image, wherein the master VM image includes data associated with a current state of the virtual machine, wherein the current state of the virtual machine comprises virtual memory contents data, virtual disk contents data, and virtual hardware configuration data;

allocating, in a first storage device, a free disk space for the virtual machine;

determining, in a second storage device, a disk storage space storing the master VM image;

mapping the determined disk storage space from the second storage device storing the master VM image and the allocated free disk space from the first storage device into a single virtual storage;

designating the single virtual storage as a virtual storage for the master VM image and the virtual machine deployed on the target host, wherein the master VM image is directly accessible by the target host without needing to be copied to the target host;

indicating a part of the designated single virtual storage corresponding to the mapped disk storage space as a storage location containing the master VM image;

mapping a first physical address of the mapped disk storage space; and

mapping a second physical address of the mapped free disk space, wherein the mapped first physical address and the mapped second physical address are a consecutive logical addresses of the virtual storage of the virtual machine.

12. The computer program product of claim 11 , further comprising:

locating the determined free disk space remotely from the determined disk storage space.

13. The computer program product of claim 11 , wherein indicating the part of the virtual storage corresponding to the mapped disk storage space as the storage location containing the master VM image further comprises:

recording a sub-range of the consecutive logical addresses corresponding to the mapped disk storage space as the storage location containing the master VM image.

14. The computer program product of claim 13 , further comprising:

indicating the recorded sub-range of the consecutive logical addresses corresponding to the mapped disk storage space as the storage location containing the master VM image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 21, 2018
From: CAO, BIAO; HUANG, SHI LIN; HUANG, YI CHUN; LI, SHUANG; LIU, HONG GANG; PAN, YALIAN; RUI, HUANG; YANG, NA FEI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 046655/0050 →
Continuity (1)
Related Publication 20200065254A1 · Feb 27, 2020
Cited By (9)
US 12,306,819 US 12,481,638 US 12,517,865 US 12,572,559 US 12,613,857 US 12,657,097 US 12,693,939 US 12,693,999 US 12,699,685