Installing and configuring HP SIM 6.x on HP Integrity VM

5
C re a tin g
a
g ue st
To create a guest, use the
hpvmcreate
command, specifying the guest characteristic options for the
virt
u
a
l devices, s
u
ch as network, storage, an
d DVD.
The following example creates a guest with 1CPU, 1GB RAM, access to the network using vswA, and
access to raw logical volume name rvdisk1.
#
hpvmcreate
P vm01
c1
r1G
a network:lan::vswitch:vswA
a
disk:scsi::lv:/dev/vg01/rvdisk1
-
P
indicates gu
est name
-
c
n
u
mber of virt
u
a
l CPU
-
r
number of virtual memory
-
a
indicates the addition of resource to use
network
disk
dvd
Note:
The default amount of virtual CPU and Memory is 1.
To verify the guest create,
enter the following command:
# hpvmstatus
[Vi
rtual Machines]
Virt
u
al
Machine
Name
VM
#
OS
Type
S
t
ate
# vCPUs
# Devs
# Nets
Memory
==================== ===== ======= ======== =======
vm01
1
HPUX
Off
1
1
1
1
GB
A d d in g
U S B
D V D
P la y e r
To add a USB DVD player, ens
u
re the DVD player is
connected to U
SB01 port on the BL20P dongle.
Use the
ioscan
command to discover the DVD player:
# ioscan
-
funC disk
Class
I
H/W Path
Driver S/W State
H/W Type
Description
=====================================================================
disk
1
0/1/1/0.0.0
sdisk
CLAIMED
DEVICE
TEAC
USB DVD
R
OM
/dev/dsk/c0t0d0
/dev/rdsk/c0t0d0
The path to the DVD player is
/dev/rdsk/c0t0d0
.
Use the
hpvmmodify
command
to
make
changes or additions to the guest.
To add the DVD player to vm01, enter the following command:
#
hpvmmod
ify
P vm01
a dvd:scsi::disk:/dev/rdsk/c0t0d0
Verify that the devices number has in
c
reased to 2 devi
c
es:
# hpvmstatus
[Virtual Machines]