# US 2019/0171435 A1 · Distributed upgrade in virtualized computing environments

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0171435 A1
- Document ID: US20190171435A1
- Status: Published application
- Kind: A1
- Application number: 15/832,785
- Filed: 2017-12-06
- Published: 2019-06-06
- Earliest claimed: 2017-12-06
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Ajay PANDE; Prashant SHELKE; Avinash BHATTARMAKKI
- Web page: https://patentgrep.com/patent/US20190171435A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 41/046: comprising network management agents or mobile agents therefor
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 43/20: the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Example methods and systems to perform distributed upgrade of a component in a virtualized computing environment are disclosed. One method may include processing an upgrade bundle and querying a status file saved on the component to obtain an upgrade progress of the component. In response to a first task identifier indicating a completion of a first task associated with a first upgrade step, the method may include performing a second task and recording a second task identifier of the second task to indicate the completion or failure of the second task in the status file. In response to the first task identifier indicating a failure of the first task, the method may include performing the first task and updating the first task identifier to indicate the completion or failure of the first task in the status file.

## Claims

### Claim 1

A method to perform distributed upgrade of a component in a virtualized computing environment, comprising:
processing an upgrade bundle comprising a main upgrade logic and an upgrade step logic, wherein the main upgrade logic is configured to orchestrate the upgrade process of the component, and the upgrade step logic is configured to alter an operation of the component;
querying, by the upgrade logic, a status file saved on the component to obtain an upgrade progress of the component, wherein the upgrade progress is associated with a first task identifier of a first task, which corresponds to a first upgrade step associated with the operation; and
in response to the first task identifier indicating a completion of the first task, performing a second task; and
recording, by the upgrade logic, a second task identifier of the second task to indicate the completion or failure of the second task in the status file;
in response to the first task identifier indicating a failure of the first task, performing the first task; and
updating, by the upgrade logic, the first task identifier to indicate the completion or failure of the first task in the status file.

### Claim 2 (depends on 1)

The method of claim 1, further comprising downloading the upgrade bundle in response to a command received from a management plane module of a manager in the virtualized computing environment.

### Claim 3 (depends on 1)

The method of claim 1, further comprising copying an image of a first operating system of the component and saving the image to a first operating system partition of the component.

### Claim 4 (depends on 3)

The method of claim 3, further comprising creating a second operating system partition of the component, installing a second operating system of the component in the second operating system partition and rebooting the component in the second operating system partition.

### Claim 5 (depends on 4)

The method of claim 4, further comprising: in response to a failure of rebooting the component in the second operating system partition, rebooting the component in the first operating system partition based on the saved image.

### Claim 6 (depends on 1)

The method of claim 1, further comprising transmitting a copy of the status file to a distributed database accessible by a first upgrade coordinator of a first manager in the virtualized computing environment.

### Claim 7 (depends on 6)

The method of claim 6, further comprising performing a failover to activate a second upgrade coordinator on the component to access the copy of the status file, wherein the component is a second manager of the virtualized computing environment.

### Claim 8

A method to perform distributed upgrade of a component of a data plane, a control plane, or a management plane in a virtualized computing environment including one or more components, comprising:
collecting information associated with all the components;
preparing a upgrade plan by associating a first set of tasks of the upgrade plan with a first manager and a second set of tasks of the upgrade plan with a second manager based on the collected information; and
distributing the first set of tasks to a first upgrade coordinator of the first manager and the second set of tasks to a second upgrade coordinator of the second manager.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
concurrently carrying out the first set of tasks with the first upgrade coordinator and the second set of tasks with the second upgrade coordinator to upgrade the components of the data plane, the control plane, or the management plane.

### Claim 10 (depends on 8)

The method of claim 8, wherein the upgrade plan is accessed by the first manager and the second manager via a REST new API channel.

### Claim 11 (depends on 9)

The method of claim 9, further comprising recording the status of the first set of tasks and the second set of tasks being carried out in a distributed database accessible by the first manager and the second manager.

### Claim 12

A non-transitory computer-readable storage medium that includes a set of instructions which, in response to execution by a processor of a computer system, cause the processor to implement a method of performing distributed upgrade of a component in a virtualized computing environment, wherein the method comprises:
processing an upgrade bundle comprising a main upgrade logic and an upgrade step logic, wherein the main upgrade logic is configured to orchestrate the upgrade process of the component, and the upgrade step logic is configured to alter an operation of the component;
querying, by the upgrade logic, a status file saved on the component to obtain an upgrade progress of the component, wherein the upgrade progress is associated with a first task identifier of a first task corresponding to a first upgrade step associated with the operation; and
in response to the first task identifier indicating a completion of the first task, performing a second task; and
recording, by the upgrade logic, a second task identifier of the second task to indicate the completion or failure of the second task in the status file;
in response to the first task identifier indicating a failure of the first task, performing the first task; and
updating, by the upgrade logic, the first task identifier to indicate the completion or failure of the first task in the status file.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the method further comprises downloading the upgrade bundle in response to a command received from a management plane module of a manager in the virtualized computing environment.

