This appendix contains the following information:
v Examples of how to create logical partitions on a system.
v Additional technical information relating to hardware and hardware requirements.
v Diagrams of systems and expansion units that can be used in creating logical partitions.
Partitioning Examples
The number of uses for a logically partitioned system are limited only by your imagination. The time you spend in planning will save you steps and avoid trouble during partition setup. The following detailed partitioning examples should provide a helpful guide:
v Example 1: Bus-level I/O partitioning using a 640 system.
v Example 2: Bus-level I/O partitioning using an S20 system.
v Example 3: IOP-level I/O partitioning using a 640 system.
Example 1: Model 640 #2239 (4-way) bus-level I/O partitioning
A Model 640 will be set up as a two-partition, mixed production and test system.
This configuration is a good candidate for bus-level I/O partitioning in order to achieve greater problem isolation between the partitions.
Table 18. LPAR Configuration LPAR Information:
Mixed production/test environment.
Switch the Electronic Customer Support line between partitions.
We plan to have Bus-level partitioning.
We want twinaxial consoles for both partitions.
Use Tape #6381 for partition 0, Tape #6380 for partition 1.
System Model:
640
Processor Feature:
2239
Interactive Feature (Models 7xx only):
Partition Number of
Total 4 16384 MB 998.6 CPW
Primary Partition 0 3 12288 MB 75% (748.95) Yes
Secondary Partition 1 1 4096 MB 25% (249.65) Yes
Secondary Partition 2 Secondary Partition 3
Table 19. Partition 0 (Primary)
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP MFIOP N 1 New
CD-ROM Base N 1 New
Storage (Tape) MFIOP N 1 New
Electronic Customer Support
communications line Yes Y New
Console Yes N 1 New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 20. Disk Information for Partition 0 Total Partition Disk Unit Capacity:
604 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 45 180 GB
8 GB disk units 53 424 GB
Table 21. Partition 1
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP 6533 N New
CD-ROM 2624 New
Storage (Tape) 2624 New
Electronic Customer Support communications line N/A
Console 2629/
6180
N New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 22. Disk Information for Partition 1 Total Partition Disk Unit Capacity:
172 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 25 100 GB
8 GB disk units 9 72 GB
Example 1 Configuration Diagram Explanation
1. Since bus-level I/O partitioning was requested, a minimum of two towers is
expansion units are required to contain the disk drives in excess of the capacities of the system unit and the #507x expansion unit.
2. Primary Partition (owns Bus 1, dedicated)
Load source disk, alternate IPL devices, console, and electronic customer support communications line are provided with the base system.
3. Secondary Partition (owns Bus 2, dedicated)
v Load source disk is in Disk Slot K01, controlled by IOP #6533 in Card Slot 2.
v Alternate IPL devices (CD-ROM and tape) are in Removable Media slots D01 and D02, controlled by IOP #2624 in Card Slot 3.
v Console device is a twinaxial workstation, controlled by IOP/IOA #2629/#6180 in Card Slot 4.
Example 2: Model S20 #2166 (4-way) bus-level I/O partitioning
Consolidation of 3 departmental systems onto one system to facilitate load balancing. You would want each partition to operate independently, as a complete system. This example uses a 4-way S20.
Each partition has its own:
1. Load source disk 2. Alternate IPL device
3. Communications line for electronic customer support 4. Console device
5. All other I/O resources dedicated to the partition
This configuration is a good candidate for bus-level I/O partitioning in order to achieve greater problem isolation between the partitions.
Table 23. LPAR Configuration LPAR Information:
Consolidation of 3 departmental systems onto one system to facilitate load balancing.
Bus-level partitioning
Please supply Twinaxial consoles for all 3 partitions.
1 #3590 tape drive and 1 CD-ROM drive required for each partition.
System Model:
S20
Processor Feature:
2166
Interactive Feature (Models 7xx only):
Partition Number of
Total 4 4096 MB 759.0 CPW
Primary Partition 0 1 1024 MB 25% (189.75) Y
Secondary Partition 1 1 1024 MB 25% (189.75) Y
Secondary Partition 2 2 2048 MB 50% (379.5) Y
Secondary Partition 3
Table 24. Partition 0 (Primary)
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP MFIOP N 1 New
CD-ROM Base N 1 New
Storage (Tape) 2809 N 1 New
Electronic Customer Support
communications line 9720 N New
Console 9720 N 1 New
IPCS/
100 Mbps Ethernet 2854 N New
100 Mbps Ethernet 2809 N New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 25. Disk Information for Partition 0 Total Partition Disk Unit Capacity:
168 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 12 48 GB
8 GB disk units 15 120 GB
Table 26. Partition 1
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP 2809/
2741
N New
CD-ROM 2809 N New
Storage (Tape) 2809 N New
Electronic Customer Support
communications line 2809 N New
Console 2809 N New
IPCS/100 Mbps Ethernet 2854 N New
100 Mbps Ethernet 2809 N New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 27. Disk Information for Partition 1 Total Partition Disk Unit Capacity:
172 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 11 44 GB
8 GB disk units 16 128 GB
Table 28. Partition 2
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP 6533 N New
CD-ROM 2624 N New
Storage (Tape) 6534 N New
Electronic Customer Support
communications line 2629 N New
Console 2629 N New
IPCS/100 Mbps Ethernet 6617 N New
100 Mbps Ethernet 2810 N New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 29. Disk Information for Partition 2 Total Partition Disk Unit Capacity:
348 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 13 52 GB
8 GB disk units 37 296 GB
Example 2 Configuration Diagram Explanation
1. Since bus-level I/O partitioning was requested, a minimum of three towers is required: the base system unit plus two expansion units. Additional #508x expansion units are required to contain the disk drives in excess of the
capacities of the system unit, #5064 expansion unit, and #507x expansion unit.
2. Primary Partition (owns Bus 1, dedicated)
Load source disk unit, alternate IPL device, console device, and electronic customer support communications line are provided with the base system, controlled by the integratedMFIOP and IOAs in Card Slots C11 (IOA #2741 for load source disk and alternate IPL device) and C09 (IOA #9720 for the console and electronic customer support communications line).
3. Secondary Partition 1 (owns Bus 2, dedicated)
v Load source disk unit is in Disk Slot F31, controlled by IOP/IOA #2809/#2741 in Card Slots E15/E16.
v Alternate IPL device is CD-ROM in Removable Media slot D12, controlled by IOP/IOA #2809/#2741 in Card Slots E15/E16.
v Console device is a twinaxial workstation, controlled by IOP/IOA #2809/#2722 in Card Slots E15/E14.
v Electronic customer support communications line is controlled by IOP/IOA
#2809/#2721 in Card Slots E15/E13.
4. Secondary Partition 2 (owns Bus 3, dedicated)
v Load source disk unit is in Disk Slot K01, controlled by IOP #6533 in Card Slot 2.
v Alternate IPL device is CD-ROM in Removable Media slot D01, controlled by IOP #2624 in Card Slot 3.
v Console device is a twinaxial workstation, controlled by IOP/IOA #2629/#6180 in Card Slot 4.
v Electronic customer support communications line is controlled by IOP/IOA
#2629/#2699 in Card Slot 4.
5. Other I/O (duplicated in all three partitions) v IPCS (Integrated PC Server):
Primary:
#2854 in Card Slots C06/C07, supporting 100 Mbps Ethernet via IOA
#2838 in Card Slot C05.
Secondary 1:
#2854 in Card Slots E19/E20, supporting 100 Mbps Ethernet via IOA
#2838 in Card Slot E18.
Secondary 2:
#6617 in Card Slots 6/7/8, supporting 100 Mbps Ethernet via IOA
#2838 (″daughter″card attached to IPCS #6617) v 100 Mbps Ethernet:
Primary:
Controlled by IOP/IOA #2809/#9738 in Card Slots C03/C01.
Secondary 1:
Controlled by IOP/IOA #2809/#2838 in Card Slots E05/E06.
Secondary 2:
Controlled by IOP/IOA #2810/#2838 in Card Slot 9.
Note: Each partition also supports external 3590 tape as an alternate IPL device, controlled by:
Primary:
IOP/IOA #2809/#2729 in Card Slots C03/C02.
Secondary 1:
IOP/IOA #2809/#2729 in Card Slots E10/E11.
Secondary 2:
IOP #6534 in Card Slot 5.
Example 3: Model 640 #2239 (4-way) IOP-level I/O partitioning
This example uses a Model 640. It reduces costs slightly by switching the alternate IPL devices between secondary partitions. This can be done only with IOP-level I/O partitioning.
Example of a packaging restriction
In order to switch tape and CD-ROM devices between all partitions, they must use an IOP other than the base MFIOP. On Models 620/720/S20 and 640/730/S30, the internal alternate IPL devices for the primary partition are supported only by the base MFIOP, which also supports the load source disk for the primary partition (i.e., they are not switchable to secondary partitions on these systems).
Table 30. LPAR Configuration LPAR Information:
To be used for departmental systems.
IOP-level partitioning.
Switch ECS and tape device #3590 between all three partitions.
Switch CD-ROM device between the 2 secondary partitions.
All 3 partitions will use a twinaxial console.
System Model:
640
Processor Feature:
2239
Interactive Feature (Models 7xx only):
Partition Number of
Total 4 16384 MB 998.6 CPW
Primary Partition 0 2 8192 MB 50% (499.3) Y
Secondary Partition 1 1 4096 MB 34% (339.52) Y
Secondary Partition 2 1 4096 MB 16% (159.78) Y
Secondary Partition 3
Table 31. Partition 0 (Primary)
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP Yes N 1 New
CD-ROM Base N 1 New
Storage (Tape) 6534 Y 1 New
Electronic Customer Support
communications line Yes Y New
Console Yes N 1 New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 32. Disk Information for Partition 0 Total Partition Disk Unit Capacity:
352 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 20 80 GB
8 GB disk units 34 272 GB
Table 33. Partition 1
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP 6533 N New
CD-ROM 2624 Y New
Storage (Tape) N/A Y N/A
Electronic Customer Support
communications line N/A Y N/A
Console 2629/
6180
N New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 34. Disk Information for Partition 1 Total Partition Disk Unit Capacity:
268 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 27 108 GB
8 GB disk units 20 160 GB
Table 35. Partition 2
Requirements IOP Feature Code
Switchable IOP (yes/no)
Bus Location New or Existing*
Load Source Disk Unit IOP 6533 N New
CD-ROM N/A Y N/A
Storage (Tape) N/A Y N/A
Electronic Customer Support
communications line N/A Y N/A
Console 2629/
6180
N New
* New = New system or MES; Existing = Existing system or migrated from original configuration
Table 36. Disk Information for Partition 2 Total Partition Disk Unit Capacity:
136 GB
Disk Unit Protection: (circle one) RAID, Mirroring, None
Disk Type Quantity Capacity
4 GB disk units 12 48 GB
8 GB disk units 11 88 GB
Example 3 Configuration Diagram Explanation
1. Since three partitions are required, a minimum of three towers is still required:
the base system unit plus two expansion units. With IOP- level partitioning, this configuration could support up to four partitions. Additional #508x expansion units are required to contain the disk drives in excess of the capacity of the system unit, #507x expansion unit, and #508x expansion unit.
2. Primary Partition (owns Bus 1, shared)
Load source disk, alternate IPL CD-ROM, console, and electronic customer support communications line are provided with the base system. Alternate IPL tape (3590) is controlled by IOP #6534 in Card Slot S03 in the system unit (switchable).
3. Secondary Partition 1 (owns Bus 2, shared; uses Buses 1 and 3)
v Load source disk is in Disk Slot 15C in tower #508x, controlled by IOP #6533 in Card Slot 3.
v Alternate IPL CD-ROM is in Removable Media slot D01 in tower #507x, controlled by IOP #2624 in Card Slot 3 (switchable).
v Alternate IPL tape (3590) is switchable between all partitions via IOP #6534
v Console device is a twinaxial workstation, controlled by IOP/IOA #2629/#6180 in Card Slot 4 in tower #507x.
4. Secondary Partition 2 (owns Bus 3; uses Buses 1 and 2)
v Load source disk is in Disk Slot K01 in tower #508x, controlled by IOP #6533 in Card Slot 4.
v Alternate IPL CD-ROM is switchable between secondary partitions via IOP
#2624 in Card Slot 3 in tower #507x.
v Alternate IPL tape (3590) is switchable between all partitions via IOP #6534 in Card Slot 3 in the System Unit.
v Console device is a twinaxial workstation, controlled by IOP/IOA #2629/#6180 in Card Slot 5 in tower #507x.
Additional technical information
Customers who understand how AS/400 hardware is configured may be interested in some of the specific rules regarding card and device placement to support secondary partitions.
There are additional card placement rules that depend upon the combination of features ordered. Two Redbooks contain this information:
AS/400e series System Handbook (GA19-5486) AS/400e series System Builder (SG24-2155) This section contains the following information:
v Information to help you understand hardware for logical partitions.
v Requirements for load source disk units.
v Requirements for alternate IPL devices.
v Requirements for control panel and console functions.
v Requirements for OptiConnect.
Understanding AS/400 hardware for logical partitions
In order to understand the unique hardware requirements for logical partitions, it is necessary to have a basic understanding of AS/400 hardware and the terminology used to describe it.
This section covers the following topics:
v Systems that support logical partitions v Expansion units
v Buses, IOPs and IOAs, SPD versus PCI Systems supporting logical partitions
To start with, logical partitions are supported only on AS/400e series with multiple processors, since each partition must have one or more dedicated processors.
Table 37 on page 49 shows the systems that can have logical partitions:
Table 37. AS/400e systems supporting LPAR
S20 2 #2165 464.3 49.7
4 #2166 759.0 56.9
S20 ISV 2 #2170 464.3 49.7
4 #2177 759.0 110.7
4 #2178 759.0 221.4
720 2 #2063 810.0 See Table 38 on
page 50
S30 ISV 4 #2320 998.6 215.1
8 #2321 1794.0 386.4
S40 8 #2256 1794.0 64.0
8 #2207 3660.0 120.0
12 #2261 2340.0 64.0
12 #2208 4550.0 64.0
S40 ISV 8 #2340 3660.0 1050.0
12 #2341 4550.0 2050.0
740 8 #2069 3660.0 See Table 38 on
page 50
12 #2070 4550.0
You will need to enter the appropriate processor feature code for the desired model in the LPAR Configuration Work Sheet. You will also need to decide how to divide up the total CPW of your system between all your logical partitions.
The following table shows the Interactive Feature code you need to supply on your LPAR Configuration Work Sheet if you order a 720, 730, or 740 model AS/400.
Select the amount of Interactive Performance you want on your system, then note the Interactive Feature that corresponds to that performance.
Table 38. Interactive Feature Codes for 7xx Models
Model Interactive Performance Interactive Feature
720 (#2063) 35 1500
Table 39 on page 51 shows the maximum resources available per system. Make sure to refer to this information when you fill in the LPAR Hardware Planning Work Sheet.
Table 39. Maximums available for AS/400e series
Model No. of Processors Main Storage (MB) Disk Storage (GB)
620 2 4096 944
S30 ISV 8 24576 1340
730 8 24576 2499
650 12 40960 2095
S40 12 40960 2095
S40 ISV 12 40960 2095
740 12 40960 4294
The system maximums are affected by the number of logical partitions on the system. Each logical partition can support up to the maximum number for any given device (but only if no other logical partitions have any of those devices).
Expansion units (towers)
Expansion units (towers) can be added to most systems to support additional features and devices. Models 620 and 720 always include an Integrated System Expansion Unit (#9364), and this can also be ordered as an option on Model S20 (#5064). System Expansion Units (#5072, #5073, and #5044) and Storage
Expansion Units which only contain disk devices (#5082 and #5083) can be added for additional IOPs, IOAs, and I/O devices.
Table 40. Expansion units available for AS/400e series Feature No. of
#5064 (#9329) 1 S20 PCI IOPs/IOAs/Disk/Tape/CD-ROM
#5064 (#9331) 1 S20 SPD IOPs/IOAs/Disk/Tape/CD-ROM
#9364 (#9329) 1 620/720 PCI IOPs/IOAs/Disk/Tape/CD-ROM
#9364 (#9331) 1 620/720 SPD IOPs/IOAs/Disk/Tape/CD-ROM
#5072 1 All* SPD IOPs/IOAs/Disk/Tape/CD-ROM
#5073 1 All* SPD IOPs/IOAs/Disk/Tape/CD-ROM
#5082 1 All* SPD Disk
#5083 1 All* SPD Disk
Note: * All AS/400e systems that support logical partitions
The maximum number of expansion units varies per system as follows:
Table 41. Maximum expansion units (towers) per system
Model Max #50441 #9364
#5064
1. Each #5044 counts as two (2) toward the maximum.
2. Models 620 and 720 always include an Integrated System Expansion Unit (#9364). The same Integrated System Expansion Unit is optional on Model S20 (#5064).
For placement of IOP features within expansion units, refer to the diagrams in the appendix.
Buses
The system unit contains one bus, which is always used by the primary partition. It can be shared with secondary partitions. Each tower also contains at least one bus.
Therefore, bus-level I/O partitioning requires one or more expansion units per partition.
There is a limit to the number of buses a system can support:
Table 42. Maximum number of buses for an AS/400
System Model Maximum Buses
620/720/S20 6
640/730/S30 19
650/740/S40 19
IOPs and IOAs
In general, I/O devices attach to AS/400e systems via an I/O adapter (IOA). IOAs attach to I/O processors (IOPs) which in turn connect to a bus which transports data within the AS/400.
SPD vs. PCI
Hardware features are packaged in two different forms:SPDorPCI, depending upon the system model. SPD IOAs are packaged with their IOPs and do not require a separate card slot. The device connects to the slot containing the IOA and the IOP. PCI IOAs are packaged separately from the IOP and require a separate card slot. The IOP in a card slot connects to the IOA in another card slot. The device attaches to the IOA.
Also, there is more freedom of placement for SPD IOPs. PCI IOPs and IOAs have rather strict placement rules.
The following table shows the uses of SPD and PCI depending on the system model:
Table 43. SPD and PCI for the AS/400
Model Base Unit #5064 Expansion Unit All Other Expansion Units
620/720/S20 PCI PCI or SPD SPD
640/730/S30/
650/740/S40
SPD n/a SPD
IOP Types
There are many different kinds of IOPs.
v Some IOPs can only support one type of I/O device. In this case the IOA is embedded in the IOP so you can not remove the IOA or change it.
v Some IOPs can support multiple device types, but only one at a time. The type of IOA that is attached determines what device can be used. IOAs on these IOPs can be changed with another IOA to support a different I/O device.
v Some IOPs can support multiple types of I/O devices at the same time. These are known as MFIOPs orcombined function IOPs (CFIOPs)(this depends on the type of IOP). IOAs for the supported types of I/O devices attach to the IOP.
SPD Example
Here is an example of an SPD IOP and some possible IOAs:
v IOP #2629 LAN/WAN/Workstation IOP (SPD) Possible IOAs
– #6180 Twinaxial Workstation IOA (SPD) – #2699 Two-Line WAN IOA (SPD)
– #6149 16/4 Mbps Token Ring IOA (SPD) – #6181 Ethernet/IEEE 802.3 IOA (SPD)
Most SPD IOPs have an embedded IOA. Some support either tape or disk (but not both at the same time). Others support only one device type (e.g., twinaxial
workstations).
PCI Example
Here is an example of a PCI IOP and some possible IOAs:
v IOP #2809 LAN/WAN/Workstation IOP (PCI) Possible IOAs
– #2721 PCI Two-Line WAN IOA – #2722 PCI Twinaxial Workstation IOA
– #2729 PCI Magnetic Media Controller (external devices) – #2838 PCI 100/10Mbps Ethernet IOA
– #2741 PCI RAID Disk Unit Controller (internal devices) Internal tape example
#6513 Internal Tape Device Controller (SPD)
Since the #6513 is SPD-based, the IOP and IOA are embedded in the same adapter card.
The connection between an IOP and the device it controls is ″internal″if they are in the same tower, ″external″if connectors for the required external cables are
included with the IOA or device.
Requirements for load source disk units
The following requirements concern load source disk units:
v Rules for a load source disk unit IOP on a secondary partition.
v Rules for a load source disk unit on a secondary partition.
v Other rules for the load source disk unit.
Rules for secondary partition load source disk unit IOP
The IOP, specified during partition setup, must be one of the following:
Table 44. Placement for a SPD load source IOP SPD IOPs Description Towers
1. For Towers #5082/#5083, Card Slot 3 if the load source disk is in the base; Card Slot 4 if the load source disk is in Storage Expansion Unit #5052/#5058.
Table 45. Placement for a PCI load source IOP PCI
IOP
Description
#2809 PCI WAN/LAN Workstation IOP
Note: Even though its description doesn’t say so, #2809 also supports disk with one of the following IOAs:
PCI IOA
Description PCI Tower #5064/#9364 IOP/IOA Card Slots
#2726 PCI RAID Disk Unit Controller E15/E16
#2741 PCI RAID Disk Unit Controller E15/E16
Rules for secondary partition load source disk units
The load source disk unit must be in the same tower as its controlling IOP. The integrated expansion unit #5064/#9364 on Models 620/720/S20 and the storage expansion units #5082 and #5083 contain slots for disk devices while the system expansion units #5072 and #5073 require a storage expansion unit (#5052 or
#5058) to provide slots for disk units. #5052 or #5058 is also supported on storage
#5058) to provide slots for disk units. #5052 or #5058 is also supported on storage