HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
# passwd testme2
...
# passwd testme3
...
Because of the way the useradd command works, an attempt to create an additional account
might result in an error. For example, the following command attempts and fails to add the
testme4 user account:
# useradd -r no -g users -s /opt/hpvm/bin/hpvmconsole \
> -c "Console access to guest 'testme'" \
> -d /var/opt/hpvm/guests/testme \
> testme4
'/var/opt/hpvm/guests/testme' is not a valid directory
To enter the command correctly, include the entire directory path. For example:
# useradd -r no -g users -s /opt/hpvm/bin/hpvmconsole \
> -c "Console access to guest 'testme'" \
> -d /var/opt/hpvm/guests/testme/. \
> testme4
# hpvmmodify -P testme -u testme4
# passwd testme4
Note the addition of the slash and period (/.) to the end of the argument to the -d option, which
ensures there is no confusion with HP-UX shared home directories.
6.3.1.3 Guest Administrator
The VM Guest Administrator is responsible for the proper maintenance of a guest OS. As such,
this person needs access to the virtual console by the VM Host administrator to control the virtual
machine. The guest administrator must understand how to maintain the guest OS, install patches
and applications, and set up security for the guest users of the guest OS. Additionally, Integrity
VM storage requires you to:
• Install any specific guest OS patches required by Integrity VM for proper OS operation on
the virtual platform.
• Review and understand any Integrity VM storage release notes that are specific to the guest
OS.
• Work with the VM Host administrator to complete virtual storage changes, including
managing attached VM Host devices.
The guest administrator uses the virtual console to modify virtual storage. The virtual console
is used to change discs of a virtual DVD device type. All modifications are bounded by what the
VM Host administrator configures for the virtual machine.
The virtual console commands are available from the vMP Main Menu, using the hpvmconsole
command or by pressing Ctrl/B if you are already connected . The virtual console commands
eject (ej) and insert (in) allow you to control the DVD device. Both commands provide submenus
for displaying devices that are removable. Selecting options through the submenus completes
the ejection/insertion process.
If the guest hpvmconsole pc –cycle command doesn’t complete and restart the guest, enter
Ctrl/B to interrupt the command and then press Enter to return to the virtual console. Exit the
virtual console by entering the X command. At the VM Host command prompt, enter the following
command to start the guest:
# hpvmstart –P guestname
6.3 Using Integrity VM Storage 115