IP Library Granted Patent US 11,645,158
Granted Patent B2
US 11,645,158 · App. 17/349,935 · Granted May 9, 2023

Automated rollback in virtualized computing environments

Inventors: Prashant Shelke (Pune, IN); Avinash Bhattarmakki (Pune, IN); Ashish Agrawal (Pune, IN); Makarand Gawade (Pune, IN); Yogesh Vhora (Pune, IN)
Assignee: VMWARE, INC.
G06F11/1433G06F8/65G06F9/45558G06F2009/4557G06F2201/84
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,645,158
App. No.
17/349,935
Granted
May 9, 2023
Kind
B2
Abstract

A rollback can be performed after completing an upgrade to components of a virtualized computing environment. When the upgrade is performed, an upgrade bundle having rollback scripts is provided to edges, hosts, and managers in the virtualized computing environment that are to be upgraded. When a rollback is to be performed, the rollback scripts are executed, and the components are rolled back in a reverse order relative to their upgrade order. Data and configuration checking are performed to validate the results of the rollback.

Claims (52)

1. A method to perform a rollback in a virtualized computing environment having an edge, a host, and a manager, the method comprising:

generating an upgrade bundle to include a rollback script in addition to an upgrade script;

after completion of an upgrade, from a first version to a second version, of the edge, the host, and the manager using the upgrade script and in accordance with an upgrade order, initiating the rollback to return the edge, the host, and the manager from the second version to the first version; and

executing the rollback script to perform and complete the rollback, wherein the rollback is performed in accordance with a rollback order that is a reverse of the upgrade order.

2. The method of claim 1 , further comprising:

polling each of the manager, the host, and the edge for a status of the rollback; and.

receiving the status of the rollback from each of the manager, the host, and the edge.

3. The method of claim 1 , wherein:

the upgrade order is the edge first, the host next, and the manager last; and

the rollback order is the manager first, the host next, and the edge last.

4. The method of claim 1 , wherein the upgrade script is deleted after the upgrade is completed, and wherein the rollback script remains after the upgrade is completed.

5. The method of claim 1 , wherein:

the rollback script resides at the edge and at the manager, after the completion of the upgrade of the edge and the manager; and

the rollback script resides remotely from the host and is absent at the host, after the completion of the upgrade of the host.

6. The method of claim 1 , wherein initiating the rollback includes placing at least one of the manager, the host, and the edge into a quiescent mode before completing their respective rollback.

7. The method of claim 1 , wherein executing the rollback script includes restoring configuration files and data, corresponding to the first version, from a first storage partition amongst first and second storage partitions, and wherein the second storage partition stores configuration files and data corresponding to the second version.

8. A non-transitory computer-readable storage medium that includes instructions which, in response to execution by a processor, cause the processor to implement a method to perform a rollback in a virtualized computing environment having an edge, a host, and a manager, wherein the method comprises:

generating an upgrade bundle to include a rollback script in addition to an upgrade script;

after completion of an upgrade, from a first version to a second version, of the edge, the host, and the manager using the upgrade script and in accordance with an upgrade order, initiating the rollback to return the edge, the host, and the manager from the second version to the first version; and

executing the rollback script to perform and complete the rollback, wherein the rollback is performed in accordance with a rollback order that is a reverse of the upgrade order.

9. The non-transitory computer-readable storage medium of claim 8 , wherein the method further comprises:

polling each of the manager, the host, and the edge for a status of the rollback; and.

receiving the status of the rollback from each of the manager, the host, and the edge.

10. The non-transitory computer-readable storage medium of claim 8 , wherein:

the upgrade order is the edge first, the host next, and the manager last; and

the rollback order is the manager first, the host next, and the edge last.

11. The non-transitory computer-readable storage medium of claim 8 , wherein the upgrade script is deleted after the upgrade is completed, and wherein the rollback script remains after the upgrade is completed.

12. The non-transitory computer-readable storage medium of claim 8 , wherein:

the rollback script resides at the edge and at the manager, after the completion of the upgrade of the edge and the manager; and

the rollback script resides remotely from the host and is absent at the host, after the completion of the upgrade of the host.

13. The non-transitory computer-readable storage medium of claim 8 , wherein initiating the rollback includes placing at least one of the manager, the host, and the edge into a quiescent mode before completing their respective rollback.

14. The non-transitory computer-readable storage medium of claim 8 , wherein executing the rollback script includes restoring configuration files and data, corresponding to the first version, from a first storage partition amongst first and second storage partitions, and wherein the second storage partition stores configuration files and data corresponding to the second version.

15. A computer system, comprising:

a processor; and

a non-transitory computer-readable storage medium coupled to the processor and that includes instructions which, in response to execution by the processor, cause the processor to perform operations for a rollback in a virtualized computing environment having an edge, a host, and a manager, wherein the operations comprise:

generate an upgrade bundle to include a rollback script in addition to an upgrade script;

after completion of an upgrade, from a first version to a second version, of the edge, the host, and the manager using the upgrade script and in accordance with an upgrade order, initiate the rollback to return the edge, the host, and the manager from the second version to the first version; and

execute the rollback script to perform and complete the rollback, wherein the rollback is performed in accordance with a rollback order that is a reverse of the upgrade order.

16. The computer system of claim 15 , wherein the operations further comprise:

poll each of the manager, the host, and the edge for a status of the rollback; and.

receive the status of the rollback from each of the manager, the host, and the edge.

17. The computer system of claim 15 , wherein:

the upgrade order is the edge first, the host next, and the manager last; and

the rollback order is the manager first, the host next, and the edge last.

18. The computer system of claim 15 , wherein the upgrade script is deleted after the upgrade is completed, and wherein the rollback script remains after the upgrade is completed.

19. The computer system of claim 15 , wherein:

the rollback script resides at the edge and at the manager, after the completion of the upgrade of the edge and the manager; and

the rollback script resides remotely from the host and is absent at the host, after the completion of the upgrade of the host.

20. The computer system of claim 15 , wherein the operations to initiate the rollback includes operations that comprise:

place at least one of the manager, the host, and the edge into a quiescent mode before completing their respective rollback.

21. The computer system of claim 15 , wherein the operations to execute the rollback script includes operations that comprise:

restore configuration files and data, corresponding to the first version, from a first storage partition amongst first and second storage partitions, and wherein the second storage partition stores configuration files and data corresponding to the second version.

Assignments (2)
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2021
From: SHELKE, PRASHANT; BHATTARMAKKI, AVINASH; AGRAWAL, ASHISH; GAWADE, MAKARAND; VHORA, YOGESH
To: VMWARE, INC.
Reel/Frame 056569/0678 →
Continuity (1)
Related Publication 20220405171A1 · Dec 22, 2022
Cited By (1)
US 12,367,104