HP Superdome 2 Partitioning Administrator Guide (5900-2064, November 2011)

vparmodify -N nPar0001 -p vPar0001 -m cpu::2
If you want to add 1 CPU—core to an existing partition, regardless of its current CPU—core
count, you can add 1 CPU—core by using the -a option and setting num to 1:
vparmodify -N nPar0001 -p vPar0001 -a cpu::1
To remove the added CPU—core from the partition, use the -d option and set num to 1:
vparmodify -N nPar0001 -p vPar0001 -d cpu::1
CPU-core: Adding or Deleting by Socket Local Processor (SLP)
NOTE: If you start with all SLP assignments, but use gWLM, over time, the SLP assignments will
get converted to by-count assignments. This happens because gWLM adds and deletes by-count.
SLP is similar to the socket local memory (SLM), and refers to CPUs in a specific socket on a specific
blade. The syntax to specify SLP is:
-a, -d socket:socket_ID:cpu::num
where:
-a is adding
-d is deleting
socket_ID is the path (enclosure#/blade#/socket#)
num is the number of CPU-cores from the socket to be added to or deleted from the
virtual partition. Note that the num CPU-cores must be available in the socket and
in the nPartition before they can be added. To verify the allocation of num
CPU-cores, use the vparstatus -A command when the nPartition is booted in
vPar mode.
Examples
To create a virtual partition using 2 CPU-cores from socket 0 on blade 1:
vparcreate -N <nPar name> -p <vPar name> -a socket:1/1/0:cpu::2
To increase the number of CPU-cores by 2 using the CPU-cores from socket 0 on blade 1:
vparmodify -N <nPar name> -p <vPar name> -a socket:1/1/0:cpu::2
To decrease the number of CPU-cores by 2 removing CPUs from socket 0 on blade 1:
vparmodify -N <nPar name> -p <vPar name> -d socket:1/1/0:cpu::2
CPU-core: Adding or Deleting by Resource Path
To specify by resource path, use the following syntax:
-a, -d cpu:cpu_path
where:
-a is adding
-d is deleting
cpu_path is the resource path of the cpu (you can find the resource path of an existing and
defined vPar using the vparstatus -v -p <nPar_id:vPar_id>) command.
NOTE: For vPars that are UP, any CPU can be deleted by path; if the CPU was added by count,
the by-count total will change. If the CPU was added by socket, the SLP count for that socket will
change.
Planning Your Virtual Partitions 85