HP Instant Capacity Version 10.x User Guide (5900-1581, March 2011)

Example 6 Correcting an Incorrect Number of Deferred Active Cores (HP-UX)
1. On your system or partition you currently have 2 active cores and 2 inactive cores. You need
4 active cores, so you perform a deferred activation for 2 additional active cores by entering
the following command:
/usr/sbin/icapmodify -D -a 2
2. Later, and prior to a system reboot, you realize that you need only 3 active cores (not 4). You
can override the action in step 1 by entering the following command:
/usr/sbin/icapmodify -D -s 3
The -s option in step 2 sets the number of active cores. The activation takes place after the next
system reboot due to the -D option. You could also perform step 2 without the -D option so that
the icapmodify operation is instant.
Example 7 Undoing an Accidental Deferred Activation (HP-UX)
1. On your system or partition, you currently have 2 active cores and 2 inactive cores. You
accidentally perform a deferred activation for 1 additional active core by entering the following
command:
/usr/sbin/icapmodify -D -a 1
2. Later, and prior to a system reboot, you realize that you didn’t want to activate the additional
core (which would give you 3 active cores) and you want the number of active cores to be
2. You can override the action in step 1 by entering the following command:
/usr/sbin/icapmodify -a 0
The -a 0 option in step 2 overrides the previous (deferred) icapmodify command, which was
executed in step 1. The -a option is relative to the number of active cores, not to the intended
number of active cores.
You could accomplish the same result as step 2 with the following command:
/usr/sbin/icapmodify -s 2
Load-Balancing Active Cores
Active cores can be redistributed across any or all partitions of a hardware-partitionable system
if those partitions contain inactive cores.
For example, consider a system with two partitions:
Partition 1 has 5 active cores and 3 inactive cores.
Partition 2 has 8 active cores and 0 inactive cores.
You need to add processing power to Partition 1 because of application demand and you notice
that the active cores in Partition 2 are underutilized.
Deactivating an active core in Partition 2 decreases the number of active cores in that partition,
and activating one of the cores in Partition 1 increases the number of active cores in that partition.
The total number of active cores in the complex is the same at the end of this operation.
IMPORTANT: To remain in compliance, you must perform the deactivation operation first.
The two partitions are left with the following:
Partition 1 now has 6 active cores and 2 inactive cores.
Partition 2 now has 7 active cores and 1 inactive core.
Redistribution of active cores does not affect compliance. This is because you do not change the
overall number of active cores in the complex. If the complex was in compliance prior to the
Load-Balancing Active Cores 45