Logical partition

Last updated

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. [1]

Contents

PR/SM

Formally, LPAR designates the mode of operation or an individual logical partition, whereas PR/SM is the commercial designation of the feature. [1] :83 PR/SM (Processor Resource/System Manager) is a type-1 Hypervisor (a virtual machine monitor) that allows multiple logical partitions to share physical resources such as CPUs, I/O channels and LAN interfaces; when sharing channels, the LPARs can share I/O devices such as direct access storage devices (DASD). PR/SM is integrated with all IBM System z machines. Similar facilities exist on the IBM Power Systems family, and its predecessors.

IBM introduced PR/SM in 1988 with the IBM 3090 processors. [2]

IBM developed the concept of hypervisors in their CP-40 and CP-67, and in 1972 provided it for the S/370 as Virtual Machine Facility/370. [3] IBM introduced the Start Interpretive Execution (SIE) instruction as part of 370-XA on the 3081, and 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 Z and IBM LinuxONE machines.

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.

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. [4] 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.[ citation needed ] It is a standard feature on IBM System z only. An IBM POWER system uses PHYP (the POWER Hypervisor) to enable its LPAR functionalities for System p and System i since approximately 2000 in POWER4 systems.

Amdahl Corporation's Multiple Domain Facility (MDF) was introduced in 1982. [5] IBM began marketing its functionally similar PR/SM in 1988, implemented on its ESA/370 architecture released that year. MDF-based LPAR technology continued to be developed separately by Amdahl, and Hitachi Data Systems in part for their implementations of the new architecture, which featured the introduction of access registers that allowed use of multiple data spaces addressable by a single address space. IBM subsequently continued its LPAR development with its 64-bit System z and IBM AS/400 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 iSeries and pSeries servers in 1999 and 2001, respectively, [6] albeit with varying technical specifications. Multiple operating systems are compatible with LPARs, including z/OS, z/VM, z/VSE, z/TPF, AIX, Linux, and IBM i. 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 PRIMEQUEST line of servers, [7] which support LPARs. In late 2011, Hitachi announced availability of CB2000 and CB320 blade systems, [8] 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. 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. [9]

On IBM System p POWER hardware, LPARs are managed by PHYP (the POWER Hypervisor). [10] PHYP 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, POWER6, 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. [11]

Exploiting 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. [12]

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 and IBM System z10 supporting up to 60 LPARs and later models up to 85. [9]

See also

Related Research Articles

<span class="mw-page-title-main">IBM AIX</span> Series of Unix operating systems from IBM

AIX is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

IBM mainframes are large computer systems produced by IBM since 1952. During the 1960s and 1970s, IBM dominated the large computer market. Current mainframe computers in IBM's line of business computers are developments of the basic design of the IBM System/360.

<span class="mw-page-title-main">MVS</span> Operating system for IBM mainframes

Multiple Virtual Storage, more commonly called MVS, is the most commonly used operating system on the System/370, System/390 and IBM Z IBM mainframe computers. IBM developed MVS, along with OS/VS1 and SVS, as a successor to OS/360. It is unrelated to IBM's other mainframe operating system lines, e.g., VSE, VM, TPF.

<span class="mw-page-title-main">VM (operating system)</span> Family of IBM operating systems

VM is a family of IBM virtual machine operating systems used on IBM mainframes System/370, System/390, zSeries, System z and compatible systems, including the Hercules emulator for personal computers.

A hypervisor 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 host machine, and each virtual machine is called a guest machine. The hypervisor presents the guest operating systems with a virtual operating platform and manages the execution of the guest operating systems. Unlike an emulator, the guest executes most instructions on the native hardware. Multiple instances of a variety of operating systems may share the virtualized hardware resources: for example, Linux, Windows, and macOS instances can all run on a single physical x86 machine. This contrasts with operating-system–level virtualization, where all instances must share a single kernel, though the guest operating systems can differ in user space, such as different Linux distributions with the same kernel.

Dynamic Logical Partitioning (DLPAR), is the capability of a logical partition (LPAR) to be reconfigured dynamically, without having to shut down the operating system that runs in the LPAR. DLPAR enables memory, CPU capacity, and I/O interfaces to be moved nondisruptively between LPARs within the same server.

Micro-Partitioning is a form of logical partitioning which was introduced by IBM on systems using the POWER5 processor, and is also referred to as a shared processor partition, and only differs from a dedicated processor partition in the way CPU utilization is configured and managed by the POWER Hypervisor (PHYP) firmware. All IBM POWER5 and POWER6 systems are partitioned and will run "on top" of the PHYP.

IBM Z Family name used by IBM for its z/Architecture mainframe computers

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 now includes the newest model, the IBM z16, as well as the z15, the z14, and the z13, the IBM zEnterprise models, the IBM System z10 models, the IBM System z9 models and IBM eServer zSeries models.

In computing, hardware-assisted virtualization is a platform virtualization approach that enables efficient full virtualization using help from hardware capabilities, primarily from the host processors. A full virtualization is used to emulate a complete hardware environment, or virtual machine, in which an unmodified guest operating system effectively executes in complete isolation. Hardware-assisted virtualization was added to x86 processors in 2005, 2006 and 2010 (respectively).

The following is a timeline of virtualization development. In computing, virtualization is the use of a computer to simulate another computer. Through virtualization, a host simulates a guest by exposing virtual hardware devices, which may be done through software or by allowing access to a physical device connected to the machine.

