HP-UX HB v13.00 Ch-18 - HPVM
HP-UX Handbook – Rev 13.00 Page 35 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
the vswitch and directs its own network traffic over the card. If you alter any characteristics of a
network interface associated with a running vswitch, for instance, through the ifconfig
commands on the VM Host, you must stop and restart the vswitch. Otherwise, any guests using
that vswitch will experience intermittent network failures. Stopping and restarting a vswitch can
occur while its guests are running; no guest shutdown is required.
By default, Integrity VM creates a vswitch named localnet that is not associated with a physical
interface. It can be used for communication between the guests running on the same host.
Here we have the main options:
Task
Syntax
Create / Delete a virtual switch
-c / -d
Start / Stop / Restart a virtual switch
-b / -h / -r
Designates the network interface that vswitch will use
(with –c option)
-n nic_id
Example:
vmhost:/>hpvmnet
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
vswa 3 Up Shared lan0 0x00306e5dcda8 15.180.3.215
vswb 4 Up Shared lan1 0x00306e5dcda9
hpvmdevmgmt
List an entry in the Integrity VM device-management database, which tracks and validates guest-
device usage, ensures that devices are only shared deliberately, and restricts guest access to
devices used by the VM Host. Guest devices are added, modified, and removed from this
database when you use Integrity VM commands, such as hpvmcreate, hpvmmodify, and
hpvmclone. The hpvmdevmgmt command allows you to examine the database entries, alter
specific device attributes, specify shared devices, and perform specialized functions associated
with device management.
The device management database contains three types of entries:
restricted devices (rdev)
guest devices (gdev)
VM host devices (server)
A device management database entry contains a name or alias, attributes in the form
ATTRIBUTE_NAME=VALUE, a list of guest names or other device entries depending upon
this entry (called its dependents), and a unique identifier.