Overriding Deferred Activation and Deactivation

NOTE: Although this section discusses only activation of cores, the discussion applies also to deactivation of cores.

If you have performed a deferred core activation (using the icapmodify -Dcommand), 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 might experience one of the following scenarios with deferred activation:

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.

Example 4-5and Example 4-6describe 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 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 -soption in step 2 sets the number of active cores. The activation takes place after the next system reboot due to the -Doption. You could also perform step 2 without the -Doption so that the icapmodify operation is instant.

Example 4-6 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 -aoption 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

Overriding Deferred Activation and Deactivation

61

Page 61
Image 61
HP Instant Capacity (iCAP) manual Overriding Deferred Activation and Deactivation