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

Monitor and Shell Commands
Managing: Creating a Virtual Partition
Chapter 5
123
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 vPars A.03.xx 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:
winona1# vparstatus -p winona2 -v