HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)

vPars Flexible Administrative Capability (vPars A.03.03, A.03.04, vPars A.04.02, A.04.03, A.05.01)
Example HP-UX Shell Scenario (vparadmin)
Chapter 11
341
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.