Translation module, method and computer program product for providing multiple infiniband address support for vm migration using infiniband address translation
AssigneeInternational Business Machines Corporation
InventorsBulent Abali, Jiuxing Liu
Life of this patent
Estimating the term…
Abstract
To provide for VM migration in an InfiniBand network, a translation module intercepts and InfiniBand packet and performs appropriate translation of the packet's virtual HCA address to a physical HCA address. The translation is based on the mapping table that is updated when a VM is created, destroyed, or migrated from one physical node to another in the InfiniBand network.
Claims20
A translation module, comprising:
- at least one input interface for intercepting InfiniBand packets in an InfiniBand network, destined for InfiniBand Host Channel Adapters (HCAs);
- an address mapping table mapping virtual HCA addresses to physical HCA addresses;
- a control interface for updating mappings of virtual HCA addresses to physical HCA addresses in the address mapping table when a virtual machine (VM) with InfiniBand access is created, destroyed, or migrated from one physical node to another in the InfiniBand network;
- and
- an output interface, wherein for each InfiniBand packet intercepted by the input interface, the address mapping table is consulted using the destination address of the intercepted InfiniBand packet as a virtual HCA address, and if there is a physical HCA address in the table that is mapped to the virtual HCA address of the intercepted InfiniBand packet, the destination address of the intercepted InfiniBand packet is replaced with the corresponding physical HCA address and forwarded to the output interface.
A method for translating, comprising:
- intercepting an InfiniBand packet in an InfiniBand network, destined for a virtual InfiniBand Host Channel Adapter (HCA) address;
- consulting an address mapping table mapping virtual HCA addresses to physical HCA addressee using the designation address of the intercepted InfiniBand packet as a virtual address, wherein the mappings of the virtual HCA addresses to the physical HCA addresses are updated when a virtual machine (VM) with InfiniBand access is created, destroyed, or migrated from physical node to another in the InfiniBand network;
- and
- if there is a physical HCA address in the table that is mapped to the virtual HCA address of the intercepted InfiniBand packet, replacing the virtual HCA address of the intercepted InfiniBand packet with the corresponding physical HCA address.
A computer program product for performing translation, comprising a computer usable medium having a computer readable program, wherein the computer readable medium, when executed on a computer, caused the computer to:
- intercept an InfiniBand packet in an InfiniBand network, destined for a virtual InfiniBand Host Channel Adapter (HCA) address:
- consult an address mapping table mapping virtual HCA addresses to physical HCA addresses using the destination address of the packet as a virtual HCA address, wherein the mappings of the virtual HCA addresses to the physical HCA addresses are updated when a virtual machine (VM) with InfiniBand access is created, destroyed, or migrated from physical node to another in the InfiniBand network;
- and
- if there is a physical HCA address in the table that is mapped to the virtual HCA address of the intercepted InfiniBand packet, replace the virtual HCA address of the intercepted InfiniBand packet with the corresponding physical HCA address.
Dependencies are inferred from the claim text.