A logical partition (LPAR) is a subset of a computer's hardware resources,
virtualized as a separate computer. In effect, a physical machine can be partitioned into multiple logical partitions, each hosting a separate instance of an
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
.
History
IBM
International Business Machines Corporation (using the trademark IBM), nicknamed Big Blue, is an American Multinational corporation, multinational technology company headquartered in Armonk, New York, and present in over 175 countries. It is ...
developed the concept of
hypervisor
A hypervisor, also known as a virtual machine monitor (VMM) or virtualizer, is a type of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called ...
s (
virtual machine
In computing, a virtual machine (VM) is the virtualization or emulator, emulation of a computer system. Virtual machines are based on computer architectures and provide the functionality of a physical computer. Their implementations may involve ...
s in
CP-40 and
CP-67) and in 1972 provided it for the
S/370 as
Virtual Machine Facility/370. IBM introduced the Start Interpretive Execution (SIE) instruction (designed specifically for the execution of virtual machines) in 1983 as part of
370-XA architecture on the
IBM 3081, as well as VM/XA versions of VM to exploit it.
Amdahl Corporation
Amdahl Corporation was an information technology company which specialized in IBM mainframe-compatible computer products, some of which were regarded as supercomputers competing with those from Cray Research. Founded in 1970 by Gene Amdahl, a for ...
's Multiple Domain Facility (MDF) was introduced in 1982. IBM introduced its functionally similar PR/SM in 1988, implemented on its
ESA/370 architecture released that year with the
IBM 3090 processors. PR/SM (Processor Resource/System Manager) is a type-1
Hypervisor
A hypervisor, also known as a virtual machine monitor (VMM) or virtualizer, is a type of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called ...
(a
virtual machine
In computing, a virtual machine (VM) is the virtualization or emulator, emulation of a computer system. Virtual machines are based on computer architectures and provide the functionality of a physical computer. Their implementations may involve ...
monitor) that allows multiple logical partitions to share physical resources such as
CPUs, memory,
I/O channels and LAN interfaces; the LPARs can share I/O devices such as
direct access storage device
A direct-access storage device (DASD) (pronounced ) is a secondary storage device in which "each physical record has a discrete location and a unique address". The term was coined by IBM to describe devices that allowed random access to data, th ...
s (DASD). Initially, the operator could select either basic mode or logical partition mode. PR/SM is integrated with all
IBM System z
IBM Z is a family name used by IBM for all of its z/Architecture mainframe computers.
In July 2017, with another generation of products, the official family was changed to IBM Z from IBM z Systems; the IBM Z family will soon include the newest ...
machines. Formally, LPAR designates the mode of operation or an individual logical partition, whereas PR/SM is the commercial designation of the feature.
MDF-based LPAR technology continued to be developed separately by Amdahl, and
Hitachi Data Systems in part for their implementations of the new ESA/370 architecture, which featured the introduction of
access registers that allowed use of multiple
data spaces addressable by a single
address space
In computing, an address space defines a range of discrete addresses, each of which may correspond to a network host, peripheral device, disk sector, a memory cell or other logical or physical entity.
For software programs to save and retrieve ...
.
IBM subsequently continued its LPAR development with its 64-bit
System z architecture. LPAR and PR/SM reconfigurations can be made without rebooting the computer, i.e., while some LPARs remain active. Reconfigurations can include changing channel path definitions and device definitions.
IBM introduced a related, simplified, optional feature called
Dynamic Partition Manager (DPM) on its IBM z13 and first generation IBM LinuxONE machines. DPM provides Web-based user interfaces for many LPAR-related configuration and monitoring tasks.
z/VM supports the z/Architecture
HiperSockets function for high-speed
TCP/IP
The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the suite are ...
communication among virtual machines and logical partitions (LPARs) within the same IBM zSeries server. This function uses an adaptation of the Queued-Direct Input/Output (QDIO) high-speed I/O protocol.
IBM introduced LPARs to their
PowerPC
PowerPC (with the backronym Performance Optimization With Enhanced RISC – Performance Computing, sometimes abbreviated as PPC) is a reduced instruction set computer (RISC) instruction set architecture (ISA) created by the 1991 Apple Inc., App ...
-based
AS/400 (later called iSeries) and
pSeries servers in 1999 and 2001, respectively, albeit with varying technical specifications. Those systems use PHYP (the POWER Hypervisor) to enable their LPAR functionalities since approximately 2000 in POWER4 systems. This support continues in
IBM Power Systems.
Multiple operating systems are compatible with LPARs, including
z/OS
z/OS is a 64-bit operating system for IBM z/Architecture mainframes, introduced by IBM in October 2000. It derives from and is the successor to OS/390, which in turn was preceded by a string of MVS versions.Starting with the earliest:
...
,
z/VM
z/VM is the current version in IBM's VM family of virtual machine operating systems. First released in October 2000, z/VM remains in active use and development . It is directly based on technology and concepts dating back to the 1960s, particu ...
,
z/VSE, and
z/TPF on mainframes,
AIX and
IBM i
IBM i (the ''i'' standing for ''integrated'') is an operating system developed by IBM for IBM Power Systems. It was originally released in 1988 as OS/400, as the sole operating system of the IBM AS/400 line of systems. It was renamed to i5/OS in 2 ...
on IBM Power Systems, and
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
on both.
In
storage systems, such as the IBM TotalStorage DS8000, LPARs allow for multiple virtual instances of a storage array to exist within a single physical array.
In early 2010
Fujitsu announced availability of its
x86-64
x86-64 (also known as x64, x86_64, AMD64, and Intel 64) is a 64-bit extension of the x86 instruction set architecture, instruction set. It was announced in 1999 and first available in the AMD Opteron family in 2003. It introduces two new ope ...
PRIMEQUEST line of servers, which support LPARs. In late 2011,
Hitachi
() is a Japanese Multinational corporation, multinational Conglomerate (company), conglomerate founded in 1910 and headquartered in Chiyoda, Tokyo. The company is active in various industries, including digital systems, power and renewable ener ...
announced availability of CB2000 and CB320 blade systems, which support LPAR on
x86-64
x86-64 (also known as x64, x86_64, AMD64, and Intel 64) is a 64-bit extension of the x86 instruction set architecture, instruction set. It was announced in 1999 and first available in the AMD Opteron family in 2003. It introduces two new ope ...
hardware.
Hardware partitioning
Logical partitioning divides hardware resources. Two LPARs may access
memory
Memory is the faculty of the mind by which data or information is encoded, stored, and retrieved when needed. It is the retention of information over time for the purpose of influencing future action. If past events could not be remembe ...
from a common memory chip, provided that the ranges of addresses directly accessible to each do not overlap. It is possible for one partition to control memory managed by a second partition indirectly by communicating with a process on the partition with direct access, which acts as an intermediary.
CPUs may be dedicated to a single LPAR or shared. While on Amdahl's MDF (Multiple Domain Facility) it was possible to configure an LPAR with both shared and dedicated CPUs, this is no longer possible with any mainframes currently in the market.
On IBM mainframes, LPARs are managed by the
PR/SM facility or a related, optional, simplified facility called Dynamic Partition Manager (DPM). All 64-bit IBM mainframes, except for the first generation 64-bit models (z900 and z800), operate exclusively in LPAR mode, even when there is only one partition on a machine. Multiple LPARs running z/OS can form a
Sysplex or
Parallel Sysplex, whether on one machine or spread across multiple machines.
On IBM
System p POWER hardware, LPARs are managed by PHYP (the POWER
Hypervisor
A hypervisor, also known as a virtual machine monitor (VMM) or virtualizer, is a type of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called ...
). PHYP acts as a virtual switch between the LPARs and also handles the virtual
SCSI
Small Computer System Interface (SCSI, ) is a set of standards for physically connecting and transferring data between computers and peripheral devices, best known for its use with storage devices such as hard disk drives. SCSI was introduced ...
traffic between LPARs.
Micro-Partitioning supports 10 times as many LPARs as processors with fractional allocations. It was introduced with the
POWER5
The POWER5 is a microprocessor developed and fabricated by IBM. It is an improved version of the POWER4. The principal improvements are support for simultaneous multithreading (SMT) and an on-die memory controller. The POWER5 is a dual-core ...
processor. All IBM
POWER5
The POWER5 is a microprocessor developed and fabricated by IBM. It is an improved version of the POWER4. The principal improvements are support for simultaneous multithreading (SMT) and an on-die memory controller. The POWER5 is a dual-core ...
,
POWER6
The POWER6 is a microprocessor developed by IBM that implemented the Power ISA#Power ISA v.2.05, Power ISA v.2.05. When it became available in systems in 2007, it succeeded the POWER5#POWER5+, POWER5+ as IBM's flagship Power microprocessor. It i ...
, and successor systems may be partitioned. Note that a full system partition may be defined where all resources are consumed by a single partition. System P servers with PowerVM enabled allow LPARs with shared CPUs to delegate their unused cycles into the shared pool. Dedicated processors are not available for sharing. Unused cycles become available for other partitions and are governed by the parameters specified when the LPAR is defined. Changes to a running partition can be made dynamically up to the maximum value set, and down to the minimum value set in the active profile. The changing of resource allocations without restart of the logical partition is called
dynamic logical partitioning. IBM PowerVM is the licensed/purchased feature that enables the virtualization features on p4, 5, 6, 7, and subsequent series servers.
Exploiting
Intel vPro (i.e.
Non-uniform memory access
Non-uniform memory access (NUMA) is a computer storage, computer memory design used in multiprocessing, where the memory access time depends on the memory location relative to the processor. Under NUMA, a processor can access its own local memory ...
), there are also implementations of Logical Partitioning based on
Intel Xeon
Xeon (; ) is a brand of x86 microprocessors designed, manufactured, and marketed by Intel, targeted at the non-consumer workstation, server, and embedded markets. It was introduced in June 1998. Xeon processors are based on the same archite ...
e.g. by
Hitachi Data Systems.
LPARs (with sufficient certification) safely allow combining multiple test, development, quality assurance, and production work on the same server, offering advantages such as lower costs, faster deployment, and more convenience. IBM mainframe LPARs are Common Criteria
EAL 5+ certifiable, equivalent to physically unconnected servers, so they support the highest security requirements, including military use. Nearly all IBM mainframes run with multiple LPARs with the
IBM System z9
IBM System z9 is a line of IBM mainframe computers. The first models were available on September 16, 2005. The System z9 also marks the end of the previously used eServer zSeries naming convention. It was also the last mainframe computer ...
and
IBM System z10
IBM System z10 is a line of IBM Mainframe computer, mainframes. The z10 Enterprise Class (EC) was announced on February 26, 2008. On October 21, 2008, IBM announced the z10 Business Class (BC), a scaled-down version of the z10 EC. The System ...
supporting up to 60 LPARs and later models up to 85.
See also
*
*
*
*
*
*
*
*
References
External links
Security on the Mainframe December 2009, by Karan Singh, Chapter 4. Virtualization, page 24 and page 83.
System i and System p: Logical Partitioning GuideIBM System p Virtualization — The most complete virtualization offering for UNIX and LinuxPower Systems Logical partitioningHitachi Compute Blade LPARsFujitsu XPARs (SPARC)an
{{use MDY dates, date=September 2022
AS/400
Hardware partitioning
IBM mainframe technology
IBM storage software
Virtualization
Virtualization software