HP vPars and Integrity Virtual Machines V6.1 Administrator Guide
You can pass a command to the vPar/VM 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 26 lists the options to the hpvmconsole command.
Table 26 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 VSP'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.06.10 ccipf opt Thu Dec 01 2011
(C) Copyright 2000 - 2011 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
For more information about using the hpvmconsole command, see hpvmconsole(1M).
11.6 Using the virtual console 177