HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

Table 3-5 Options to the hpvmcreate Command (continued)
DescriptionOption
Specifies the IP address used to connect to the guest's virtual iLO Remote
Console. The address must be specified in IPv4 dot notation or 0. If 0 is
entered, then the guest will no longer have virtual iLO Remote Console
access using IP.
-K console_IP_Addr
Specifies the IPv4 subnet mask used with the option when setting up the IP
interface to be used for accessing the virtual iLO Remote Console for this
guest. The address is entered in dot notation form.
-L console_IP_Addr_Netmask
3.3.1 Example of Virtual Machine Creation
To create a virtual machine named host1, enter the following command:
# hpvmcreate -P host1
This command creates a virtual machine named host1 with no network access and no allocated
storage devices. To view the characteristics of the virtual machine, enter the hpvmstatus
command. For example:
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
config1 1 HPUX Off 1 5 1 512 MB 0
config2 2 HPUX Off 1 7 1 1 GB 0
host1 12 UNKNOWN Off 1 0 0 2 GB 0
The host1 virtual machine has been assigned virtual machine number 12, has been created with
an UNKNOWN operating system type, one vCPU, no storage devices, no network devices, and
2 GB of memory. The Runsysid column indicates the VM Host that runs the virtual machine
in a Serviceguard cluster. If the virtual machine runs on the local VM Host, or if Serviceguard is
not configured, the Runsysid is zero. For more information about running virtual machines
under Serviceguard, see Chapter 10: “Using HP Serviceguard with Integrity VM” (page 201).
3.4 Starting Virtual Machines
To start the virtual machine, enter the hpvmstart command. You can specify either the virtual
machine name or the virtual machine number (listed in the hpvmstatus display under VM #.)
The hpvmstart command syntax is:
# hpvmstart {-P vm-name | -p vm_number} [-F | -s | -Q]
Table 3-6 describes the options to the hpvmstart command.
Table 3-6 Options to the hpvmstart Command
DescriptionOption
Specifies the name of the virtual machine. Specify either
the -P option or the -p option.
-P vm-name
Specifies the number of the virtual machine. To determine
the virtual machine number, enter the hpvmstatus
command.
-p vm_number
60 Creating Virtual Machines