Each virtual machine has its own virtual console, from which the virtual
machine can be powered on or off, the guest operating system can be booted
or shut down, and so forth. The hpvmconsole command connects
to the virtual console of a specified virtual machine.
To start the virtual console for the guest named compass1,
enter the following command:
# hpvmconsole -P compass1
vMP MAIN MENU
CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection
[compass1] vMP> |
When the display is in the EFI, to return to the virtual console, press Ctr/B.
Use the co command to open the virtual console. For example::
You can pass a command to the virtual machine console using the —c option
to the hpvmconsole command. For example, to start a virtual
machine named compass1, enter the following
command:
# hpvmconsole -P compass1 -c "pc on" |
Table 8-2 lists
the options to the hpvmconsole command.
Table 8-2 Options to the hpvmconsole Command
| Option | Description |
|---|
| -P vm-name | Specifies the name of the virtual machine console to open. |
| -p vm-number | Specifies the number of the virtual machine console to open. |
| -c command | Specifies a machine console command to run on the virtual machine. |
| -e echar | Specifies an alternate interrupt character. The default interrupt character
is Ctrl/B. |
| -f | Follows the console output after reaching EOF on standard input. Used
for scripting. |
| -i | Interacts with the console. Used for scripting. |
| -q | Makes scripted operations less verbose. |
To get information about using the virtual console, enter the HE command.
For example:
[compass1] vMP> he
==== vMP Help: Main Menu ================================= (Admin) ============
HPVM A.02.00.02 clearcase recorder-debug Tue Aug 15 2006 09h19m39s EDT
(C) Copyright 2000 - 2006 Hewlett-Packard Development Company, L.P.
Virtual Management Processor (vMP) Help System
Enter a command at the help prompt:
OVerview - Launch the help overview
LIst - Show the list of vMP commands
- Enter the command name for help on an individual command
TOPics - Show all vMP Help topics and commands
HElp - Display this screen
Q - Quit help |
For more information about using the hpvmconsole command,
see hpvmconsole(1M).