Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 6
Registered: ‎04-24-2008

ESX4i NPIV Configuration

Hi guys! I need help to resolve problems in NPIV configuration.
I have following equipment:
2x Servers with VMware ESXi 4.0.0 build-261974, each server with one dual port Qlogic 2462 FC HBA
   First server with WWPNS:2100001b320246eb,2100001b322246eb connected to switch ports 13 and 9.
   Second server with WWPNS:2100001b3202c9e9,2100001b3222c9e9 connected to switch ports 14 and 10.   
1x EMC AX150 Storage
1x Brocade DS300 with FOS v.6.3.1


I configured equipment using "Technical Brief:How to Configure NPIV on VMware vSphere 4.0" document, but not successfully.

I created LUN on storage, masked it to physical esxi servers. HostID of this lun is 4, because i masked three luns before. Created VM and mapped this lun to

VM like RDM disk with Virtual Device Node "SCSI(0:4) Hard disk 1".

After that generate Virtual ports(Node WWN:28:01:00:0c:29:00:00:10; Port WWNs:28:01:00:0c:29:00:00:11, 28:01:00:0c:29:00:00:15).

Zoned this wwpns with storage. On storage added this pwwns to initiators and masked created LUN to this initiators.

In process of powering ON VM, brocade switch switchshow command show that "NPIV public" port changed in turn from

"0" to "1" to "0" on ports 10 and 14.

When VM Powered ON, nsshow command on switch didn`t show loged in virtual ports.Switchshow command show "0" "NPIV public" ports. In /var/log/messages log on

server i found this message:


Dec 23 09:26:42 vmkernel: 16:17:23:37.900 cpu1:7183241)ScsiNpiv: 1631: Physical Path : adapter=vmhba2, channel=0, target=5, lun=4

Dec 23 09:26:42 vmkernel: 16:17:23:37.900 cpu1:7183241)<6>qla2xxx 0000:0b:00.1: VP entry id 1 assigned.

Dec 23 09:26:42 vmkernel: 16:17:23:37.900 cpu1:7183241)vmkdrivers/src26/include/scsi/scsi_host.h:scsi_add_host-782: vmksgarray supported

Dec 23 09:26:43 vmkernel: 16:17:23:39.019 cpu1:7183241)WARNING: ScsiNpiv: 1274: Created vport for world 7183242, vmhba2, rv 0

Dec 23 09:26:43 vmkernel: 16:17:23:39.019 cpu1:7183241)ScsiNpiv: 1104: NPIV vport rescan complete, (0x4100041f5080) status=0xbad0003

Dec 23 09:26:43 vmkernel: 16:17:23:39.019 cpu3:7183241)ScsiScan: 844: Path 'vmhba130:C0:T0:L4': Vendor: 'DGC     '  Model: 'RAID 10         '  Rev: '0220'

Dec 23 09:26:43 vmkernel: 16:17:23:39.019 cpu3:7183241)ScsiScan: 847: Path 'vmhba130:C0:T0:L4': Type: 0x0, ANSI rev: 4, TPGS: 0 (none)

Dec 23 09:26:43 vmkernel: 16:17:23:39.020 cpu3:7183241)WARNING: ScsiNpiv: 1083: Phys does not equal Virt , NPIV Disabled for this

VM

Dec 23 09:26:43 vmkernel: 16:17:23:39.021 cpu3:7183241)ScsiNpiv: 1104: NPIV vport rescan complete, (0x4100041eff40) status=0x0

Dec 23 09:26:43 vmkernel: 16:17:23:39.021 cpu3:7183241)WARNING: ScsiNpiv: 1711: Failed to Create vport for world 7183242, vmhba2, rescan failed,

status=bad0001
Dec 23 09:26:43 vmkernel: 16:17:23:39.026 cpu0:7183241)WARNING: Removing Host Adapter vmhba130

Dec 23 09:26:43 vmkernel: 16:17:23:39.026 cpu0:7183241)<6>qla2xxx 0000:0b:00.1: VP entry id 1 assigned.

Dec 23 09:26:43 vmkernel: 16:17:23:39.026 cpu0:7183241)vmkdrivers/src26/include/scsi/scsi_host.h:scsi_add_host-782: vmksgarray supported

Dec 23 09:26:43 vmkernel: 16:17:23:39.026 cpu3:4294)ScsiAdapter: 1909: Unregistering adapter vmhba130


I think problem is the same like in VM Knowledge Base (http://kb.vmware.com/kb/1018326),
but don`t know how fix it.


I attach listings of some commands on servers and switch.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook