vparmodify2.1m (2010 09)
v
vparmodify2(1M)
For OA Based Partition Management Systems
vparmodify2(1M)
Long form: enclosure7/iobay1/iohub0/iorc1/iorp2
• ioslot_path for:
1) Blade resident I/O is specified as enclosure#
/blade# /io_slot#
For example:
Short form: 3/6/1
Medium form: ioslot-3/6/1
Long form: enclosure3/blade6/ioslot1
2) I/O bay resident I/O is specified as enclosure#
/iobay# /io_slot#
For example:
Short form: 7/1/4
Medium form: ioslot-7/1/4
Long form: enclosure7/iobay1/ioslot4
Note that there is a one-to-one correspondence between root ports (specified along with io_path) and
ioslots (specified along with ioslot_path) on SD2 servers. The verbose output of blades and iobays
displayed by parstatus shows the correspondence between rootports and ioslots.
• Please note that unlike nPartitions, vPartition ilm_size and size are specified in MB (megabytes).
The commands round ilm_size and size upward as required to the granule increment in effect for that
memory type. ilm_size and size may be specified in decimal or in hexadecimal. A hex specification
should be preceded by 0x, as in 0x8000000.
• A virtual partition must be in the DOWN run-state to modify resources. This restriction may be
relaxed in a future release.
SECURITY RESTRICTIONS
When invoked from the OS, this command is restricted to processes owned by superuser having appropri-
ate
parperm privilege. An OA user with operator privilege level or above can modify virtual partitions
from the OA.
RETURN VALUE
The
vparmodify command exits with one of the following values:
0 Successful completion.
1 One or more error conditions occurred.
EXAMPLE
Change the name of the virtual partition called
Oslo to Bergen:
vparmodify -p Oslo -P Bergen
Add two processors to the virtual partition Oslo (cpu and core syntax):
vparmodify -p Oslo -a cpu::2
vparmodify -p Oslo -a core::2
Add two socket-local processors from enclosure 3, blade 6, socket 0 to the virtual partition Oslo (cpu and
core syntax):
vparmodify -p Oslo -a socket:3/6/0:cpu::2
vparmodify -p Oslo -a socket:3/6/0:core::2
Delete 1 GB of Socket Local Memory on enclosure 3, blade 6, socket 0 from the virtual partition Oslo:
vparmodify -p Oslo -d socket:3/6/0:mem::1024
Add two processors to the virtual partition Bergen in nPartition Norway:
vparmodify -p Bergen -N Norway -a cpu::2
Add an I/O device to the virtual partition (io and ioslot syntax):
vparmodify -p Bergen -N Norway -a io:5/1/0/0/2
vparmodify -p Bergen -N Norway -a ioslot:5/1/3
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3