HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
[host1] vMP> co
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 host1, enter the following command:
# hpvmconsole -P host1 -c "pc -on"
Table 8-3 lists the options to the hpvmconsole command.
Table 8-3 Options to the hpvmconsole Command
DescriptionOption
Specifies the name of the virtual machine console to open.
-P vm-name
Specifies the number of the virtual machine console to open.
-p vm-number
Specifies a machine console command to run on the virtual machine.
-c command
Specifies an alternate interrupt character. The default interrupt character is Ctrl/B, unless the
session is on the VM Host's /dev/console, in which case, use the Ctrl/X.
-e echar
Follows the console output after reaching EOF on standard input. Used for scripting.
-f
Interacts with the console. Used for scripting.
-i
Makes scripted operations less verbose.
-q
To get information about using the virtual console, enter the HE command. For example:
[host1] vMP> he
==== vMP Help: Main Menu ================================= (Admin) ============
HPVM B.04.30 clearcase opt Wed Oct 7 2008 07h13m54s PST
(C) Copyright 2000 - 2008 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
<COMMAND> - 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
156 Managing Guests