IP Library Granted Patent US 11,704,105
Granted Patent B2
US 11,704,105 · App. 16/871,506 · Granted Jul 18, 2023

Method, device, and computer program product for managing virtual machine upgrade

Inventors: Qin Liu (Chengdu, CN); Jie Liu (Chengdu, CN)
Assignee: EMC IP HOLDING COMPANY LLC
G06F8/65G06F9/4401G06F9/5077
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,704,105
App. No.
16/871,506
Granted
Jul 18, 2023
Kind
B2
Abstract

Embodiments of the present disclosure relate to a method, a device, and a computer program product for managing virtual machine upgrade. Provided is a method for managing virtual machine upgrade, including: determining, based on a received upgrade file for a virtual machine, a state of the virtual machine; and controlling, based on determining that the state indicates the virtual machine not being accessible via a network, installation of the upgrade file on the virtual machine via a virtual machine agent or a virtual machine manager, the virtual machine agent being capable of modifying a virtual disk of the virtual machine. Through the embodiments of the present disclosure, the installation of the upgrade file on the virtual machine can be realized when the virtual machine is not accessible via the network, whilst simplifying the virtual machine configuration and reducing the network bandwidth occupancy.

Claims (46)

1. A method for managing virtual machine upgrade, comprising:

receiving, at a virtual machine, an upgrade file from a virtual machine manager using inter-process communication when the virtual machine does not have access to a network;

determining, based on the received upgrade file for the virtual machine, a state of the virtual machine, wherein determining the state of the virtual machine includes determining, based on a state indicator received from the virtual machine manager, an operational state of the virtual machine; and

controlling, based on determining that the state of the virtual machine indicates the virtual machine not being accessible via the network, installation of the upgrade file on the virtual machine via a virtual machine agent or the virtual machine manager, the virtual machine agent being capable of modifying a virtual disk of the virtual machine, including converting the virtual disk into a file system and storing the upgrade file in the virtual disk,

wherein controlling the installation of the upgrade file on the virtual machine comprises, at least, determining, based on the operational state, whether the virtual machine is running.

2. The method according to claim 1 , wherein controlling the installation of the upgrade file on the virtual machine further comprises:

controlling, based on determining that the virtual machine is not running, the installation of the upgrade file on the virtual machine via the virtual machine agent; and

controlling, based on determining that the virtual machine is running, the installation of the upgrade file on the virtual machine via the manager.

3. The method according to claim 1 , wherein controlling the installation of the upgrade file on the virtual machine via the virtual machine agent comprises:

sending the upgrade file to the virtual machine agent; and

sending an installation request to the virtual machine agent, so that the virtual machine agent stores the upgrade file and a boot instruction in the virtual disk, and thus the virtual machine installs the upgrade file based on the boot instruction when the virtual machine starts running.

4. The method according to claim 1 , wherein controlling the installation of the upgrade file on the virtual machine via the manager comprises:

sending a request for a locator associated with the virtual machine to the manager, a file at a manager storage area indicated by the locator to be sent by the manager to the virtual machine;

sending, based on the locator received from the manager, the upgrade file to the manager storage area indicated by the locator; and

sending an installation request to the manager, so that the manager controls the virtual machine to install the upgrade file.

5. An electronic device, comprising:

at least one processing unit;

at least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions to be executed by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to execute an action, the action comprising:

receiving, at a virtual machine, an upgrade file from a virtual machine manager using inter-process communication when the virtual machine does not have access to a network;

determining, based on the received upgrade file for the virtual machine, a state of the virtual machine, wherein determining the state of the virtual machine includes determining, based on a state indicator received from the virtual machine manager, an operational state of the virtual machine; and

controlling, based on determining that the operational state of the virtual machine indicates the virtual machine not being accessible via the network, installation of the upgrade file on the virtual machine via a virtual machine agent or the virtual machine manager, the virtual machine agent being capable of modifying a virtual disk of the virtual machine, including converting the virtual disk into a file system and storing the upgrade file in the virtual disk,

