# US 10,956,199 B2 · Remote virtual machine console access with persistent and seamless client connections during virtual machine migration

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

- Number: US 10,956,199 B2
- Document ID: US10956199B2
- Status: Granted
- Kind: B2
- Application number: 16/353,009
- Filed: 2019-03-14
- Published: 2020-09-17
- Granted: 2021-03-23
- Earliest claimed: 2019-03-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sean Christopher Foley
- Web page: https://patentgrep.com/patent/US10956199B2

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- 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 of computers in network communication where: (i) an end user's computer accesses an instantiation of a virtual machine using remote console software; (ii) the access to the VM is performed through a proxy server; and (iii) by using the proxy server, when the VM instantiation is moved from one physical host computer to another physical host computer, there is no substantial interruption in the access of the VM by the end user through the remote console software.

## Claims

### Claim 1

A computer program product (CPP) for use with an end user computer, a first physical host computer and a second physical host computer, the CPP comprising:
a storage medium; and
computer code stored on the storage medium, with the computer code including data and instructions for causing a processor(s) set to perform at least the following operations:
setting up, by a proxy server, remote console access by remote console software of the end user computer through the proxy server and to a first instantiation of a first virtual machine running on the first physical host computer, and
responsive to live migration of the first instantiation of the first virtual machine running on the first physical host computer to a second instantiation of the first virtual machine running on the second physical host computer, switching, by the proxy server, remote console access by the remote console software of the end user computer through the proxy server from the first instantiation to the second instantiation, with the switching including the following:
detecting a broken server connection to the first instantiation of the first virtual machine,
during the detection of the broken server connection, querying a control plane for a location of the second instantiation of the first virtual machine, and
connecting, in data communication, the proxy server and the second instantiation of the first virtual machine.

### Claim 2 (depends on 1)

The CPP of claim 1 wherein:
the end user computer includes a virtual network computing type graphical desktop-sharing client;
a virtual network computing type graphical desktop-sharing server in the guest operating system can support virtual network computing type graphical desktop-sharing connections; and
the switching of remote console access by the remote console software of the end user computer switches a bi-directional data communication from occurring over a first path between the virtual network computing type graphical desktop-sharing client and a virtual network computing type graphical desktop-sharing server that administers the first instantiation, which first path passes through the proxy server, to occurring over a second path between the virtual network computing type graphical desktop-sharing client and a virtual network computing type graphical desktop-sharing server that administers the second instantiation, which second path passes through the proxy server.

### Claim 3 (depends on 1)

The CPP of claim 1 wherein the switch from the first instantiation to the second instantiation is persistent.

### Claim 4 (depends on 1)

The CPP of claim 1 wherein:
the setting up of remote console access by the remote console software of the end user computer through the proxy server and to the first instantiation includes setting up at least one tunneling type data communication path between the end user computer and the first physical host computer; and
the switching of remote console access by the remote console software of the end user computer through the proxy server from the first instantiation to the second instantiation includes setting up at least one tunneling type data communication path between the end user computer and the second physical host computer.

### Claim 5 (depends on 1)

The CPP of claim 1 wherein:
the switching from the first instantiation to the second instantiation includes handshaking between the remote console software of the end user computer and the second instantiation running on the second physical host computer, with the handshaking being managed only by the proxy server.

### Claim 6 (depends on 1)

The CPP of claim 1 further comprising:
filtering, by the proxy server, network packets to/from the first and second instantiations so that no packets are interrupted, duplicated, or omitted in the remote console's bidirectional communication with the first and second instantiations.

### Claim 7

A proxy server (PS) for use with an end user computer, a first physical host computer and a second physical host computer, the PS comprising:
a processor(s) set;
a storage medium; and
computer code stored on the storage medium, with the computer code including data and instructions for causing the processor(s) set to perform at least the following operations:
setting up remote console access by remote console software of the end user computer through the proxy server and to a first instantiation of a first virtual machine running on the first physical host computer, and
responsive to live migration of the first instantiation of the first virtual machine running on the first physical host computer to a second instantiation of the first virtual machine running on the second physical host computer, switching, by the proxy server, remote console access by the remote console software of the end user computer through the proxy server from the first instantiation to the second instantiation, with the switching including the following:
detecting a broken server connection to the first instantiation of the first virtual machine,
during the detection of the broken server connection, querying a control plane for a location of the second instantiation of the first virtual machine, and
connecting, in data communication, the proxy server and the second instantiation of the first virtual machine.

### Claim 8 (depends on 7)

The PS of claim 7 wherein:
the end user computer includes a virtual network computing type graphical desktop-sharing client;
a virtual network computing type graphical desktop-sharing server in the guest operating system can support virtual network computing type graphical desktop-sharing connections; and
the switching of remote console access by the remote console software of the end user computer switches a bi-directional data communication from occurring over a first path between the virtual network computing type graphical desktop-sharing client and a virtual network computing type graphical desktop-sharing server that administers the first instantiation, which first path passes through the proxy server, to occurring over a second path between the virtual network computing type graphical desktop-sharing client and a virtual network computing type graphical desktop-sharing server that administers the second instantiation, which second path passes through the proxy server.

### Claim 9 (depends on 7)

The PS of claim 7 wherein the switch from the first instantiation to the second instantiation is persistent.

### Claim 10 (depends on 7)

The PS of claim 7 wherein:
the setting up of remote console access by the remote console software of the end user computer through the proxy server and to the first instantiation includes setting up at least one tunneling type data communication path between the end user computer and the first physical host computer; and
the switching of remote console access by the remote console software of the end user computer through the proxy server from the first instantiation to the second instantiation includes setting up at least one tunneling type data communication path between the end user computer and the second physical host computer.

### Claim 11 (depends on 7)

The PS of claim 7 wherein:
the switching from the first instantiation to the second instantiation includes handshaking between the remote console software of the end user computer and the second instantiation running on the second physical host computer, with the handshaking being managed only by the proxy server.

### Claim 12 (depends on 7)

The PS of claim 7 further comprising:
filtering, by the proxy server, network packets to/from the first and second instantiations so that no packets are interrupted, duplicated, or omitted in the remote console's bidirectional communication with the first and second instantiations.
