HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
• List all devices with a specific dependency:
hpvmdevmgmt -V -l {all|server|rdev|gdev}:depend:dependent-name
• List a single entry by name:
hpvmdevmgmt -V -l {all|server|rdev|gdev}:entry-name
-v
Displays the version number of the hpvmdevmgmt output format. The version number is
displayed first, followed by the display specified by other options.
-V
Increases the amount of information displayed (verbose mode).
-S size filename
Creates a file for use as a virtual device. The size argument must end in either M for megabyte
or G for gigabyte. The filename is the path name of the file to be created. An error is returned
on an attempt to overwrite an existing file.
—A
The -A option adds a file created by -S option to the device database. It adds the device with
the following attributes:
• PRESERVE=YES
• USAGE=DISK
For example:
# hpvmdevmgmt -A -S file_size file_name
-I
Creates attached (passthrough/sctl) devices. Attached devices include tape devices, media
changers, and CD/DVD burners. Also, automatically adds /etc and /stand to the device
database as restricted directories (using RECURSIVE:FS).
NOTE: The hpvmdevmgmt -I command works only on device directories that have changed.
If you want the command to rigorously search all device directories regardless of whether
changes have happened since the last search, remove the /var/opt/hpvm/common/
hpvm_devinit file before running hpvmdevmgmt -I.
-m {server | rdev |gdev |env}:entry-name[:attr:attr-name=attr-value]
Modifies an existing attribute or adds the attribute if it does not already exist.
-a {server | rdev | gdev | env}:entry_name[:attr:attr-name=attr-value]
Adds an entry. This option can be used for:
• Adding a restricted device (rdev)
• Adding a VM Host device (server)
• Adding a guest device (gdev)
• Adding a Serviceguard cluster entry
-d {server | rdev | gdev |env}:entry-name[:param:arg]
Deletes an entry. This option can perform the following deletions:
• Deletion of an entry:
-d {server | rdev | gdev}:entry-name
An entry cannot be deleted if it has dependents.
• Delete a dependent from one or all entries of a certain type:
-d gdev:{all | entry-name}:depend:dependent_name
268