IP Library Granted Patent US 10,754,702
Granted Patent B2
US 10,754,702 · App. 15/751,178 · Granted Aug 25, 2020

Technique for reconfiguring a virtual machine

Inventors: Bence Formanek (Budapest, HU); Gergely Pongrácz (Budapest, HU)
Assignee: Telefonaktiebolaget LM Ericsson (Publ)
G06F9/5077G06F9/45558G06F9/5072G06F2009/4557G06F2009/45595
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,754,702
App. No.
15/751,178
Granted
Aug 25, 2020
Kind
B2
Abstract

A technique for reconfiguring a virtual machine in a cloud computing environment is disclosed. A method implementation of the technique comprises receiving (S 310 ) a reconfiguration request from an application ( 110 ) being executed on the virtual machine in the cloud computing environment, the reconfiguration request indicating a desired resource allocation for the virtual machine, sending (S 312 ) a reconfiguration response to the application ( 110 ), the reconfiguration response including a reconfiguration offer indicating a possible resource allocation for the virtual machine, receiving (S 316 ) a reconfiguration acknowledgement from the application ( 110 ) indicating acceptance of the reconfiguration offer, and triggering (S 318 ) reconfiguration of the virtual machine so as to allocate resources to the virtual machine according to the accepted reconfiguration offer.

Claims (51)

1. A method for triggering reconfiguration of a virtual machine hosted by a computing unit in a cloud computing environment, the method comprising:

receiving a reconfiguration request from an application being executed on the virtual machine in the cloud computing environment, the reconfiguration request indicating a desired resource allocation for the virtual machine and further indicating a desired reconfiguration scheme for reconfiguring the virtual machine;

selecting a possible reconfiguration scheme to conform to the desired reconfiguration scheme, based on determining whether sufficient resources are available on the computing unit for satisfying the desired resource allocation;

sending a reconfiguration response to the application, the reconfiguration response including a reconfiguration offer indicating a possible resource allocation for the virtual machine and the selected possible reconfiguration scheme;

receiving a reconfiguration acknowledgement from the application indicating acceptance of the reconfiguration offer; and

triggering reconfiguration of the virtual machine so as to allocate resources to the virtual machine according to the accepted reconfiguration offer.

2. The method of claim 1 , wherein the method is performed by a resource controller configured to control resource allocation to virtual machines in the cloud computing environment.

3. The method of claim 1 , wherein the reconfiguration response conditionally includes the reconfiguration offer when the sufficient resources for satisfying the desired resource allocation are available at least in part.

4. The method of claim 1 , wherein the reconfiguration response conditionally includes the reconfiguration offer when the desired resource allocation does not exceed a predetermined maximum amount of resources.

5. The method of claim 1 , wherein the reconfiguration response conditionally includes the reconfiguration offer when the application has a right to initiate the reconfiguration of the virtual machine.

6. The method of claim 1 ,

wherein, if the selected possible reconfiguration scheme corresponds to a runtime reconfiguration, the triggering reconfiguration of the virtual machine comprises instructing a hypervisor having control of the virtual machine to allocate the resources to the virtual machine according to the accepted reconfiguration offer.

7. The method of claim 1 ,

wherein, if the selected possible reconfiguration scheme corresponds to a live migration, the triggering reconfiguration of the virtual machine comprises:

instructing a hypervisor having control of the virtual machine to perform live migration of the virtual machine to transfer control of the virtual machine to a destination hypervisor; and

instructing the destination hypervisor to allocate the resources to the virtual machine according to the accepted reconfiguration offer.

8. The method of claim 1 ,

wherein, if the selected possible reconfiguration scheme corresponds to an offline migration, the triggering reconfiguration of the virtual machine comprises:

instructing a hypervisor having control of the virtual machine to perform offline migration of the virtual machine to transfer control of the virtual machine to a destination hypervisor; and

instructing the destination hypervisor to allocate resources to the virtual machine according to the accepted reconfiguration offer.

9. A method for initiating reconfiguration of a virtual machine in a cloud computing environment, the method comprising an application being executed on the virtual machine hosted by a computing unit in the cloud computing environment:

sending a reconfiguration request to a resource controller configured to control resource allocation to virtual machines in the cloud computing environment, the reconfiguration request indicating a desired resource allocation for the virtual machine and further indicating a desired reconfiguration scheme for reconfiguring the virtual machine;

