HP-UX Virtual Partitions 6.0 Administrator Guide
For additional information about configuring NPIV, see the vparresources3(5) manpage and the
relevant NPIV sections in this guide.
Specifying CPU/Core min and max limits
The syntax to specify min and max CPUs assigned to a virtual partition is:
-[a|m] cpu::[num]:[min][:[max]]
where:
-a add (used with vparcreate or vparmodify)
-m modify (used with vparmodify)
min the minimum number of CPUs for the virtual partition and the minimum number of CPUs that
must remain assigned to the partition
max the maximum number of CPUs that can be assigned to the virtual partition
NOTE: The virtual partition can be either UP or DOWN when setting the min or max value.
Hence, a reboot is not necessary when you modify the min and max value. When the partition is
UP, the CPU count can only be adjusted if the HP-UX OS on the vPar is running. CPU counts cannot
be adjusted while the OS on the vPar is in EFI state.
Example 25 Setting the minimum number of CPUs to 2
machinename1# vparmodify -p machinename2 -m cpu:::2
Example 26 Setting the minimum number of CPUs to 2 and the maximum to 4
machinename1# vparmodify -p machinename2 -m cpu:::2:4
Adding and deleting CPUs/Cores by total
The basic syntax for adding and deleting CPUs is:
-[a|d|m] cpu::num
where:
-a|d|m specifies adding, deleting, or modifying the total count of CPUs.
num specifies the number of CPUs.
NOTE: The virtual partition can be either UP or DOWN when using the cpu::num syntax.
The total increases or decreases by num when the -a or -d option is used and is set to num when
the -m option is used.
vPars v6 does not support assignment of resources based on hardware path or socket locality.
For information about LORA support, see “LORA support” (page 13)
Booting a virtual partition
You can boot and manage vPars using the same storage media and procedures that you would
if the vPar operating system were running on its own dedicated physical hardware platform. You
can allocate administration privileges to specific virtual partition administrators.
The vPar must be in the DOWN run state to be able to be booted. To boot the vPar, you must run
the vparboot command or provide the -c “pc –on” parameters to vparconsole.
vPars provides individual consoles for each vPar. You can access the console from the VSP using
the vparconsole command. Start the console before you run the vparboot command in case
there is need to interact with EFI. You can also provide the -f -i -c “pc –on” parameters to
40 Creating and managing virtual partitions