5-6 Getting Started with Logical Partitions
5.3
Halting All Partitions to Reconfigure
You may wish to change the allocations set with the lp_* environment
variables, in effect reconfiguring your partitions. Shut down the
operating system in each partition, reset the system, change the
settings as desired, reset the system, and issue an lpinit command.
Example 5–3 All Consoles: Shut Down Operating System
# /usr/bin/shutdown –h +5 “Shutting down to reconfigure partitions”
➊
Example 5–4 Primary Console: Disable Partitions and Reset EVs
P00>>> set lp_count 0
➋
P00>>> init
➌
Are you sure you want to reset ALL partitions? (Y/N) Y
.
.
.
P00>>> set lp_count 2
➍
P00>>> set lp_cpu_mask0 3
P00>>> set lp_cpu_mask1 30
P00>>> set lp_io_mask0 100
P00>>> set lp_io_mask1 c0
P00>>> set lp_mem_mode isolate
P00>>> set auto_action halt
P00>>> init
➎
.
.
.
P00>>> lpinit
➏
CPU 2, 3 not configured in any partition
➐
Partition 0: Primary CPU 0
Partition 1: Primary CPU 4
Partition 0 Memory Base 0000000000 Size 080000000
Partition 1 Memory Base 0800000000 Size 040000000
No Shared Memory
LP Configuration Tree 132000
Starting CPU 4 in partition 1 at address 080010001
Starting CPU 5 in partition 1 at address 080010001