# US 2017/0322793 A1 · Upgrade of an operating system of a virtual machine

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

- Number: US 2017/0322793 A1
- Document ID: US20170322793A1
- Status: Published application
- Kind: A1
- Application number: 15/147,364
- Filed: 2016-05-05
- Published: 2017-11-09
- Earliest claimed: 2016-05-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Chuan Ran; Jian Qiu Wang; Yang Yang
- Web page: https://patentgrep.com/patent/US20170322793A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, and associated computer system and computer program product. One or more processors of a computer system receive an upgrade request to upgrade a base operating system (OS) of a virtual machine (VM). In response to receiving the upgrade request, the one or more processors store metadata of the VM into a resource registry. The one or more processors load a new version of the base OS onto the VM. The one or more processors retrieve, from the resource registry, the stored metadata for configuring the VM.

## Claims

### Claim 1

A method, comprising:
receiving, by one or more processors of a computer system, an upgrade request to upgrade a base operating system (OS) of a virtual machine (VM);
in response to said receiving the upgrade request, said one or more processors storing metadata of the VM into a resource registry;
said one or more processors loading a new version of the base OS onto the VM; and
said one or more processors retrieving, from the resource registry, the stored metadata for configuring the VM.

### Claim 2 (depends on 1)

The method of claim 1, wherein said receiving the upgrade request comprises: receiving a VM deletion request; and
in response to the VM deletion request including a first flag indicating that the VM deletion request is intended to upgrade the base OS of the VM, determining that the upgrade request is a request to upgrade the base OS of the VM.

### Claim 3 (depends on 2)

The method of claim 2, said method further comprising:
in response to the first flag indicating that the VM deletion request is intended to delete the VM, said one or more processors invoking a first function provided by an infrastructure to delete the VM, said VM being deployed in the infrastructure.

### Claim 4 (depends on 1)

The method of claim 1, wherein said loading the new version of the base OS comprises:
receiving a VM creation request, and
in response to the VM creation request including a second flag indicating that the VM creation request is intended to upgrade the base OS of the VM, loading the new version of the base OS.

### Claim 5 (depends on 4)

The method of claim 4, said method further comprising:
in response to the second flag indicating that the VM creation request is intended to create the VM, said one or more processors invoking a second function provided by an infrastructure to create the VM, said VM being deployed in the infrastructure.

### Claim 6 (depends on 1)

The method of claim 1, wherein said loading the new version of the base OS comprises:
said one or more processors invoking a third function provided by an infrastructure to load the new version of the base OS, said VM being deployed in the infrastructure.

### Claim 7 (depends on 1)

The method of claim 1, wherein the metadata is selected from the group consisting of an identifier of the VM, a network address of the VM, a host name of the VM, one or more services on the VM, and combinations thereof.

### Claim 8

A computer system, comprising one or more processors, one or more memories, and one or more computer readable hardware storage devices, said one or more hardware storage device containing program code executable by the one or more processors via the one or more memories to implement a method, said method comprising:
receiving, by the one or more processors, an upgrade request to upgrade a base operating system (OS) of a virtual machine (VM);
in response to said receiving the upgrade request, said one or more processors storing metadata of the VM into a resource registry;
said one or more processors loading a new version of the base OS onto the VM; and
said one or more processors retrieving, from the resource registry, the stored metadata for configuring the VM.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein said receiving the upgrade request comprises:
receiving a VM deletion request; and
in response to the VM deletion request including a first flag indicating that the VM deletion request is intended to upgrade the base OS of the VM, determining that the upgrade request is a request to upgrade the base OS of the VM.

### Claim 10 (depends on 9)

The computer system of claim 9, said method further comprising:
in response to the first flag indicating that the VM deletion request is intended to delete the VM, said one or more processors invoking a first function provided by an infrastructure to delete the VM, said VM being deployed in the infrastructure.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein said loading the new version of the base OS comprises:
receiving a VM creation request, and
in response to the VM creation request including a second flag indicating that the VM creation request is intended to upgrade the base OS of the VM, loading the new version of the base OS.

### Claim 12 (depends on 11)

The computer system of claim 11, said method further comprising:
in response to the second flag indicating that the VM creation request is intended to create the VM, said one or more processors invoking a second function provided by an infrastructure to create the VM, said VM being deployed in the infrastructure.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein said loading the new version of the base OS comprises:
said one or more processors invoking a third function provided by an infrastructure to load the new version of the base OS, said VM being deployed in the infrastructure.

### Claim 14 (depends on 8)

The computer system of claim 8, wherein the metadata is selected from the group consisting of an identifier of the VM, a network address of the VM, a host name of the VM, one or more services on the VM, and combinations thereof.

### Claim 15

A computer program product, comprising one or more computer readable hardware storage devices having computer readable program code stored therein, said program code containing instructions executable by one or more processors of a computer system to implement a method, said method comprising:
receiving, by the one or more processors, an upgrade request to upgrade a base operating system (OS) of a virtual machine (VM);
in response to said receiving the upgrade request, said one or more processors storing metadata of the VM into a resource registry,
said one or more processors loading a new version of the base OS onto the VM; and
said one or more processors retrieving, from the resource registry, the stored metadata for configuring the VM.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein said receiving the upgrade request comprises:
receiving a VM deletion request; and
in response to the VM deletion request including a first flag indicating that the VM deletion request is intended to upgrade the base OS of the VM, determining that the upgrade request is a request to upgrade the base OS of the VM.

### Claim 17 (depends on 16)

The computer program product of claim 16, said method further comprising:
in response to the first flag indicating that the VM deletion request is intended to delete the VM, said one or more processors invoking a first function provided by an infrastructure to delete the VM, said VM being deployed in the infrastructure.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein said loading the new version of the base OS comprises:
receiving a VM creation request; and
in response to the VM creation request including a second flag indicating that the VM creation request is intended to upgrade the base OS of the VM, loading the new version of the base OS.

### Claim 19 (depends on 18)

The computer program product of claim 18, said method further comprising:
in response to the second flag indicating that the VM creation request is intended to create the VM, said one or more processors invoking a second function provided by an infrastructure to create the VM, said VM being deployed in the infrastructure.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein said loading the new version of the base OS comprises:
said one or more processors invoking a third function provided by an infrastructure to load the new version of the base OS, said VM being deployed in the infrastructure.
