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: Adding a CPU as a Bound CPU

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

All CPUs begin as not being assigned to any virtual partition, so all CPUs begin as unbound CPUs. However, you can assign CPUs as bound CPUs to the partition by specifying the min number in the -a cpu:::min command line option.

Examples

  • To create a virtual partition winona2 with two bound CPUs:

    winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2

    In this example, the total number of CPUs assigned to the partition is two (-a cpu::2). Of these two CPUs, two are bound because min is set to two (-a cpu:::2).

  • If the partition already exists, you can use the vparmodify command to set the number of bound CPUs. For example, to increase the number of bound CPUs from two to three:

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

Choosing the Hardware Path of a Bound CPU

By default, the vPars Monitor chooses the hardware path of a bound CPU. However, if you need to use a specific CPU, you can specify its hardware path by using the -a cpu:hw_path option.

Examples

  • In the following command:

    winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2

    the virtual partition winona2 has two bound CPUs. If you want the CPU at hardware path 41 to be one of the two bound CPUs, specify the hardware path 41 (-a cpu:41) such that the command line is:

    winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2 -a cpu:41

  • If you want to specify multiple CPUs, use the -a cpu:hw_path option for each hardware path. For example, if you want to specify the CPU at hardware path 41 and the CPU at hardware path 45, the command is:

    winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2 -a cpu:41 -a cpu:45

    Note that because there are two paths specified, min must be greater than or equal to two. Further, because there are at least two bound CPUs, total must be at least two.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.