HP vPars and Integrity Virtual Machines V6.1 Administrator Guide
Table 14 Options to the hpvmcreate Command (continued)
DescriptionOption
Specifies whether the virtual machine is managed by Serviceguard or gWLM
(or both). For the argument, specify one or more of the following parameters:
• SG indicates that the VSP is a Serviceguard cluster node.
• SG-pkgname indicates that the VSP is a Serviceguard package.
• GWLM indicates that the VSP is managed by gWLM.
• NONE indicates there are no external managers.
For a node that is managed by both Serviceguard and gWLM, parameters
are separated with a comma. For example: SG_host1,gWLM.
CAUTION: This option is used by Integrity VM software; do not use this
option without express instruction by HP.
-i package-name
Specified whether the virtual machine is a distributed guest (that is, managed
by Serviceguard and can be failed over to another cluster member).
-j {0 | 1}
Specifies the IP address used to connect to the guest's virtual iLO Remote
Console. The address must be specified in IPv4 dot notation. The —L option
must also be specified.
-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
You can specify an NPIV HBA with this syntax: hba:avio_stor::npiv:/dev/fcd0. For additional
information about virtual I/O resource statements, see the hpvmresources(5) manpage.
7.2.1 Example of virtual machine creation
To create a virtual machine named ux1, enter the following command:
# hpvmcreate -P ux1
This command creates a virtual machine named ux1 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 # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ===== ==== ======= ========= ====== ===== ===== =======
vPar0002 2 VP HPUX Off 3 0 0 2048 MB
guest1 3 SH UNKNOWN Off 4 0 0 10 GB
ux1 1 SH HPUX Off 4 2 0 3 GB
The ux1 virtual machine has been assigned virtual machine number 1, has been created with an
UNKNOWN operating system type, one vCPU, no storage devices, no network devices, and 3
GB of memory. For more information about running virtual machines under Serviceguard, see HP
Serviceguard Toolkit for Integrity Virtual Servers User Guide at HP Serviceguard Toolkit for Integrity
Virtual Servers.
7.3 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 15 describes the options to the hpvmstart command.
88 Creating virtual machines