HP-UX vPars and Integrity VM V6.3 Administrator Guide

Table 20 Options to the hpvmcreate command (continued)
DescriptionOption
Suppresses all resource conflict checks and associated warning messages
(force mode). This option is primarily intended for use by scripts and other
non-interactive applications. Note that you will not receive notification about
any potential resource problems for a VM created with the -F option.
NOTE: The -F option is deprecated in Integrity VM commands. This option
must be used only if instructed by HP Support.
-F
Verifies the VM configuration and returns warnings or errors, but does not
create the VM.
This option is used to initiate resource verification of the hpvmcreate
command for a VM configuration without actually creating the VM. If the -s
option is not specified, the VM is created even if resource warnings occur.
-s
Group with administrator or operator privileges over the VM. Enter the group
name for group, and enter either admin or oper.
-g group[:admin | oper]
User with administrator or operator privileges over the VM. Enter the user
name for user, and enter either admin or oper.
-u user[:admin | oper]
Specifies whether the VM 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: Use this option only if instructed by HP.
-ipackage-name
Specifies whether the VM 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 virtual iLO Remote Console of
the guest. The address must be specified in the 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
9.2.1 Example of VM creation
To create a VM named guest1, enter the following command:
# hpvmcreate -P guest1 -c 4 -r 10G
This command creates a VM named guest1 that does not have network access and allocated
storage devices. To view the characteristics of the VM, 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 guest1 VM is assigned VM number 3, is created with an UNKNOWN operating system
type, four vCPUs, zero storage devices, zero network devices, and 10 GB of memory. For more
140 Administering VMs