### Claim 14 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the method further comprises copying an image of a first operating system of the component and saving the image to a first operating system partition of the component.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the method further comprises creating a second operating system partition of the component, installing a second operating system of the component in the second operating system partition and rebooting the component in the second operating system partition.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises: in response to a failure of rebooting the component in the second operating system partition, rebooting the component in the first operating system partition based on the saved image.

### Claim 17 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the method further comprises transmitting a copy of the status file to a distributed database accessible by a first upgrade coordinator of a first manager in the virtualized computing environment.

### Claim 18 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the method further comprising performing a failover to activate a second upgrade coordinator on the component to access the copy of the status file, wherein the component is a second manager of the virtualized computing environment.

### Claim 19

A non-transitory computer-readable storage medium that includes a set of instructions which, in response to execution by a processor of a computer system, cause the processor to implement a method of performing distributed upgrade of a component of a data plane, a control plane, or a management plane in a virtualized computing environment including one or more components, wherein the method comprises:
collecting information associated with all the components;
preparing a upgrade plan by associating a first set of tasks of the upgrade plan with a first manager and a second set of tasks of the upgrade plan with a second manager based on the collected information; and
distributing the first set of tasks to a first upgrade coordinator of the first manager and the second set of tasks to a second upgrade coordinator of the second manager

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the method further comprises concurrently carrying out the first set of tasks with the first upgrade coordinator and the second set of tasks with the second upgrade coordinator to upgrade the components of the data plane, the control plane, or the management plane.

### Claim 21 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, wherein the method further comprises recording the status of the first set of tasks and the second set of tasks being carried out in a distributed database accessible by the first manager and the second manager.

### Claim 22

A computer system configured to perform performing distributed upgrade of a component in a virtualized computing environment, comprising:
a processor; and
a non-transitory computer-readable medium having stored thereon instructions that, in response to execution by the processor, cause the processor to:
process an upgrade bundle comprising a main upgrade logic and an upgrade step logic, wherein the main upgrade logic is configured to orchestrate the upgrade process of the component and the upgrade step logic is configured to alter an operation of the component;
query, by the upgrade logic, a status file saved on the component to obtain an upgrade progress of the component, wherein the upgrade progress is associated with a first task identifier of a first task corresponding to a first upgrade step associated with the operation; and
in response to the first task identifier indicating a completion of the first task, perform a second task; and
record, by the upgrade logic, a second task identifier of the second task to indicate the completion or failure of the second task in the status file;
in response to the first task identifier indicating a failure of the first task, perform the first task; and
update, by the upgrade logic, the first task identifier to indicate the completion or failure of the first task in the status file.

### Claim 23 (depends on 22)

The computer system of claim 22, wherein the non-transitory computer-readable medium having stored thereon additional instructions that, when executed by the processor, cause the processor to download the upgrade bundle in response to a command received from a management plane module of a manager in the virtualized computing environment.

### Claim 24 (depends on 22)

The computer system of claim 22, wherein the non-transitory computer-readable medium having stored thereon additional instructions that, when executed by the processor, cause the processor to copy an image of a first operating system of the component and save the image to a first operating system partition of the component.

### Claim 25 (depends on 24)

The computer system of claim 24, wherein the non-transitory computer-readable medium having stored thereon additional instructions that, when executed by the processor, cause the processor to install a second operating system of the component in the second operating system partition and reboot the component in the second operating system partition.

### Claim 26 (depends on 25)

The computer system of claim 25, wherein the non-transitory computer-readable medium having stored thereon additional instructions that, when executed by the processor, cause the processor to: in response to a failure of rebooting the component in the second operating system partition, reboot the component in the first operating system partition based on the saved image.

### Claim 27 (depends on 22)

The computer system of claim 22, wherein the non-transitory computer-readable medium having stored thereon additional instructions that, when executed by the processor, cause the processor to, activate a second upgrade coordinator on the component to access a copy of the status file saved on a distributed database accessible by a first upgrade coordinator of a first manager in the virtualized computing environment.

### Claim 28

A computer system configured to perform performing distributed upgrade of a component of a data plane, a control plane, or a management plane in a virtualized computing environment including one or more components, comprising:
a processor; and
a non-transitory computer-readable medium having stored thereon instructions that, in response to execution by the processor, cause the processor to:
collect information associated with all the components;
prepare a upgrade plan by associating a first set of tasks of the upgrade plan with a first manager and a second set of tasks of the upgrade plan with a second manager based on the collected information; and
distribute the first set of tasks to a first upgrade coordinator of the first manager and the second set of tasks to a second upgrade coordinator of the second manager

### Claim 29 (depends on 28)

The computer system of claim 28, wherein the non-transitory computer-readable medium having stored thereon additional instructions that, when executed by the processor, cause the processor to, concurrently carry out the first set of tasks with the first upgrade coordinator and the second set of tasks with the second upgrade coordinator to upgrade the components of the data plane, the control plane, or the management plane.

### Claim 30 (depends on 28)

The computer system of claim 28, further comprising a REST new API channel for the first manager and the second manager to access the upgrade plan.
