05-30-2012 11:55 AM - edited 03-01-2019 10:26 AM
With a number of vNIC / vHBAs within a service profile how can you identify which vmnic / vmhba these correspond to with ESXi?
05-30-2012 12:00 PM
One way that I know - You can look at the MAC address on the vnic on UCS and do a listing of nics on ESXi Command Line and compare the macs and identify which is which.
Hope that helps
05-30-2012 12:09 PM
also I normally name my UCS vNIC/vHBAs to match what ESXi names them and then use a vNIC/vHBA placement policy to enforce the order so that I can guarantee they match up.
I use this naming convention
vmnic0-mgt-a
vmnic1-mgt-b
vmnic2-vmo-a
vmnic3-vmo-b
vmnic4-vms-a
vmnic5-vms-b
vmhba1-a
vmhba2-b
05-30-2012 12:07 PM
lspci on ESXi console will show you the vmnic/vmhba adapter labeling and the PCI ordering configurable in the service profile.
~ # lspci | grep vm
000:001:00.0 Mass storage controller: LSI Logic / Symbios Logic LSI1064E [vmhba0]
000:004:00.0 Serial bus controller: QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA [vmhba1]
000:004:00.1 Serial bus controller: QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA [vmhba2]
000:006:00.0 Network controller: Intel Corporation 82598EB 10 Gigabit AF Dual Port Network Connection [vmnic0]
000:006:00.1 Network controller: Intel Corporation 82598EB 10 Gigabit AF Dual Port Network Connection [vmnic1]
05-30-2012 11:37 PM
identify the interface based on MAC is the better way.
05-31-2012 06:21 AM
thanks all
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide