Installation guide

hexadecimal numbers, which are bit masks in which a bit position in the
mask correspondes to a module or processor number. Hardware
configuration rules require modules to be installed in specific slot numbers,
based on the module type, as follows:
• IO port (IOP) modules are installed in slots 8, 7, and 6 in descending
order with a maximum of three IOP modules allowed.
• CPU (dual processor) modules are installed in slots 0 through N in
ascending order (N depends on the number of CPU modules installed).
The value of N is limited by the number of IOP and MEM modules.
• MEM (memory) modules are installed in any available slot between the
highest numbered CPU module and the lowest numbered IOP module.
The processor mask (lp_cpu_mask) is set by left shifting the number 3 by
two times the slot number of the CPU module. Possible CPU masks for each
slot are:
Processors 00 and 01 (slot 0): 3 << (2 * 0) = 003
Processors 02 and 03 (slot 1): 3 << (2 * 1) = 00c
Processors 04 and 05 (slot 2): 3 << (2 * 2) = 030
Processors 06 and 07 (slot 4): 3 << (2 * 4) = 0c0
Processors 08 and 09 (slot 5): 3 << (2 * 5) = 300
Processors 10 and 11 (slot 6): 3 << (2 * 6) = c00
The lp_cpu_mask is formed by combining (logical or) the masks for
individual CPU module slots. For example, to assign the four processors on
the CPU modules in slot 0 and 1 to partition 0, lp_cpu_mask0 would be
00f.
The IO port mask (lp_io_mask) is set by left shifting the number 1 by the
slot number of the IOP module. Possible IOP masks for each slot:
IO Port module in slot 8: 1 << 8 = 100
IO Port module in slot 7: 1 << 7 = 080
IO Port module in slot 6: 1 << 6 = 040
E.4.3.4 Determining and Setting Environment Variables
To create the console environment variables for your logical partitions, first
determine the number of partitions and which slots (that is, CPU, MEM, and
IOP modules) will be assigned to each partition (using the module types
and slot numbers you recorded previously). Then, create the console EVs.
A summary of console EVs and values follows:
Console EV Value
lp_count
Number of partitions
lp_cpu_maskN CPU assignment mask for partition N
Administering Specific Hardware E–17