receiving a reconfiguration response from the resource controller, the reconfiguration response including a reconfiguration offer indicating a possible resource allocation for the virtual machine and a possible reconfiguration scheme, wherein the possible reconfiguration scheme is selected to conform to the desired reconfiguration scheme, based on determining whether sufficient resources are available on the computing unit for satisfying the desired resource allocation; and

sending a reconfiguration acknowledgement to the resource controller indicating acceptance of the reconfiguration offer.

10. The method of claim 9 , further comprising the application:

determining, prior to sending the reconfiguration request, a current local-level resource allocation for the virtual machine by querying an operating system in which the application is executed; and

generating the reconfiguration request based on the current local-level resource allocation.

11. The method of claim 9 , further comprising the application:

determining, prior to sending the reconfiguration request, a current cloud-level resource allocation relating to the virtual machine by querying a virtual machine configuration database configured to store information about resources allocated to virtual machines in the cloud computing environment; and

generating the reconfiguration request based on the current cloud-level resource allocation.

12. A resource controller for triggering reconfiguration of a virtual machine hosted by a computing unit in a cloud computing environment, the resource controller comprising:

processing circuitry;

memory containing instructions executable by the processing circuitry whereby the resource controller is operative to:

receive a reconfiguration request from an application being executed on the virtual machine in the cloud computing environment, the reconfiguration request indicating a desired resource allocation for the virtual machine and further indicating a desired reconfiguration scheme for reconfiguring the virtual machine;

select a possible reconfiguration scheme to conform to the desired reconfiguration scheme, based on a determination that whether sufficient resources are available on the computing unit to satisfy the desired resource allocation;

send a reconfiguration response to the application, the reconfiguration response including a reconfiguration offer indicating a possible resource allocation for the virtual machine and the selected possible reconfiguration scheme;

receive a reconfiguration acknowledgement from the application indicating acceptance of the reconfiguration offer; and

trigger reconfiguration of the virtual machine so as to allocate resources to the virtual machine according to the accepted reconfiguration offer.

13. The resource controller of claim 12 , wherein the reconfiguration response conditionally includes the reconfiguration offer when the sufficient resources for satisfying the desired resource allocation are available at least in part.

14. A computing unit for initiating reconfiguration of a virtual machine hosted by the computing unit in a cloud computing environment, the computing unit comprising:

processing circuitry; and

memory containing instructions belonging to an application being executed on the virtual machine in the cloud computing environment, the instructions executable by the processing circuitry whereby the computing unit is operative to:

send a reconfiguration request to a resource controller configured to control resource allocation to virtual machines in the cloud computing environment, the reconfiguration request indicating a desired resource allocation for the virtual machine and further indicating a desired reconfiguration scheme for reconfiguring the virtual machine;

receive a reconfiguration response from the resource controller, the reconfiguration response including a reconfiguration offer indicating a possible resource allocation for the virtual machine and a possible reconfiguration scheme, wherein the possible reconfiguration scheme is selected to conform to the desired reconfiguration scheme, based on a determination that whether sufficient resources are available on the computing unit to satisfy the desired resource allocation; and

send a reconfiguration acknowledgement to the resource controller indicating acceptance of the reconfiguration offer.

15. The computing unit of claim 14 , wherein the instructions are such that the computing unit is operative to

determine, prior to sending the reconfiguration request, a current local-level resource allocation for the virtual machine by querying an operating system in which the application is executed; and

generate the reconfiguration request based on the current local-level resource allocation.

16. The computing unit of claim 14 , wherein the instructions are such that the computing unit is operative to:

determine, prior to sending the reconfiguration request, a current cloud-level resource allocation relating to the virtual machine by querying a virtual machine configuration database configured to store information about resources allocated to virtual machines in the cloud computing environment; and

generate the reconfiguration request based on the current cloud-level resource allocation.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 8, 2018
From: FORMANEK, BENCE; PONGRÁCZ, GERGELY
To: TELEFONAKTIEBOLAGET L M ERICSSON (PUBL)
Reel/Frame 044864/0269 →
CHANGE OF NAME Recorded Feb 8, 2018
From: TELEFONAKTIEBOLAGET L M ERICSSON (PUBL)
To: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Reel/Frame 045281/0878 →
Continuity (1)
Related Publication 20180239648A1 · Aug 23, 2018