HP-UX Virtual Partitions Administrator Guide (includes A.05.07) (5900-1229, September 2010)

For this section, let’s assume we have the virtual partitions winona1, winona2, and winona3.
Turning On The Flexible Administrative Capability Feature
Turning on the flexible administrative capability feature for the first time is performed usually
after
at least one virtual partitions has been created (so that you have a vPars database)
the vPars Monitor has been booted (so that you have the vPars product running)
Also, this allows you to have at least one virtual partition to be a designated-admin virtual
partition, which allows you to vparcreate, vparboot, vparreset, and vparmodify other partitions
if needed.
Assuming we have already installed the vPars product, created virtual partitions, and have
booted the vPars Monitor, we can set the flexible administrative capability feature to ON. When
the flexible administrative capability feature is set to ON, you will also be asked for a password
that will be the new flexible administrative capability password. The old password is not required.
MON> monadmin -S on
Enter the vPar flexible administrative password:
Re-enter to confirm:
Adding Virtual Partitions to the Designated-admin Virtual Partition List
At this point, no virtual partitions have been added to the designated-admin virtual partition
list. Let’s add winona1 to the list.
MON> monadmin -a winona1
After we have completed the designated-admin list, let’s boot all the virtual partitions.
MON> vparload -all
Example HP-UX Shell Scenario (vparadmin)
Below describes examples that include (from the HP-UX shell):
a command successfully executed
a command not executed due to the flexible administrative capability feature
adding a virtual partition to the designated-admin virtual partition list
deleting a virtual partition from the designated-admin virtual partition list
listing the virtual partitions in the designated-admin virtual partition list
changing the flexible administrative capability password
determining whether you are in flexible administrative capability
For this section, let’s assume we have the virtual partitions winona1, winona2, and winona3.
A Command Successfully Executed
Because winona1 is in the designated-admin virtual partition list. We can execute a command
from winona1 that alters winona2:
winona1# vparmodify -p winona2 -a cpu::1
Note that you will not see any flexible administrative capability messages when flexible
administrative capability is allowed; you will only see flexible administrative capability messages
when access is denied.
A Command Not Executed Due to the Flexible Administrative Capability Feature
However, because winona2 is not in the designated-admin virtual partition list. We cannot
successfully execute a command from winona2 that alters another partition:
winona2# vparmodify -p winona1 -a cpu::1
vparmodify: Error: Only Designated-Admin virtual partitions can perform this operation on winona1.
winona2# vparmodify -p winona3 -a cpu::1
vparmodify: Error: Only Designated-Admin virtual partitions can perform this operation on winona3.
302 vPars Flexible Administrative Capability