wherein controlling the installation of the upgrade file on the virtual machine comprises, at least, determining, based on the operational state, whether the virtual machine in running.

6. The electronic device according to claim 5 , wherein controlling the installation of the upgrade file on the virtual machine further comprises:

controlling, based on determining that the virtual machine is not running, the installation of the upgrade file on the virtual machine via the virtual machine agent; and

controlling, based on determining that the virtual machine is running, the installation of the upgrade file on the virtual machine via the manager.

7. The electronic device according to claim 5 , wherein controlling the installation of the upgrade file on the virtual machine via the virtual machine agent comprises:

sending the upgrade file to the virtual machine agent; and

sending an installation request to the virtual machine agent, so that the virtual machine agent stores the upgrade file and a boot instruction in the virtual disk, and thus the virtual machine installs the upgrade file based on the boot instruction when the virtual machine starts running.

8. The electronic device according to claim 5 , wherein controlling the installation of the upgrade file on the virtual machine via the manager comprises:

sending a request for a locator associated with the virtual machine to the manager, a file at a manager storage area indicated by the locator to be sent by the manager to the virtual machine;

sending, based on the locator received from the manager, the upgrade file to the manager storage area indicated by the locator; and

sending an installation request to the manager, so that the manager controls the virtual machine to install the upgrade file.

9. A computer program product, the computer program product being tangibly stored in a non-transitory computer storage medium and comprising machine-executable instructions, the machine-executable instructions, when executed by a device, causing the device to perform operations, the operations comprising:

receiving, at a virtual machine, an upgrade file from a virtual machine manager using inter-process communication when the virtual machine does not have access to a network;

determining, based on the received upgrade file for the virtual machine, a state of the virtual machine, wherein determining the state of the virtual machine includes determining, based on a state indicator received from the manager, an operational state of the virtual machine; and

controlling, based on determining that the operational state of the virtual machine indicates the virtual machine not being accessible via the network, installation of the upgrade file on the virtual machine via a virtual machine agent or the virtual machine manager, the virtual machine agent being capable of modifying a virtual disk of the virtual machine, including converting the virtual disk into a file system and storing the upgrade file in the virtual disk,

wherein controlling the installation of the upgrade file on the virtual machine comprises, at least, determining, based on the operational state, whether the virtual machine is running.

10. The computer program product according to claim 9 , wherein controlling the installation of the upgrade file on the virtual machine further comprises:

controlling, based on determining that the virtual machine is not running, the installation of the upgrade file on the virtual machine via the virtual machine agent; and

controlling, based on determining that the virtual machine is running, the installation of the upgrade file on the virtual machine via the manager.

11. The computer program product according to claim 9 , wherein controlling the installation of the upgrade file on the virtual machine via the virtual machine agent comprises:

sending the upgrade file to the virtual machine agent; and

sending an installation request to the virtual machine agent, so that the virtual machine agent stores the upgrade file and a boot instruction in the virtual disk, and thus the virtual machine installs the upgrade file based on the boot instruction when the virtual machine starts running.

12. The computer program product according to claim 9 , wherein controlling the installation of the upgrade file on the virtual machine via the manager comprises: sending a request for a locator associated with the virtual machine to the manager, a file at a manager storage area indicated by the locator to be sent by the manager to the virtual machine;

sending, based on the locator received from the manager, the upgrade file to the manager storage area indicated by the locator; and

sending an installation request to the manager, so that the manager controls the virtual machine to install the upgrade file.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053574/0221) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053578/0183) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060332/0864 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053573/0535) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0106 →
RELEASE OF SECURITY INTEREST AT REEL 053531 FRAME 0108 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0371 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053578/0183 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053573/0535 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053574/0221 →
SECURITY AGREEMENT Recorded Aug 18, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 053531/0108 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 11, 2020
From: LIU, QIN; LIU, JIE
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 052625/0075 →
Priority Claims (1)
CN 202010117254.7 · Feb 25, 2020 · national
Continuity (1)
Related Publication 20210263721A1 · Aug 26, 2021
Cited By (1)
US 12,210,819