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

4
7.
S
elect the Mount Directory such as /vdisk1,
and
then click
[Add]
.
8.
After
the LV is added, select
[OK]
,
and
then
exit SAM.
Creating
virt
ual switche
To provide network access for the guests, you must create virtual network switches (vswitch) for them.
To
create virtual switches, use the
hpvmnet
command. The following is the basic command used to
create a virtual switch:
#
hpvmnet
c
S
switchname
n 1
-
c indicates the create of a vswitch
-
S
switchname
specifies the name of the virtual switch
-
n 1
associates the new vswitch with
the physical network device lan1
For example, to create two vswitches: vswA and vswB, enter the following command:
#
h
pvmnet
c S vswA
n1
#
hpvmnet
c
S vswB
n2
To verify the creation of the vswitch, enter the following command:
#
hpvmnet
To start the vswitch:
#
hpvmnet
S switchname
b
#
hpvmnet
S switchname
b
Verify if the vswitches are up:
# hpvmnet
Name
Number
St
ate
Mode
PPA
MAC Address
IP Address
========
========
========
========
========
========
========
Localnet
1
Up
Shared
N/A
N/A
vswA
2
Up
Shared
Lan1
0x0016353c0daf
vawB
3
Up
Shared
Lan2
0x0016353c0dba
#
To delete a vswitch, stop the vswitch
,
and t
hen enter the
hpvmnet
command with the
d option. For
example:
#
hpvmnet
S vswA
h
hpvmnet:
Halt the vswitch ‘vswA’ ? [n]: y
#
hpvmnet
S vswA
d
hpvmnet:
Remove the vswitch ‘vswA’ ? [n]: y
Note:
If you try to delete the vswitch without stopping the gues
t, a message
displays “hpvmnet: The vswitch is currently active. hpvmnet: Unable to
continue.”