# US 2013/0254765 A1 · Patch applying method for virtual machine, storage system adopting patch applying method, and computer system

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

- Number: US 2013/0254765 A1
- Document ID: US20130254765A1
- Status: Published application
- Kind: A1
- Application number: 13/500,891
- Filed: 2012-03-23
- Published: 2013-09-26
- Earliest claimed: 2012-03-23
- Assignees: Hitachi, Ltd.
- Inventors: Daisuke Shinohara; Wataru Okada
- Web page: https://patentgrep.com/patent/US20130254765A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a computer system composed of a computer in which a plurality of VMs (Virtual Machines) are operated and a storage system, when a patch of an OS in the VM is applied, update data ac companying the application of the patch is stored in each VM image, causing increase of load of the storage system accompanying the concentration of read requests and the elongation of the patch applying process time. Therefore, the present invention provides a high-speed patch applying method to the VMs. When a patch applying request from a user using the VM is received and a patch is applied to the first VM, the patch is applied after creating a replication of the original GI (Golden Image) by which a new GI is created, and the new GI is used when the patch is applied to the second and subsequent VMs. During a patch applying process of the VM, a VM image is created from a new GI, and a path information related to the VM image is changed to thereby execute the patch applying process.

## Claims

### Claim 1

A storage system coupled to a computer in which a plurality of virtual computers are operated, comprising a controller and a plurality of memory devices,
wherein the storage system is configured to:
store OS data in a first volume provided by the plurality of memory devices; and
provide a plurality of first virtual volumes to which the first volume is allocated;
wherein the plurality of virtual computers being operated using any one of OS images provided by each of the plurality of first virtual volumes; and
wherein the controller is configured to:
create a replication of the first volume storing the OS data when a patch applying request is received from the computer to at least two or more first virtual computers;
create a second volume by applying a patch having received the patch applying request to the replicated volume;
generate a plurality of second virtual volumes to which the second volume is allocated; and
switch the allocation of each of the first virtual computers from the first virtual volumes to any one of the plurality of second virtual volumes.

### Claim 2 (depends on 1)

The storage system according to claim 1, wherein
the replication of the first volume is performed by having the data stored in the first volume copied to a different volume or by having a new virtual volume associated with the first volume created.

### Claim 3 (depends on 1)

The storage system according to claim 1, wherein
in the first virtual computers, regarding a second virtual computer in which the allocated first virtual volume has difference data regarding the OS data stored in the first volume, the switching is not performed for the first volume allocated to the second virtual computer.

### Claim 4 (depends on 1)

The storage system according to claim 1, wherein
in the first virtual computers, if a second virtual computer exists in which the allocated first virtual volume has difference data regarding the OS data stored in the first volume, the existence is notified to a user having requested execution of a patch applying process.

### Claim 5 (depends on 4)

The storage system according to claim 4, wherein
a replication of the first volume is created when a request to execute a test with respect to the second virtual computer is received;
a patch having received the patch applying request is applied to the replication of the first volume;
a test volume is created by applying difference data stored in the first virtual volume allocated to the second virtual computer; and
a result of having performed the test on whether or not the test volume has no problem is notified.

### Claim 6 (depends on 5)

The storage system according to claim 5, wherein
if it is determined based on the test result that there is a problem, the switching is not performed regarding a first volume allocated to the second virtual computer.

### Claim 7

A computer system comprising a computer in which a plurality of virtual computers are operated and a storage system coupled to the plurality of computers,
wherein the storage system comprising a controller and a plurality of memory devices,
stores OS data in a first volume provided by using the plurality of memory devices; and
provides a plurality of first virtual volumes to which the first volume is allocated;
wherein the plurality of virtual computers being operated using any one of OS images provided by each of the plurality of first virtual volumes; and
wherein the controller is configured to
create a replication of the first volume storing the OS data when a patch applying request is received from the computer to at least two or more first virtual computers;
create a second volume by applying a patch having received the patch applying request to the replicated volume;
generate a plurality of second virtual volumes to which the second volume is allocated; and
switch the allocation of each of the first virtual computers from the first virtual volumes to the second virtual volumes.

### Claim 8 (depends on 7)

The computer system according to claim 7, wherein
the replication of the first volume is performed by having the data stored in the first volume copied to a different volume or by having a virtual volume associated with the first volume created.

### Claim 9 (depends on 7)

The computer system according to claim 7, wherein
in the first virtual computers, regarding a second virtual computer in which the allocated first virtual volume has difference data regarding the OS data stored in the first volume, the switching is not performed for the first volume allocated to the second virtual computer.

### Claim 10 (depends on 7)

The computer system according to claim 7, wherein
in the first virtual computers. if a second virtual computer exists in which the allocated first virtual volume has difference data regarding the OS data stored in the first volume, the existence is notified to a user having requested execution of a patch applying process.

### Claim 11 (depends on 10)

The computer system according to claim 10, wherein
a replication of the first volume is created when a request to execute a test with respect to the second virtual computer is received;
a patch having received the patch applying request is applied to the replication of the first volume;
a test volume is created by applying difference data stored in the first virtual volume allocated to the second virtual computer; and
a result of having performed the test on whether or not the test volume has no problem is notified.

### Claim 12 (depends on 11)

The computer system according to claim 11, wherein
if it is determined based on the test result that there is a problem, the switching is not performed regarding a first volume allocated to the second virtual computer.

### Claim 13

A patch applying method in a computer system composed of a computer in which a plurality of virtual computers are operated and a storage system coupled to the plurality of computers,
wherein the storage system comprising a controller and a plurality of memory devices,
stores OS data in a first volume provided by using the plurality of memory devices; and
provides a plurality of first virtual volumes to which the first volume is allocated;
wherein the plurality of virtual computers being operated using any one of OS images provided by each of the plurality of first virtual volumes; and
wherein the controller creates a replication of the first volume storing the OS data when a patch applying request is received from the computer to at least two or more first virtual computers;
creates a second volume by applying a patch having received the patch applying request to the replicated volume;
generates a plurality of second virtual volumes to which the second volume is allocated; and
switches the allocation of each of the first virtual computers from the first virtual volumes to any one of the plurality of second virtual volumes.

### Claim 14 (depends on 13)

The patch applying method according to claim 13, wherein
the replication of the first volume is performed by having the data stored in the first volume copied to a different volume or by having a virtual volume associated with the first volume created.

### Claim 15 (depends on 13)

The patch applying method according to claim 13, wherein
in the first virtual computers, regarding a second virtual computer in which the allocated first virtual volume has difference data regarding the OS data stored in the first volume, the switching is not performed for the first volume allocated to the second virtual computer.

### Claim 16 (depends on 13)

The patch applying method according to claim 13, wherein
in the first virtual computers, if a second virtual computer exists in which the allocated first virtual volume has difference data regarding the OS data stored in the first volume, the existence is notified to a user having requested execution of a patch applying process.

### Claim 17 (depends on 16)

The patch applying method according to claim 16, wherein
a replication of the first volume is created when a request to execute a test with respect to the second virtual computer is received;
a patch having received the patch applying request is applied to the replication of the first volume;
a test volume is created by applying difference data stored in the first virtual volume allocated to the second virtual computer; and
a result of having performed the test on whether or not the test volume has no problem is notified.

### Claim 18 (depends on 17)

The patch applying method according to claim 17, wherein
if it is determined based on the test result that there is a problem, the switching is not performed regarding a first volume allocated to the second virtual computer.
