IP Library Granted Patent US 10,831,532
Granted Patent B2
US 10,831,532 · App. 16/165,673 · Granted Nov 10, 2020

Updating a nested virtualization manager using live migration of virtual machines

Inventor: Nicolas Vincent Ismael Castet (Austin, TX)
Assignee: International Business Machines Corporation
G06F9/4856G06F8/65G06F9/45558G06F2009/4557G06F2009/45562G06F2009/45566H04L12/4641H04L49/70
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 10,831,532
App. No.
16/165,673
Granted
Nov 10, 2020
Kind
B2
Abstract

A parent virtualization manager can create multiple nested virtualization environments on the same physical server. When nested virtualization controller code in a first nested virtualization environment needs to be updated, the parent virtualization manager creates a second nested virtualization environment, installs the updated virtualization controller code in the second nested virtualization environment, and live-migrates virtual machines from the first nested virtualization environment to the second nested virtualization environment. The amount of resources needed for the live migration within the second nested virtualization manager is the amount of resources in the largest virtual machine to be live-migrated, since resources in the first nested virtualization environment can be reclaimed by the parent virtualization manager and allocated to the second nested virtualization manager after a virtual machine has been live-migrated to the second nested virtualization environment.

Claims (28)

1. A server computer system comprising:

at least one processor;

a memory coupled to the at least one processor; and

parent virtualization controller code residing in the memory and executed by the at least one processor, the parent virtualization controller code, when executed, providing a parent virtualization manager comprising a first nested virtualization manager having first nested virtualization controller code that creates and manages first and second virtual machines, wherein the parent virtualization manager comprises spare resources at least as great as a largest virtual machine created and managed by the first nested virtualization manager, wherein when the first nested virtualization controller code needs to be updated, the parent virtualization manager installs and starts updated nested virtualization controller code on the server computer system to provide a second nested virtualization manager having the updated nested virtualization controller code and managed by the parent virtualization manager, wherein the second nested virtualization manager has fewer resources than the first nested virtualization manager, wherein the parent virtualization manager live-migrates the first virtual machine from the first nested virtualization manager to the second nested virtualization manager to provide a third virtual machine created and managed by the second nested virtualization manager, wherein, after live-migrating the first virtual machine to the second nested virtualization manager, the parent virtualization manager reclaims at least one resource allocated to the first virtual machine and allocates at least one resource reclaimed from the first virtual machine to the second nested virtualization manager.

2. The server computer system of claim 1 , wherein the parent virtualization manager live-migrates the second virtual machine to the second nested virtualization manager to provide a fourth virtual machine.

3. The server computer system of claim 2 wherein, after live-migrating the second virtual machine to the second nested virtualization manager, the parent virtualization manager reclaims at least one resource allocated to the second virtual machine.

4. The server computer system of claim 3 wherein the parent virtualization controller allocates at least one resource reclaimed from the second virtual machine to the second nested virtualization manager.

5. A server computer system comprising:

at least one processor;

a memory coupled to the at least one processor; and

virtualization controller code residing in the memory and executed by the at least one processor, the virtualization controller code, when executed, providing a parent virtualization manager comprising:

a first nested virtualization manager having first nested virtualization controller code that creates and manages first and second virtual machines;

wherein the parent virtualization manager comprises spare resources at least as great as a largest virtual machine created and managed by the first nested virtualization manager;

wherein when the first nested virtualization controller code needs to be updated, the parent virtualization manager installs and starts updated nested virtualization controller code to provide a second nested virtualization manager having updated nested virtualization controller code and managed by the parent virtualization manager, wherein the second nested virtualization manager has fewer resources than the first nested virtualization manager, wherein the parent virtualization manager:

live-migrates the first virtual machine from the first nested virtualization manager to the second nested virtualization manager to provide a third virtual machine created and managed by the second nested virtualization manager;

after live-migrating the first virtual machine to the second nested virtualization manager, reclaims at least one resource allocated to the first virtual machine;

after reclaiming the at least one resource from the first virtual machine, allocates the at least one resource to the second nested virtualization manager;

live-migrates the second virtual machine to the second nested virtualization manager to provide a fourth virtual machine; and

after live-migrating the second virtual machine to the second nested virtualization manager, reclaims at least one resource allocated to the second virtual machine.

6. A computer-implemented method executed by at least one processor for updating nested virtualization manager code, the method comprising:

providing a parent virtualization manager comprising a first nested virtualization manager having first nested virtualization controller code that creates and manages first and second virtual machines, wherein the parent virtualization manager comprises spare resources at least as great as a largest virtual machine created and managed by the first nested virtualization manager;

when the first nested virtualization controller code needs to be updated, the parent virtualization manager installing and starting updated nested virtualization controller code to provide a second nested virtualization manager on a same server computer system as the first nested virtualization manager having the updated nested virtualization controller code wherein the second nested virtualization manager has fewer resources than the first nested virtualization manager;

the parent virtualization manager live-migrating the first virtual machine from the first nested virtualization manager to the second nested virtualization manager to provide a third virtual machine created and managed by the second nested virtualization managers;

after live-migrating the first virtual machine to the second nested virtualization manager, the parent virtualization manager reclaiming at least one resource allocated to the first virtual machine; and

the parent virtualization manager allocating at least one resource reclaimed from the first virtual machine to the second nested virtualization manager.

7. The method of claim 6 further comprising live-migrating the second virtual machine to the second nested virtualization manager to provide a fourth virtual machine.

8. The method of claim 7 wherein, after live-migrating the second virtual machine to the second nested virtualization manager, reclaiming at least one resource allocated to the second virtual machine.

9. The method of claim 8 further comprising allocating at least one resource reclaimed from the second virtual machine to the second nested virtualization manager.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 19, 2018
From: CASTET, NICOLAS VINCENT ISMAEL
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 047237/0322 →
Continuity (1)
Related Publication 20200125382A1 · Apr 23, 2020
Cited By (2)
US 12,452,222 US 12,650,868