# US 2011/0239215 A1 · Virtual machine management apparatus

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

- Number: US 2011/0239215 A1
- Document ID: US20110239215A1
- Status: Published application
- Kind: A1
- Application number: 13/036,840
- Filed: 2011-02-28
- Published: 2011-09-29
- Earliest claimed: 2010-03-24
- Assignees: Fujitsu Limited
- Inventors: Koji SUGAI
- Web page: https://patentgrep.com/patent/US20110239215A1

## CPC

- G06F 9/5088: {involving task migration}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An arrangement control unit of a management server connected to servers on which VMs operate collects information indicating a physical resource capacity used by each VM in the servers; calculates a reserve capacity that is a physical resource capacity expected to be further required for each VM to operate according to the physical resource capacity currently used by each VM; and selects any of VMs as a target VM to be migrated, and select as a destination server, a server having a free physical resource capacity which can accommodate the physical resource capacity used by the target VM to be migrated and the reserve capacity necessary therefor among the servers; and a VM control unit of the management server migrates the target VM to be migrated to the destination server.

## Claims

### Claim 1

A computer-readable, non-transitory medium storing a virtual machine management program causing a computer, which is able to communicate with two or more servers each on which a virtual machine operates, to execute a process, the process comprising:
collecting information, from which a physical resource capacity currently used by each virtual machine running on the each server is able to be specified;
calculating a reserve capacity for each virtual machine based on the physical resource capacity currently used by each virtual machine which is specified from the collected information, the reserve capacity being a physical resource capacity that is expected to be further required for each virtual machine to operate;
selecting at least one of the virtual machines operating on each of the two or more servers as a target virtual machine to be migrated, and selecting a destination server to which the target virtual machine to be migrated is migrated among the two or more servers so that a difference between the reserve capacity for a virtual machine running on the destination server and the reserve capacity for the target virtual machine to be migrated requires is less than a difference between a reserve capacity for a virtual machine running on another server and the reserve capacity for the target virtual machine to be migrated; and
migrating the target virtual machine to be migrated to the destination server.

### Claim 2 (depends on 1)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 1, wherein
the calculating process calculates for each virtual machine a value obtained by subtracting the physical resource capacity used by the virtual machine from a physical resource capacity allocated to the virtual machine, as the reserve capacity of the virtual machine.

### Claim 3 (depends on 1)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 1, wherein
the calculating process calculates for each server an average of the reserve capacities of the virtual machines operating on the server; and
the selecting process selects, as a destination server, a server in which a difference between the reserve capacity of the target virtual machine to be migrated and the average of the reserve capacities of the virtual machines operating thereon is less than that of another server.

### Claim 4 (depends on 1)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 1, further comprising:
recording, as history, the physical resource capacity used by each virtual machine operating on each of the two or more servers on a storage device, and wherein
the calculating process calculates the reserve capacity based on the physical resource capacity currently used by each virtual machine and a physical resource capacity used by the virtual machine within a predetermined past period, referring to the history.

### Claim 5 (depends on 4)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 4, wherein
the calculating process determines a maximum physical resource capacity used by the virtual machines within the predetermined past period among the used physical resource capacities recorded as the history, and calculates for each virtual machine a value obtained by subtracting the physical resource capacity used by the virtual machine from a physical resource capacity allocated to the virtual machine, as the reserve capacity of the virtual machine, when the maximum used capacity matches the physical resource capacity allocated to the virtual machine, whereas calculates for each virtual machine a value obtained by subtracting the physical resource capacity used by the virtual machine from the maximum used value when the maximum used value is less than the physical resource capacity allocated to the virtual machine.

### Claim 6 (depends on 1)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 1, wherein
the calculating process calculates a required resource capacity of each server by summing up all or some of the physical resources and the reserve capacities of all virtual machines running on the same server, and
the selecting process, when the required resource capacity of any of the two or more servers is greater than its physical resource capacity, selects at least one of the virtual machines operating on the server as the target machine to be migrated.

### Claim 7 (depends on 1)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 1, wherein
the calculating process calculates a required resource capacity for each server by summing up all or some of the physical resources and the reserve capacities of all virtual machines running on the same server,
the selecting process, when the resource capacity used by all virtual machines running on any single server among the two or more servers is less than a lower limit of a permitted available range of a physical resource capacity that is set in the server, selects all of the virtual machines running on the server as the target to be migrated, and
the migrating process, after the target virtual machines to be migrated are migrated to the destination server, shuts down the server.

### Claim 8 (depends on 1)

The computer-readable, non-transitory medium storing a virtual machine management program causing the computer to execute a process according to claim 1, wherein
the physical resources are one or both of a CPU and a memory.

### Claim 9

A virtual machine management apparatus which is able to communicate with two or more servers each on which a virtual machine operates, the virtual machine management apparatus comprising:
collection means for collecting information, from which a physical resource capacity currently used by each virtual machine running on the each server is able to be specified;
calculation means for calculating a reserve capacity for each virtual machine based on the physical resource capacity currently used by each virtual machine which is specified from the collected information, the reserve capacity being a physical resource capacity that is expected to be further required for each virtual machine to operate;
selection means for selecting at least one of the virtual machines operating on each of the two or more servers as a target virtual machine to be migrated, and selecting a destination server to which the target virtual machine to be migrated is migrated among the two or more servers so that a difference between the reserve capacity for a virtual machine running on the destination server and the reserve capacity for the target virtual machine to be migrated requires is less than a difference between a reserve capacity for a virtual machine running on another server and the reserve capacity for the target virtual machine to be migrated; and
migration means for migrating the target virtual machine to be migrated to the destination server.

### Claim 10

A virtual machine management apparatus which is able to communicate with two or more servers each on which a virtual machine operates, the virtual machine management apparatus comprising
a processor to
collect information, from which a physical resource capacity currently used by each virtual machine running on the each server is able to be specified,
calculate a reserve capacity for each virtual machine based on the physical resource capacity currently used by each virtual machine which is specified from the collected information, the reserve capacity being a physical resource capacity that is expected to be further required for each virtual machine to operate,
select at least one of the virtual machines operating on each of the two or more servers as a target virtual machine to be migrated, and select a destination server to which the target virtual machine to be migrated is migrated among the two or more servers so that a difference between the reserve capacity for a virtual machine running on the destination server and the reserve capacity for the target virtual machine to be migrated requires is less than a difference between a reserve capacity for a virtual machine running on another server and the reserve capacity for the target virtual machine to be migrated, and
migrate the target virtual machine to be migrated to the destination server.