<span class="mw-page-title-main">Full virtualization</span> Computing technique involving instances of an environment

In computer science, full virtualization (fv) employs techniques used to create instances of an environment, as opposed to simulation, which models the environment; or emulation, which replicates the target environment such as certain kinds of virtual machine environments. Full virtualization requires that every salient feature of the hardware be reflected into one of several virtual machines – including the full instruction set, input/output operations, interrupts, memory access, and whatever other elements are used by the software that runs on the bare machine, and that is intended to run in a virtual machine. In such an environment, any software capable of execution on the raw hardware can be run in the virtual machine and, in particular, any operating systems. The obvious test of full virtualization is whether an operating system intended for stand-alone use can successfully run inside a virtual machine. This is a modern technique developed in late 1990s and is different from simulation and emulation.

PowerVM, formerly known as Advanced Power Virtualization (APV), is a chargeable feature of IBM POWER5, POWER6, POWER7, POWER8, POWER9 and Power10 servers and is required for support of micro-partitions and other advanced features. Support is provided for IBM i, AIX and Linux.

UTS is a discontinued implementation of the UNIX operating system for IBM mainframe computers. Amdahl created the first versions of UTS, and released it in May 1981, with UTS Global acquiring rights to the product in 2002. UTS Global has since gone out of business.

On IBM mainframes running the z/OS operating system, Intelligent Resource Director (IRD) is software that automates the management of CPU resources and certain I/O resources.

The history of IBM mainframe operating systems is significant within the history of mainframe operating systems, because of IBM's long-standing position as the world's largest hardware supplier of mainframe computers. IBM mainframes run operating systems supplied by IBM and by third parties.

Linux on IBM Z or Linux on zSystems is the collective term for the Linux operating system compiled to run on IBM mainframes, especially IBM Z / IBM zSystems and IBM LinuxONE servers. Similar terms which imply the same meaning are Linux/390, Linux/390x, etc. The three Linux distributions certified for usage on the IBM Z hardware platform are Red Hat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu.

In computing, a system virtual machine is a virtual machine (VM) that provides a complete system platform and supports the execution of a complete operating system (OS). These usually emulate an existing architecture, and are built with the purpose of either providing a platform to run programs where the real hardware is not available for use, or of having multiple instances of virtual machines leading to more efficient use of computing resources, both in terms of energy consumption and cost effectiveness, or both. A VM was originally defined by Popek and Goldberg as "an efficient, isolated duplicate of a real machine".

<span class="mw-page-title-main">IBM 3090</span> Series of high-end 1980s IBM mainframe computers

The IBM 3090 family is a family of mainframe computers that was a high-end successor to the IBM System/370 series, and thus indirectly the successor to the IBM System/360 launched 25 years earlier.

<span class="mw-page-title-main">IBM System/390</span> Line of mainframe computers

The IBM System/390 is a discontinued mainframe product family implementing ESA/390, the fifth generation of the System/360 instruction set architecture. The first computers to use the ESA/390 were the Enterprise System/9000 (ES/9000) family, which were introduced in 1990. These were followed by the 9672, Multiprise, and Integrated Server families of System/390 in 1994–1999, using CMOS microprocessors. The ESA/390 succeeded ESA/370, used in the Enhanced 3090 and 4381 "E" models, and the System/370 architecture last used in the IBM 9370 low-end mainframe. ESA/390 was succeeded by the 64-bit z/Architecture in 2000.

References

  1. 1 2 Singh, Karan (December 2, 2009). "Security on the Mainframe" (PDF). Archived from the original (PDF) on June 17, 2011. Retrieved April 6, 2010.
  2. Frank Packheiser; Octavian Lascu; Bill White (2018). "IBM Z Functional Matrix" (PDF). IBM. p. 18.
  3. z/VM built on IBM Virtualization Technology General Information Version 4 Release 3.0 (PDF). IBM. April 2002. GC24-5991-04.
  4. z/VMbuilt on IBM Virtualization Technology General Information Version 4 Release 3.0 (PDF). IBM. April 12, 2002. GC24-5991-04.
  5. Doran, R.W. (October 1988). "Amdahl multiple-domain architecture" (PDF). Computer. 21 (10): 20–28. doi:10.1109/2.7054. S2CID   1738798. Archived from the original (PDF) on August 29, 2017.
  6. Griffiths, Nigel (June 29, 2005). "POWER5 Virtualization: How to set up the Virtual I/O Server". IBM . Archived from the original on June 11, 2008. Retrieved September 25, 2008.
  7. Fujitsu Upgrades Lineup of PRIMEQUEST Mission-Critical Servers
  8. Hitoshi Ueno; Shinichi Matsumura (2012), "Logical Partitioning Feature of CB Series Xeon servers Suitable for Robust and Reliable Cloud" (PDF), Hitachi Review, 61 (2), archived from the original (PDF) on September 14, 2012
  9. 1 2 Singh, Karan (December 2, 2009). "Security on the Mainframe" . Retrieved January 14, 2010.
  10. "IBM Knowledge Center". www.ibm.com. Archived from the original on October 17, 2016. Retrieved May 22, 2022.
  11. "IBM System p Virtualization — The most complete virtualization offering for UNIX and Linux". IBM. November 6, 2007. Retrieved April 6, 2010.
  12. "High-Performance Nested Virtualization With Hitachi Logical Partitioning Feature" (PDF). September 1, 2014. Retrieved May 29, 2016.[ permanent dead link ]