Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Virtual Partitions Administrator’s Guide > Chapter 8 CPU, Memory, and I/O Resources (A.03.xx)

CPU: Removing a Bound CPU

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To remove a bound CPU from a virtual partition, use the vparmodify command to modify the total and min parameters for the virtual partition.

NOTE: When executing any operations relating to bound CPUs (adding, modifying, or deleting), the target virtual partition must be down.

Example

  • If the partition winona2 has two bound CPUs and you want only one bound CPU (and you do not want to add any unbound CPUs), set the total and min numbers to one:

    winona1# vparmodify -p winona2 -m cpu:::1 -m cpu::1

    NOTE: If you set only the min number to one and leave the total number set at two, you will still have two CPUs assigned to winona2. One bound CPU will be removed from the partition, but one unbound CPU will be added to the partition in order to maintain the total of two CPUs.Because one of the value requirements for CPUs is min <= total and because command line options are processed left to right, when setting both min and total to one, you need to set min to one before setting total to one. This is accomplished by specifying the -m cpu:::min option before the -m cpu::total option.

CPU: Removing a CPU with a Specified Hardware Path

If you had specified a hardware path for a bound CPU, you would delete the specified hw_path and modify the min and total numbers.

Example

  • If you have two bound CPUs and want to remove the bound CPU at hardware path 41 (and do not want to add any unbound CPUs), delete the hardware path 41, modify min to one, and modify total number to one:

    # vparmodify -p winona2 -d cpu:41 -m cpu:::1 -m cpu::1

    NOTE: If you delete only hw_path and leave total as two and leave min as two, you will still have two bound CPUs.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.