content_image/994288.jpg content_image/994287.jpg
## Activating the On/Off CoD resources 

On/Off CoD resources are activated by the HMC chcod  command. Table 6-20 shows the commands that PowerHA SystemMirror uses to assign the On/Off CoD resource to one server. You do not need to run these commands. 

<img src='content_image/994288.jpg'>

Tip:  The chcod  commands are given in Table 6-20 as examples, but it is not necessary for the user to run these commands. These commands are embedded in to the ROHA run time, and run as part of the ROHA acquisition and release steps. 

Note:  For acquiring the Power Enterprise Pool and the On/Off CoD resources, every amount of memory resources is expressed in MB but aligned in GB of memory (for example, 1024 or 4096), and every number of processing units is aligned on the whole upper integer. 

All Power Enterprise Pool and On/Off CoD resources that are acquired are in the CEC’s free pool, and these are automatically added to the target LPAR by using DLPAR. 

## Allocating the DLPAR resources 

DLPAR resources are allocated by using the HMC chhwres  command. Table 6-21 shows the commands that PowerHA SystemMirror uses to assign resources from the server’s free pool to one LPAR. You do not need to run these commands. 

<img src='content_image/994287.jpg'>

Tip:  The chhwres  commands are given in Table 6-21 as examples, but it is not necessary for the user to run these commands. These commands are embedded in to the ROHA run time, and run as part of the ROHA acquisition and release steps. 

For shared processor partitions in a shared processors pool that is not the default pool, it might be necessary to adjust the maximum processing units of the shared processor pool. To do so, use the operation that is shown in Example 6-11, which uses the HMC chhwres command. The enablement of this adjustment is authorized by a tunable. 

Example 6-11 shows the command that PowerHA SystemMirror uses to change the shared processor pool’s maximum processing units. You do not need to run this command. 

chhwres -m <cec> -o s -r procpool --poolname <pool> -a max_pool_proc_units=<pu> 

