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

Note that if the target partition is the local virtual partition, then the partition is only altering
itself and not altering another partition, so this will be allowed.
winona2# vparmodify -p winona2 -a cpu::1
Adding a Virtual Partition to the Designated-admin Virtual Partition List
If we want the non-designated-admin virtual partition winona2 to be able to alter other virtual
partitions, we need to add it to the designated-admin virtual partition list. This can be done from
any virtual partition, but you will need to know the flexible administrative capability password.
winona2# vparadmin -a winona2
password:
Virtual partition winona2 is added to the Designated-Admin virtual partitions list.
Deleting a Virtual Partition to the Designated-admin Virtual Partition List
If later we want to remove winona2 from the designated-admin virtual partition list, we can do
this from any virtual partition:
winona1# vparadmin -d winona2
Password:
Virtual partition winona2 is deleted from the Designated-Admin virtual partitions list.
Listing the Virtual Partitions in the Designated-admin Virtual Partition List
We can verify that winona2 has been removed from the designated-admin virtual partition list.
This can be performed from any partition.
winona1# vparadmin -l
---------- Designated-Admin virtual partitions ----------
winona1
Only winona1 is displayed as a designated-admin virtual partition. Since winona2 (and winona3)
are not in the list, they are not designated-admin virtual partitions.
Changing the Flexible Administrative Capability Password
We can change the flexible administrative capability password with the vparadmin -C command.
Note that there is no -C option in the monadmin command, although you will be asked for a
new password when you set the mode from OFF to ON.
The vparadmin -C command can be executed from any virtual partition; you will need to know
the old password to be able to change the password.
winona2# vparadmin -C
Old password:
New password:
Re-enter new password:
The vPar flexible administrative password successfully changed.
Determining whether Flexible Administrative Capability is ON or OFF
When you are within a Unix shell, the easiest method to determine whether the flexible
administrative capability mode is ON (enabled) is to use the vparadmin command.
When you are not in flexible administrative capability, you will receive the “disabled” message:
# vparadmin
The virtual partition flexible administrative capability is disabled.
When you are in flexible administrative capability, you will receive the “enabled” message:
# vparadmin
The virtual partition flexible administrative capability is enabled.
Example HP-UX Shell Scenario (vparadmin) 303