HP Superdome 2 Partitioning Administrator Guide (5900-1801, August 2011)

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
NOTE: When CPUs are added using the socket local syntax, they can be deleted only by using
the socket local syntax. Adding or deleting CPUs by socket changes the total count of CPUs.
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: When CPUs are added using the resource path syntax, they can be deleted only by using
the resource path syntax.
Adding or deleting CPUs by path, changes the total count of CPUs.
Example
To add the CPU at 1/1/0/0 (enclosure 1, blade1, socket 0, core 0) and 1/1/0/1 to
vPar0001:
vparmodify -N <nPar name> -p <vPar name> -a cpu:1/1/0/0 -a
cpu:1/1/0/1
CPU: Summary Information
Impact on vPars Commands: Specifying CPU
Table 7 (page 83) lists the CPU resource paths in the following four ways:
Table 7 CPU-core Allocation
ExampleResource PathFormsAllocating By
vparcreate -p Oslo -N Norway -a cpu:1/1/0/0enclosure#/blade#/
cpusocket#/cpucore#
cpu:cpu_pathCPU resource path
vparcreate -p Oslo -N Norway -a cpu::2All positive integerscpu::numCPU count
vparcreate -p Oslo -N Norway -a
socket:3/6/0:cpu::2
enclosure#/blade#/cpusocket#socket:socket_id:
cpu::num
socket path
vparcreate -p Oslo -N Norway -a cpu::2:8All positive integerscpu:::[min][:[max]]Defining the
minimum and
maximum CPUs
Planning Your Virtual Partitions 83