Installation guide
Environment Variables that Create Logical Partitions 3-3
You define values for one environment variable to define the number of logical
partitions on your system, one to set the memory mode, and two for each parti-
tion that define the CPU and I/O modules in each partition. The lpinit com-
mand (described in context in Chapter 4) initializes the logical partitions de-
fined. Figure 3–1 and Table 3–1 give an overview of the environment variables
and what they do. Environment variable settings for the CPU and I/O masks
are discussed in detail in following sections of this chapter. (Memory allocation
is discussed in detail in Section 2.5.)
Table 3–1 Environment Variables for Logical Partitions
Environment
Variable Definition
lp_count n The number of logical partitions you wish to create on the
system. At the start of creating logical partitions, you set
this value to 0. Later, as described in Chapter 4, you define
the number of logical partitions desired. 0 indicates the
traditional symmetric multiprocessing system. Possible
values are 0 (partitions disabled), 2 (for two partitions), or 3
(for three partitions, allowable only on GS140 systems).
lp_cpu_mask* x For the *, you supply the number of the partition, which
may be 0, 1, or 2. (The value 2 is only possible with GS140
systems.) The value x gives a binary mask indicating which
CPUs you want included as part of the instance. Although
the mask selects individual CPUs, assignments must align
with module boundaries. See Section 3.2 for detailed ex-
amples.
lp_io_mask* x
For the *, you supply the number of the partition, which
may be 0, 1, or 2. (The value 2 is only possible with GS140
systems.) The value x gives a binary mask indicating the
slot number of the I/O module or modules to be reserved
for the use of a particular instance. Detailed examples are
given in Section 3.3.
lp_mem_mode x The value of x must be isolate.