Installing and Managing HP-UX Virtual Partitions (A.02.01)

Monitor and Shell Commands
Creating a Virtual Partition
Chapter 5110
The resulting vparcreate command line is:
winona1# vparcreate -p winona2 -a cpu::3 -a cpu:::2:4 -a
cpu:41 -a cpu:45 –a mem::1280 –a io:0/8 -a io:1/10 -a
io:0/8/0/0.5.0:boot
TIP For the vparcreate options, you can create a text file that includes all
the options and then cat the text file within the vparcreate command
line. This avoids having to remember all the options when you are typing
the vparcreate command line.
For example, for the above vparcreate command of winona2, you can
create a text file called /stand/winona2.opts:
winona1# vi /stand/winona2.opts
The text file would contain the following:
-p winona2 \
-a cpu::3 \
-a cpu:::2:4 \
-a cpu:41 \
-a cpu:45 \
-a mem::1280 \
-a io:0/8 \
-a io:1/10 \
-a io:0/8/0/0.5.0:boot
When you are ready to execute the vparcreate command, the command
appears as:
winona1# vparcreate ‘cat /stand/winona2.opts‘
You can verify the creation using the vparstatus command:
all hardware where the path begins with
0/8
-a io:0/8
all hardware where the path begins with
1/10
-a io:1/10
hardware at 0/8/0/0.5.0 as the boot disk -a io:0/8/0/0.5.0:boot
Resource or Attribute vparcreate Option