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

Example 31 Configuration
An SD2 system configured as VSP running vPars and Integrity VM 6.3 with two active guests and
the system has a dual ported NIC supporting DLA.
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ==== ==== ======= ===== ====== ===== ===== =======
guest1 1 SH HPUX On (OS) 1 1 3 2 GB
guest3 3 SH HPUX On (OS) 2 1 1 2 GB
Dual ported NIC supporting DLA is residing in an OL* capable slot and configured to DIO pool.
# hpvmhwmgmt -p dio -l
Assignment
H/W Path Class Owner Description Level Label
============== ===== ===== =============== =========== ======
42/0/0/2/0/0/0 lan hpvm HP AM225-60001 PCIe 2-p 1 device
42/0/0/2/0/0/1 lan hpvm HP AM225-60001 PCIe 2-p 1 device
The slot details of the DLA NIC is as follows:
# olrad -q
Slot Path Link Max Max Link Pwr Occu Susp OLAR OLD Mode
Spd Link Link Width
Spd Width
10-0-1-0-2-3 42/0/0/2/0/0 5.0 5.0 x8 x8 On Yes No Yes Yes PCIe
# ioscan -kfH 42/0/0/2/0/0
Class I H/W Path Driver S/W State H/W Type Description
======= === ============== ======== ========== ========= =============================
slot 15 42/0/0/2/0/0 pci_slot CLAIMED SLOT PCI Slot
hpvmdio 0 42/0/0/2/0/0/0 hpvmdio CLAIMED INTERFACE HP AM225-60001 PCIe 2-p 10GbE-SFP+ Adapter
hpvmdio 1 42/0/0/2/0/0/1 hpvmdio CLAIMED INTERFACE HP AM225-60001 PCIe 2-p 10GbE-SFP+ Adapter
Both ports of the DLA NIC are assigned to an active VM guest with guest ID 5.
# hpvmdevinfo -M | grep dio
pqsbuc03:pvoly2d:5:lan:dio:1;5;0x2E1B47D73CA1:hwpath:42/0/0/2/0/0/0:0/1/5/0 (lan8)
pqsbuc03:pvoly2d:5:lan:dio:2;2;0xAE8CD62ED123:hwpath:42/0/0/2/0/0/1:0/2/2/0 (lan17)
In the VM guest 5, the DIO functions (ports) are seen as lan8 (path 0/1/5/0) and lan17 (path
0/2/2/0) and IP addresses are configured for both the ports.
# ioscan -kfnC lan
Class I H/W Path Driver S/W State H/W Type Description
===== == ======== ======= ========= ========= ==========================================
lan 8 0/1/5/0 iexgbe CLAIMED INTERFACE HP AM225-60001 PCIe 2-p 10GbE-SFP+ Adapter
lan 17 0/2/2/0 iexgbe CLAIMED INTERFACE HP AM225-60001 PCIe 2-p 10GbE-SFP+ Adapter
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan17 1500 15.0.0.0 15.213.156.43 4 0 4 0 0
lan8 1500 15.0.0.0 15.213.156.42 6 0 6 0
If you want to replace the NIC with another card of same model, you must initially run the
olrad(1M) command with the -C option which reports the resource usage and its criticality.
In this example, DLA NIC is residing in slot “10-0-1-0-2-3” and running olrad C on this slot
yields the following output:
# olrad -C 10-0-1-0-2-3
176 PCI OLR support on VSPs