HP Instant Capacity User's Guide for versions 8.x > Chapter 4 Using Instant Capacity to Manage Processing Capacity

Overriding Deferred Activations and Deactivations

  Table of Contents

  Index

NOTE: Only activation of cores is discussed in this section, but the discussion applies equally to the deactivation of cores.

If you have performed a deferred core activation, using the -D option in the icapmodify command, and the intended number of active cores specified is no longer desirable, you can override the (pending) deferred activation by performing another deferred or instant icapmodify operation. This second operation overrides the first activation.

You may experience one of the following deferred activation scenarios:

  • The deferred number of active cores was incorrect and you want it to be correct when the system reboots

  • The entire deferred operation was accidental and you want to undo it

The following two examples explain how to override these situations.

Example 4-5 Correcting an Incorrect Number of Deferred Active Cores (HP-UX)

  1. On your system or partition you currently have 2 cores activated and 2 cores inactive. You decide 4 active cores are needed, 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 initial deferred activation in Step 1 by entering the following command:
    /usr/sbin/icapmodify -D -s 3

The -s option in Step 2 (above) 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 for the icapmodify operation to be instant.

Example 4-6 Undoing an Accidental Deferred Activation (HP-UX)

  1. On your system or partition you currently have 2 cores activated and 2 cores inactive. 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 your number of active cores to be 2. You can override the initial deferred activation in Step 1 by entering the following command:
    /usr/sbin/icapmodify -a 0

The -a 0 option in Step 2 (above) overrides the previous (deferred) icapmodify command, which was executed in Step 1. The -a option is relative to the number of active cores (not the intended number of active cores).

You could accomplish the same result as Step 2 with the following command:
/usr/sbin/icapmodify -s 2