# US 2013/0254404 A1 · System and method for supporting live migration of virtual machines based on an extended host channel adaptor (hca) model

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

- Number: US 2013/0254404 A1
- Document ID: US20130254404A1
- Status: Published application
- Kind: A1
- Application number: 13/838,275
- Filed: 2013-03-15
- Published: 2013-09-26
- Earliest claimed: 2012-03-26
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Bjørn Dag Johnsen; Wei Lin Guay
- Web page: https://patentgrep.com/patent/US20130254404A1

## CPC

- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 15/17331: {Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 45/02: Topology update or discovery
- H04L 45/64: using an overlay routing layer
- H04L 47/76: using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L 49/358: {Infiniband Switches}
- H04L 49/70: {Virtual switches}
- H04L 67/1001: for accessing one among a plurality of replicated servers
- 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)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method can support virtual machine live migration in a network. A fabric adaptor can be associated with a plurality of virtual host channel adapters (vHCAs), and wherein each said virtual host channel adapter (vHCA) is associated with a separate queue pair (QP) space. At least one virtual machine operates to perform a live migration from a first host to a second host, wherein said at least one virtual machine is attached with a said virtual host channel adapter (vHCA) that is associated with a queue pair (QP) in a said queue pair (QP) space, and wherein said queue pair (QP) operates to signal a peer QP about the live migration and provide said peer QP with address information after migration.

## Claims

### Claim 1

A system for supporting virtual machine live migration in a network, comprising:
one or more microprocessors;
a fabric adaptor associated with on the one or more microprocessors, wherein the fabric adaptor is associated with a plurality of virtual host channel adapters (HCAs), and wherein each said virtual host channel adapter (vHCA) is associated with a separate queue pair (QP) space;
at least one virtual machine operates to perform a live migration from a first host to a second host, wherein said at least one virtual machine is attached with a said virtual host channel adapter (vHCA) that is associated with a queue pair (QP) in a said queue pair (QP) space, and
wherein said queue pair (QP) operates to signal a peer QP about the live migration and provide said peer QP with address information after migration.

### Claim 2 (depends on 1)

The system according to claim 1, further comprising:
at least one virtual machine monitor that manages the one or more virtual machines, wherein each said virtual machine is associated with a private virtual address space.

### Claim 3 (depends on 1)

The system according to claim 1, wherein:
the fabric adaptor implements at least one of a virtual switch model and an extended host channel adaptor (HCA) model.

### Claim 4 (depends on 1)

The system according to claim 1, wherein:
a suspended state can be applied to both a migrated QP and a remote peer QP connected to the migrated QP.

### Claim 5 (depends on 1)

The system according to claim 1, wherein:
special header information and/or non-solicited messages can be used for supporting communication and communication state updates between peers.

### Claim 6 (depends on 1)

The system according to claim 1, wherein:
when an incoming packet targeting an invalid vHCA is received at a host, the host can generate a local asynchronous event and send an unsolicited packet to the source of the incoming packet, and wherein the queue pair (QP) that is associated with the source of the incoming packet can automatically perform a transition to a suspended state.

### Claim 7 (depends on 1)

The system according to claim 1, wherein:
a packet sent from a migrated vHCA can contain a migration count field that can be updated before the migrated vHCA become operational again at a new location.

### Claim 8 (depends on 1)

The system according to claim 1, wherein:
a migrated vHCA can start up with QPs in a un-suspend-pending state.

### Claim 9 (depends on 1)

The system according to claim 1, further comprising:
a subnet manager that can assign a HCA port with a LID value that the subnet manager decides to use to facilitate packet forwarding to the relevant HCA ports, independent of any other LID values already associated with the HCA port.

### Claim 10 (depends on 9)

The system according to claim 9, wherein:
the subnet manager can assign admin LIDs to VMs that need unique LIDs for addressing.

### Claim 11

A method for supporting virtual machine live migration in a network, comprising:
associating a fabric adaptor with a plurality of virtual host channel adapters (HCAs), and wherein each said virtual host channel adapter (vHCA) is associated with a separate queue pair (QP) space;
performing, via at least one virtual machine, a live migration from a first host to a second host, wherein said at least one virtual machine is attached with a said virtual host channel adapter (vHCA) that is associated with a queue pair (QP) in a said queue pair (QP) space; and
signaling, via said queue pair (QP), a peer QP about the live migration and provide said peer QP with address information after migration.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
providing at least one virtual machine monitor that manages the one or more virtual machines, wherein each said virtual machine is associated with a private virtual address space.

### Claim 13 (depends on 11)

The method according to claim 11, further comprising:
allowing the fabric adaptor to implement at least one of a virtual switch model and an extended host channel adaptor (HCA) model.

### Claim 14 (depends on 11)

The method according to claim 11, further comprising:
applying a suspended state to both a migrated QP and a remote peer QP connected to the migrated QP.

### Claim 15 (depends on 11)

The method according to claim 11, further comprising:
using special header information and/or non-solicited messages for supporting communication and communication state updates between peers.

### Claim 16 (depends on 11)

The method according to claim 11, further comprising:
configuring a host to generate a local asynchronous event and send an unsolicited packet to a source of an incoming packet targeting an invalid vHCA, and wherein the queue pair (QP) that is associated with the source of the incoming packet can automatically perform a transition to a suspended state.

### Claim 17 (depends on 11)

The method according to claim 11, further comprising:
Containing, in a packet sent from a migrated vHCA, a migration count field that can be updated before the migrated vHCA become operational again at a new location.

### Claim 18 (depends on 11)

The method according to claim 11, further comprising:
configuring a migrated vHCA to start up with QPs in a un-suspend-pending state.

### Claim 19 (depends on 11)

The method according to claim 11, further comprising:
configuring a subnet manager to
assign a HCA port with a LID value that is independent of any other LID values already associated with the HCA port and that the subnet manager decides to use to facilitate packet forwarding to the relevant HCA ports, and
assign admin LIDs to VMs that need unique LIDs for addressing.

### Claim 20

A non-transitory machine readable storage medium having instructions stored thereon that when executed cause a system to perform the steps comprising:
associating a fabric adaptor with a plurality of virtual host channel adapters (HCAs), and wherein each said virtual host channel adapter (vHCA) is associated with a separate queue pair (QP) space;
performing, via at least one virtual machine, a live migration from a first host to a second host, wherein said at least one virtual machine is attached with a said virtual host channel adapter (vHCA) that is associated with a queue pair (QP) in a said queue pair (QP) space; and
signaling, via said queue pair (QP), a peer QP about the live migration and provide said peer QP with address information after migration.
