Logical partition
A logical partition, commonly called an 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 operating system.[1]
History
IBM developed the concept of hypervisors (virtual machines in CP-40 and CP-67) and in 1972 provided it for the S/370 as Virtual Machine Facility/370.[2] IBM introduced the Start Interpretive Execution (SIE) instruction (designed specifically for the execution of virtual machines) as part of 370-XA architecture on the 3081, as well as VM/XA versions of VM to exploit it. PR/SM is a type-1 Hypervisor based on the CP component of VM/XA that runs directly on the machine level and allocates system resources across LPARs to share physical resources. It is a standard feature on IBM System z, System p, and System i machines.
The terms PR/SM and LPAR are often used interchangeably, including in IBM documentation. Formally, LPAR designates the logical partitioning function and mode of operation, whereas PR/SM is the commercial designation of the feature.[3]
This technology was later developed separately by Amdahl, and Hitachi Data Systems for their implementations of the ESA/390 architecture in the mid 1980s; and continued by IBM for the System z and System i architectures. 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.
z/VM supports the z/Architecture HiperSockets function for high-speed TCP/IP 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 later introduced LPARs to their midrange iSeries and pSeries servers in 1999 and 2001, respectively,[4] albeit with varying technical specifications. Multiple operating systems are compatible with LPARs, including z/OS, z/VM, z/VSE, z/TPF, AIX, Linux, and i/OS. 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 first part of 2010 year, Fujitsu announced availability of its x86 64 PRIMEQUEST line of servers,[5] which support LPARs.
In second part of 2011 year, Hitachi has announced availability of CB2000 and CB320 blade systems,[6] which support LPAR on x86 64 hardware.
Hardware partitioning
Logical partitioning divides hardware resources. Two LPARs may access memory from a common memory chip, provided that the ranges of addresses directly accessible to each do not overlap. One partition may indirectly control memory controlled by a second partition, but only by commanding a process in that partition. CPUs may be dedicated to a single LPAR or shared. While on Amdahl's MDF(Multiple Domain Feature) it was possible to configure an LPAR with both shared and dedicated CPUs. This is no longer possible with any mainframes flavours currently in the market.
On IBM mainframes, LPARs are managed by the PR/SM facility. IBM mainframes 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.[7]
On IBM System P Power hardware, LPARs are managed by the Power Hypervisor. The Hypervisor or PowerVM (formerly known as Advanced POWER Virtualization or APV) acts as a virtual switch between the LPARs and also handles the virtual SCSI traffic between LPARs. Micro-Partitioning supports 10 times as many LPARs as processors with fractional allocations. It was introduced with the POWER5 processor. All IBM POWER5 and POWER6 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 series servers.[8][9]
Expoiting Intel vPro (i.e. Non-uniform memory access), there are also implementations of Logical Partitioning based on Intel Xeon e.g. by Hitachi Data Systems.[10]
LPARs 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 EAL5 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 and IBM System z10 supporting up to 60 LPARs.[7]
See also
- VM (operating system)
- Full virtualization
- Dynamic Logical Partitioning (DLPAR)
- Workload Partitions (WPAR)
- HiperSocket, Hypervisor
- Virtualization
- PowerVM
- Fujitsu XPAR
- Sun Solaris Containers
- Sun LDOM
References
- ↑ Singh, Karan (2009-12-02). "Security on the Mainframe" (PDF). Retrieved 2010-04-06.
- ↑ 1990, 2002, Copyright IBM Corp. (2002-04-12). z/VMbuilt on IBM Virtualization Technology General Information Version 4 Release 3.0 (PDF). GC24-5991-04.
- ↑ Singh, Karan (2009-12-02). "Security on the Mainframe" (PDF). Retrieved 2010-04-06., page 83
- ↑ Griffiths, Nigel (2005-06-29). "POWER5 Virtualization: How to set up the Virtual I/O Server". Retrieved 2008-09-25.
- ↑ Fujitsu Upgrades Lineup of PRIMEQUEST Mission-Critical Servers
- ↑ Logical Partitioning Feature of CB Series Xeon servers Suitable for Robust and Reliable Cloud by H. Ueno at hds.com
- 1 2 Singh, Karan (2009-12-02). "Security on the Mainframe". Retrieved 2010-01-14.
- ↑ System p Virtualization
- ↑ 207-269, IBM Announcement (2007-11-06). "IBM System p Virtualization — The most complete virtualization offering for UNIX and Linux". Retrieved 2010-04-06.
- ↑ "High-Performance Nested Virtualization With Hitachi Logical Partitioning Feature" (PDF). 2014-09-01. Retrieved 2016-05-29.
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 Guide
- IBM System p Virtualization — The most complete virtualization offering for UNIX and Linux
- Hitachi Compute Blade LPARs
- Fujitsu XPARs (SPARC) and "Flexible I/O and Partitioning" (x86_64)