04.11.2012 Views

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note that if the target partition is the local virtual partition, then the partition is only altering<br />

itself and not altering another partition, so this will be allowed.<br />

winona2# vparmodify -p winona2 -a cpu::1<br />

Adding a <strong>Virtual</strong> Partition to the Designated-admin <strong>Virtual</strong> Partition List<br />

If we want the non-designated-admin virtual partition winona2 to be able to alter other virtual<br />

partitions, we need to add it to the designated-admin virtual partition list. This can be done from<br />

any virtual partition, but you will need to know the flexible administrative capability password.<br />

winona2# vparadmin -a winona2<br />

password:<br />

<strong>Virtual</strong> partition winona2 is added to the Designated-Admin virtual partitions list.<br />

Deleting a <strong>Virtual</strong> Partition to the Designated-admin <strong>Virtual</strong> Partition List<br />

If later we want to remove winona2 from the designated-admin virtual partition list, we can do<br />

this from any virtual partition:<br />

winona1# vparadmin -d winona2<br />

Password:<br />

<strong>Virtual</strong> partition winona2 is deleted from the Designated-Admin virtual partitions list.<br />

Listing the <strong>Virtual</strong> <strong>Partitions</strong> in the Designated-admin <strong>Virtual</strong> Partition List<br />

We can verify that winona2 has been removed from the designated-admin virtual partition list.<br />

This can be performed from any partition.<br />

winona1# vparadmin -l<br />

---------- Designated-Admin virtual partitions ---------winona1<br />

Only winona1 is displayed as a designated-admin virtual partition. Since winona2 (and winona3)<br />

are not in the list, they are not designated-admin virtual partitions.<br />

Changing the Flexible Administrative Capability Password<br />

We can change the flexible administrative capability password with the vparadmin -C command.<br />

Note that there is no -C option in the monadmin command, although you will be asked for a<br />

new password when you set the mode from OFF to ON.<br />

The vparadmin -C command can be executed from any virtual partition; you will need to know<br />

the old password to be able to change the password.<br />

winona2# vparadmin -C<br />

Old password:<br />

New password:<br />

Re-enter new password:<br />

The vPar flexible administrative password successfully changed.<br />

Determining whether Flexible Administrative Capability is ON or OFF<br />

When you are within a Unix shell, the easiest method to determine whether the flexible<br />

administrative capability mode is ON (enabled) is to use the vparadmin command.<br />

When you are not in flexible administrative capability, you will receive the “disabled” message:<br />

# vparadmin<br />

The virtual partition flexible administrative capability is disabled.<br />

When you are in flexible administrative capability, you will receive the “enabled” message:<br />

# vparadmin<br />

The virtual partition flexible administrative capability is enabled.<br />

Example <strong>HP</strong>-<strong>UX</strong> Shell Scenario (vparadmin) 303

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!