04.11.2012 Views

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CPU: Adding or Deleting by CLP (Cell Local Processor)<br />

Similar to CLM (cell local memory), CLP (cell local processor) refers to CPUs on a specific cell.<br />

The syntax to specify CLP is:<br />

-[a|d|m] cell:cell_ID:cpu::num<br />

where:<br />

-a add<br />

-d delete<br />

-m modify<br />

cell_ID the cell ID<br />

num the number of CPUs from the cell to be added to or deleted from the virtual partition.<br />

Note that the num CPUs need to be available on the cell as well as the system before<br />

they can be added. To see whether they are available or already allocated, use the<br />

vparstatus command.<br />

NOTE: CPU deletion fails when deletion by total and by CLP are given in the same vparmodify<br />

command.<br />

In this situation, the CPU deletion by total fails with the error message “vPar does not own<br />

enough Monitor-assigned CPUs to satisfy the request” although there are enough<br />

monitor-assigned CPUs.<br />

Instead, issue separate vparmodify commands to delete by total and delete by CLP.<br />

For example instead of issuing the following command:<br />

# vparmodify -p vpar1 -d cell:3:cpu::2 -d cpu::1<br />

Issue two separate commands to delete by CLP and then by total:<br />

# vparmodify -p vpar1 -d cell:3:cpu::2<br />

# vparmodify -p vpar1 -d cpu::1<br />

NOTE: The virtual partition can be either up or down when using the CLP syntax<br />

(cell_ID:cpu::num).<br />

CPUs that are added using the CLP syntax can be deleted only by using either:<br />

• CLP syntax, or<br />

• cpu:hw_path syntax (deletion by hardware path)<br />

Adding or deleting CPUs by CLP changes total accordingly, regardless of whether the virtual<br />

partition is up or down.<br />

Examples<br />

• To create a virtual partition using 2 CPUs from cell 6:<br />

keira1# vparcreate -p keira2 -a cell:6:cpu::2 ...<br />

• To increase the number of CPUs by 2 using the CPUs of cell 6:<br />

keira1# vparmodify -p keira2 -a cell:6:cpu::2<br />

To decrease the number of CPUs by 2 using the CPUs of cell 6:<br />

keira1# vparmodify -p keira2 -d cell:6:cpu::2<br />

CPU: Adding or Deleting by Hardware Path<br />

The syntax for specifying by hardware path is:<br />

-[a|d] cpu:hw_path<br />

206 CPU, Memory, and I/O Resources (A.05.xx)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!