# US 2010/0161559 A1 · Maintaining a network connection of a workload during transfer

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

- Number: US 2010/0161559 A1
- Document ID: US20100161559A1
- Status: Published application
- Kind: A1
- Application number: 12/338,543
- Filed: 2008-12-18
- Published: 2010-06-24
- Earliest claimed: 2008-12-18
- Assignees: International Business Machines Corporation
- Inventors: Sandeep Ramesh Patil; Ranadip Das; Rajeev Mishra
- Web page: https://patentgrep.com/patent/US20100161559A1

## CPC

- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment of the present disclosure, a method and technique is disclosed for maintaining a network connection during transfer of the workload from a global environment of a logical partition to a workload partition of the logical partition and during any subsequent transfer(s).

## Claims

### Claim 1

A method for transferring a workload, the method comprising:
receiving a request to transfer the workload from a global environment of a first logical partition to a workload partition of the first logical partition; and
responsive to receiving the request, transferring the workload from the global environment to the workload partition while maintaining a network connection during transfer of the workload.

### Claim 2 (depends on 1)

The method of claim 1, wherein transferring the workload from the global environment to the workload partition comprises associating a file descriptor of the workload with the workload partition.

### Claim 3 (depends on 1)

The method of claim 1, wherein transferring the workload from the global environment to the workload partition comprises maintaining a first socket in the global environment, wherein the workload communicates using the first socket.

### Claim 4 (depends on 1)

The method of claim 1, wherein transferring the workload from the global environment to the workload partition comprises creating the workload partition in response to a determination that the workload partition does not currently exist.

### Claim 5 (depends on 3)

The method of claim 3, wherein transferring the workload from the global environment to the workload partition comprises creating a special socket associated with the workload in the workload partition.

### Claim 6 (depends on 5)

The method of claim 5, further comprising creating a pointer to the first socket within the special socket.

### Claim 7 (depends on 5)

The method of claim 5, further comprising associating the special socket with an alias internet protocol address to an internet protocol address of the global environment of the first logical partition.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
creating a pipe for transferring data from a read queue of the first socket to a read queue of the special socket; and
creating a pipe for transferring data from a write queue of the special socket to a write queue of the first socket.

### Claim 9 (depends on 3)

The method of claim 3, further comprising:
receiving a request to transfer the workload partition from the first logical partition to a second logical partition; and
transferring the workload partition from the first logical partition to the second logical partition while maintaining the network connection during transfer of the workload.

### Claim 10 (depends on 9)

The method of claim 9, wherein transferring the partition from the first logical partition to the second logical partition comprises, responsive to a determination that the workload in the workload partition of the first logical partition communicates using a special socket, checkpointing and restoring both the special socket and the first socket from the first logical partition to the second logical partition.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
removing an alias internet protocol address to an internet protocol address of the global environment of the first logical partition from both the special socket and the first socket; and
adding an alias internet protocol address to an internet protocol address of the global environment of the second logical partition to both the special socket and the first socket.

### Claim 12

A system comprising:
a bus system;
memory connected to the bus system, wherein the memory includes computer usable program code; and
a processing unit connected to the bus system, wherein the processing unit executes the computer usable program code to receive a request to transfer a workload from a global environment of a first logical partition to a workload partition of the first logical partition, and wherein the processing unit, responsive to receiving the request, transfers the workload from the global environment to the workload partition while the workload maintains a network connection.

### Claim 13 (depends on 12)

The system of claim 12, wherein the processing unit executes the computer usable program code to associate a file descriptor of the workload with the workload partition.

### Claim 14 (depends on 12)

The system of claim 12, wherein the processing unit executes the computer usable program code to maintain a first socket in the global environment and wherein the workload communicates using the first socket.

### Claim 15 (depends on 12)

The system of claim 12, wherein the processing unit executes the computer usable program code to create the workload partition in response to a determination that the workload partition does not currently exist.

### Claim 16 (depends on 14)

The system of claim 14, wherein the processing unit executes the computer usable program code to create a special socket associated with the workload in the workload partition.

### Claim 17 (depends on 16)

The system of claim 16, the processing unit executes the computer usable program code to create a pointer to the first socket within the special socket.

### Claim 18 (depends on 16)

The system of claim 16, wherein the processing unit executes the computer usable program code to associate the special socket with an alias internet protocol address to an internet protocol address of the global environment of the first logical partition.

### Claim 19 (depends on 16)

The system of claim 16, wherein the processing unit executes the computer usable program code to create a pipe for transferring data from a read queue of the first socket to a read queue of the special socket, and wherein the processing unit executes the computer usable program code to create a pipe for transferring data from a write queue of the special socket to a write queue of the first socket.

### Claim 20

A computer program product comprising:
a computer usable medium including computer usable program code for maintaining a network connection during transfer of a workload, the computer program product comprising:
computer usable program code for receiving a request to transfer the workload from a global environment of a first logical partition to a workload partition of the first logical partition, and computer usable program code for transferring the workload from the global environment to the workload partition while maintaining the network connection of the workload during transfer of the workload in response to receiving the request.
