and the virtual partition allows enough additional cores to fulfill the request . Otherwise, use the parmodify command to reconfigure the nPartitions, or use the vparmodify command to remove cores from other virtual partitions within the same nPartition (essentially adding to the unassigned pool).

Example Core Activation Session

Example 4-3shows how to activate an additional core in an nPartition environment. At the beginning of this activation session, there are a total of 4 cores in the partition; 2 cores are activated and 2 are inactive, but usage rights have been acquired to activate at least one inactive core. In this example, 1 additional core is activated, leaving the partition with 3 active cores and 1 inactive core.

Example 4-3 Activating an Additional Core (HP-UX)

>/usr/sbin/icapmodify -a 1 "Add CPU for new FY: Bill P."

3 cores are intended to be active and are currently active.

In this example, note the following:

The core activation is instant (that is, a reboot is not required).

The double-quoted text serves as an audit trail of why the activation was done and who performed it. This information is optional and is written to the Instant Capacity log file (var/adm/icap.log) if provided.

NOTE: To defer the activation until the next reboot, add the -Doption to the command. For more information, see icapmodify(1M).

The icapmodify command allows you to activate additional cores with the -aoption, or set the total number of active cores with the -soption. For example, the icapmodify -a 2 command activates two additional cores in a partition. The icapmodify -s 2 command sets the total number of active cores in a partition to 2.

For details about software application implications when activating additional cores, see “Software Application Considerations” (page 71).

58 Using Instant Capacity to Manage Processing Capacity

Page 58
Image 58
HP Instant Capacity (iCAP) manual Example Core Activation Session, Example 4-3 Activating an Additional Core HP-UX