IP Library Patent Application 17974687
Patent Application
App. No. 17/974,687

UNATTENDED SNAPSHOT REVERSION FOR UPGRADES

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 None
App. No.
17/974,687
Abstract

The present disclosure is related to methods, systems, and machine-readable media for unattended snapshot reversion for upgrades. A request to upgrade a virtual computing instance (VCI) in a software-defined datacenter (SDDC) can be received. A snapshot of the VCI can be created, wherein the snapshot excludes a predefined storage partition associated with the VCI. An upgrade of the VCI can be executed. Executing the upgrade can include performing a plurality of upgrade steps and storing, in the partition, information pertaining to the execution of the upgrade. The snapshot can be reverted to responsive to a cancellation of the upgrade. The upgrade of the VCI can be re-executed from the snapshot. Re-executing the upgrade can include performing a different plurality of upgrade steps determined based on the information pertaining to the execution of the upgrade.

Claims (40)

1 . A method, comprising:

receiving a request to upgrade a virtual computing instance (VCI) in a software-defined datacenter (SDDC):

creating a snapshot of the VCI, wherein the snapshot excludes a predefined storage partition associated with the VCI;

executing an upgrade of the VCI, wherein executing the upgrade includes performing a plurality of upgrade steps and storing, in the partition, information pertaining to the execution of the upgrade;

reverting to the snapshot responsive to a cancellation of the upgrade; and

re-executing the upgrade of the VCI from the snapshot, wherein re-executing the upgrade includes performing a different plurality of upgrade steps determined based on the information pertaining to the execution of the upgrade.

2 . The method of claim 1 , wherein the method includes creating the snapshot of the VCI by the VCI.

3 . The method of claim 1 , wherein the method includes storing, in the partition, information pertaining to the execution of the upgrade while the upgrade is being executed.

4 . The method of claim 1 , wherein the information pertaining to the execution of the upgrade includes a log corresponding to the execution of the upgrade.

5 . The method of claim 4 , wherein the method includes providing the log to a user interface responsive to the cancellation of the upgrade.

6 . The method of claim 1 , wherein the cancellation was caused by a user input.

7 . The method of claim 1 , wherein the cancellation was caused by a failure of the execution of the upgrade.

8 . The method of claim 1 , wherein the method includes providing a reversion notification responsive to another cancellation of upgrade following the reversion.

9 . The method of claim 1 , wherein the method includes providing an upgrade notification responsive to a completion of the upgrade.

10 . A non-transitory machine-readable medium having instructions stored thereon which, when executed by a processor, cause the processor to:

create a snapshot of a virtual computing instance (VCI) in a software-defined datacenter (SDDC) responsive to receiving a request to upgrade the VCI, wherein the snapshot excludes a first predefined storage partition associated with the VCI and a second predefined storage partition associated with the VCI;

execute an upgrade of the VCI, wherein executing the upgrade includes:

performing a plurality of upgrade steps;

storing, in the first partition, self-correction information pertaining to the execution of the upgrade; and

storing, in the second partition, user-relevant information pertaining to the execution of the upgrade;

revert to the snapshot responsive to a cancellation of the upgrade; and

re-execute the upgrade of the VCI from the snapshot, wherein re-executing the upgrade includes performing a different plurality of upgrade steps determined based on the self-correction information pertaining to the execution of the upgrade.

11 . The medium of claim 10 , including instructions to provide the user-relevant information to a user interface responsive to the reversion.

12 . The medium of claim 10 , including instructions to store, in the first partition, a flag file indicating the reversion to the snapshot.

13 . The medium of claim 12 , including instructions to restart the VCI subsequent to the reversion to the snapshot and perform a check for the flag file.

14 . The medium of claim 13 , including instructions to re-execute the upgrade of the VCI from the snapshot responsive to determining that the flag file is stored in the first partition.

15 . The medium of claim 10 , wherein the user-relevant information pertaining to the execution of the upgrade includes a log corresponding to the execution of the upgrade.

16 . The medium of claim 15 , including instructions to provide the log to a user interface responsive to the cancellation of the upgrade.

17 . The medium of claim 10 , wherein the instructions to create the snapshot of the VCI are executable by the VCI.

18 . The medium of claim 10 , wherein the snapshot is a VCI snapshot or a Logical Volume Manager (LVM) snapshot.

19 . A system, comprising:

a snapshot engine configured to create a snapshot of a virtual computing instance (VCI) in a software-defined datacenter (SDDC) responsive to receiving a request to upgrade the VCI, wherein the snapshot excludes a first predefined storage partition associated with the VCI and a second predefined storage partition associated with the VCI;

an upgrade engine configured to execute an upgrade of the VCI, wherein executing the upgrade includes:

performing a plurality of upgrade steps;

storing, in the first partition, self-correction information pertaining to the execution of the upgrade; and

storing, in the second partition, user-relevant information pertaining to the execution of the upgrade;

a revert engine configured to revert to the snapshot responsive to a cancellation of the upgrade; and

a re-execution engine configured to re-execute the upgrade of the VCI from the snapshot, wherein re-executing the upgrade includes performing a different plurality of upgrade steps determined based on the self-correction information pertaining to the execution of the upgrade.

20 . The system of claim 18 , wherein the re-execution engine is configured to restart the VCI after reversion to the snapshot.

21 . The system of claim 18 , wherein the re-execution engine is configured to re-execute the upgrade of the VCI responsive to a determination that a flag file is present in the first partition.

Assignments (2)
CHANGE OF NAME Recorded Feb 27, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 066692/0103 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 27, 2022
From: SIMEONOV, TOMO VLADIMIROV; RADEV, IVAYLO RADOSLAVOV; KULKARNI, RAJENDRA; NARAYANAPPA, DHANANJAYA CHANNAPURA
To: VMWARE, INC.
Reel/Frame 061559/0143 →