# US 2017/0257266 A1 · Sharing a java virtual machine

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

- Number: US 2017/0257266 A1
- Document ID: US20170257266A1
- Status: Published application
- Kind: A1
- Application number: 15/588,644
- Filed: 2017-05-06
- Published: 2017-09-07
- Earliest claimed: 2013-10-25
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: JUNJIE CAI; LEI CHEN; WEIWEI GAO; SANHONG LI
- Web page: https://patentgrep.com/patent/US20170257266A1

## CPC

- H04L 41/0803: Configuration setting
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A JAVA virtual machine with multiple tenants is shared by allocating an IP address to each of the tenants, creating a separate virtual network interface for each of the tenants and configuring each separate virtual network interface with the respective separate IP address allocated for each tenant. For each of the tenants, network operations are performed via the virtual network interface created for that tenant, to provide for network isolation of each tenant sharing a JAVA virtual machine.

## Claims

### Claim 1

A method for sharing a JAVA virtual machine comprising a plurality of tenants, the method comprising:
allocating a separate IP address, from among a plurality of IP addresses, to each tenant of the plurality of tenants;
creating a separate virtual network interface, from among a plurality of virtual network interfaces, for each tenant of the plurality of tenants; and
configuring each separate virtual network interface with the respective separate IP address allocated for each tenant, wherein network operations for each tenant are performed via each separate virtual network interface created for each tenant.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
creating each separate virtual network interface for each tenant of the plurality of tenants and configuring each separate virtual network interface with the respective separate IP address allocated for each tenant using a virtualization technology application program interface.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
running the virtualization technology application program interface on top of an operating system host layer hosting the java virtual machine which resides on top of a node layer.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
in response to a termination of a particular tenant from among the plurality of tenants, reclaiming a particular IP address allocated to the particular tenant from among the plurality of IP addresses and reclaiming a particular virtual network interface allocated to the particular tenant from among the plurality of virtual network interfaces.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
identifying each tenant of the plurality of tenants via separate tenant context information.

### Claim 6

A system for sharing a JAVA virtual machine comprising a plurality of tenants, the system comprising:
at least one processor coupled to a memory and operative to allocate a separate IP address, from among a plurality of IP addresses, to each tenant of the plurality of tenants;
the at least one processor operative to create a separate virtual network interface, from among a plurality of virtual network interfaces, for each tenant of the plurality of tenants;
the at least one processor operative to configure each separate virtual network interface with the respective separate IP address allocated for each tenant, wherein network operations for each tenant are performed via each separate virtual network interface created for each tenant.

### Claim 7 (depends on 6)

The system according to claim 6, further comprising:
the at least one processor operative to create each separate virtual network interface for each of the plurality of tenants and configure each separate virtual network interface with the respective separate IP address allocated for each tenant.

### Claim 8 (depends on 7)

The system according to claim 7, further comprising:
the at least one processor operative to create each separate virtual network interface for each of the plurality of tenants and configure each separate virtual network interface with the respective separate IP address allocated for each tenant through a virtualization technology application program interface running on top of an operating system host layer hosting the java virtual machine which resides on top of a node layer.

### Claim 9 (depends on 6)

The system according to claim 6, further comprising:
the at least one processor operative to, in response to a termination of a particular tenant from among the plurality of tenants, reclaim a particular IP address allocated to the particular tenant from among the plurality of IP addresses and reclaim a particular virtual network interface allocated to the particular tenant from among the plurality of virtual network interfaces.

### Claim 10 (depends on 6)

The system according to claim 6, wherein each tenant of the plurality of tenants is identified via separate tenant context information.

### Claim 11

A computer program product for sharing a JAVA virtual machine comprising a plurality of tenants, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
allocate, by the computer, a separate IP address, from among a plurality of IP addresses, to each tenant of the plurality of tenants;
create, by the computer, a separate virtual network interface, from among a plurality of virtual network interfaces, for each tenant of the plurality of tenants; and
configure, by the computer, each separate virtual network interface with the respective separate IP address allocated for each tenant, wherein network operations for each tenant are performed via each separate virtual network interface created for each tenant.

### Claim 12 (depends on 11)

The computer program product according to claim 11, further comprising program instructions executable by the computer to cause the computer to:
create, by the computer, each separate virtual network interface for each tenant of the plurality of tenants and configuring each separate virtual network interface with the respective separate IP address allocated for each tenant using a virtualization technology application program interface.

### Claim 13 (depends on 12)

The computer program product according to claim 12, further comprising program instructions executable by the computer to cause the computer to:
run, by the computer, the virtualization technology application program interface on top of an operating system host layer hosting the java virtual machine which resides on top of a node layer.

### Claim 14 (depends on 11)

The computer program product according to claim 11, further comprising program instructions executable by the computer to cause the computer to:
in response to a termination of a particular tenant from among the plurality of tenants, reclaim, by the computer, a particular IP address allocated to the particular tenant from among the plurality of IP addresses and a particular virtual network interface allocated to the particular tenant from among the plurality of virtual network interfaces.

### Claim 15 (depends on 11)

The computer program product according to claim 11, further comprising program instructions executable by the computer to cause the computer to:
identify, by the computer, each tenant of the plurality of tenants via separate tenant context information.
