HP-UX Virtual Partitions Administrator's Guide (includes A.04.06 and A.05.04)

Table Of Contents
vPars Commands
When the flexible administrative capability mode is ON, the vPars flexible administrative
capability feature restricts the vPars commands such that you can alter another virtual partition
only if you execute the command from a partition that is in the designated-admin virtual partition
list. When you execute the command from a non-designated-admin virtual partition, if the
command alters another virtual partition, it will not be allowed. (A.03.03 only: this is true even
if the vPars commands are applied to an alternate database).
The table below shows the results when the flexible administrative capability feature is ON.
Table 11-1 Flexible Administrative Capability Impact on vPars Commands
Executed from a ...vPars command
non-designated-admin virtual partitiondesignated-admin virtual
partition
not allowedallowed
vparboot
not allowedallowed
vparcreate
not allowedallowed
vparremove
not allowed unless target partition is the local virtual partitionallowed
vparmodify
not allowed unless target partition is the local virtual partitionallowed
vparreset
not allowed unless target partition is the local virtual partitionallowed
vparutil
not allowedallowed
vparenv -m
vparenv -g
The remaining vPars commands, such as vparstatus, are allowed by all virtual partitions
regardless of the flexible administrative capability mode because they do not alter other virtual
partitions.
NOTE:
When the Target Partition is the Local Partition If you use a command that alters a virtual
partition but you execute it from the partition itself (in other words, the target partition equals
the local virtual partition), this is allowed. For example,
winona2# vparmodify -p winona2 -a cpu::1
Because you are not modifying another virtual partition, this will be allowed even if winona2 is
not a designated-admin virtual partition.
vparcreate While flexible administrative capability is on, when you create a virtual partition,
the target partition will be a non-designated-admin virtual partition. You cannot vparcreate
a virtual partition as a designated-admin virtual partition. After the vparcreate command, to
change the non-designated-admin virtual partition to a designated-admin virtual partition, you
will need to add the partition to the designated-admin virtual partition list using the vparadmin
-a command.
vparstatus vparstatus does not show whether a virtual partition is in the designated-admin
virtual partition list; you need to use vparadmin -l.
Example vPars Monitor Scenario (monadmin)
Below describes examples that include (from the vPars Monitor):
turning on the flexible administrative capability feature (which will include setting the
password)
adding virtual partitions to the designated-admin virtual partition list
vPars Commands 297