Verifying NPIV configuration

When you configure NPIV and turn on the virtual machine, the NPIV is functioning. To verify that I/O traffic is going through the virtual port (depending on the host HBA), create a Secure Shell connection to the physical ESX(i) Server.

Type one of the following commands, depending on your HBA vendor.
Note: Replace the number 1 at the end of the command with the number of your HBA.
  • For a Brocade HBA, type cat /proc/bfa/1
  • For a QLogic HBA, type cat /proc/scsi/qla2300/1
  • For an Emulex HBA, cat /proc/scsi/lpfc/1

If the virtual WWNs (also known as vPorts) are listed, the virtual machine is functioning correctly.

Note: You can enable NPIV only after at least one RDM disk is attached to the virtual machine.