VMware Cloud Community
Bhanudasmali
Contributor
Contributor

How to enable NPIV for ESXI 5.0?

 

Hi,

 

I have installed ESXI 5.0 on Dell server. I created 15 virtual machines and all working smoothly. I attached two dual port HBA cards to Dell server. I can use two dual port cards only for two VM at a time using pass-through.

 

How I can use two HBA cards for all VM at a time?

 

As I know we can to this by NPIV feature.

 

Whichever HBA cards and switch I am using it support NPIV and as I knew ESXI5.0 also supports NPIV.

 

Anyone please let me know about configuration of NPIV for ESXI 5.0?

 

Thanks

 

Bhanudas Mali

 

Reply
0 Kudos
1 Reply
KSethi
Enthusiast
Enthusiast

Hi Bhanudas,

NPIV support is subject to the following limitations:

NPIV must be enabled on the SAN switch. Contact the switch vendor for information about enabling NPIV on their devices.

NPIV is supported only for virtual machines with RDM disks. Virtual machines with regular virtual disks continue to use the WWNs of the host’s physical HBAs.

The physical HBAs on the ESXi host must have access to a LUN using its WWNs in order for any virtual machines on that host to have access to that LUN using their NPIV WWNs. Ensure that access is provided to both the host and the virtual machines.

The physical HBAs on the ESXi host must support NPIV. If the physical HBAs do not support NPIV, the virtual machines running on that host will fall back to using the WWNs of the host’s physical HBAs for LUN access.

Each virtual machine can have up to 4 virtual ports. NPIV-enabled virtual machines are assigned exactly 4 NPIV-related WWNs, which are used to communicate with physical HBAs through virtual ports. Therefore, virtual machines can utilize up to 4 physical HBAs for NPIV purposes.

You can view or edit the virtual machines WWNs on the Options tab.

To edit the virtual machine’s WWNs, power off the virtual machine.

Verify that the virtual machine has a datastore containing a LUN that is available to the host.

1

In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.

2

Click the Options tab and under Advanced select Fibre Channel NPIV.

3

(Optional) Select the Temporarily Disable NPIV for this virtual machine check box.

4

Assigned WWNs appear in the WWN Assignments panel.

To leave WWNs unchanged, select Leave unchanged.

To have vCenter Server or the ESXi host generate new WWNs, select Generate New WWNs.

To remove the current WWN assignments, select Remove WWN assignment.

5

Click OK to save your changes and close the dialog box.

6

Provide the WWN assignments to your SAN administrator.

The administrator needs the assignments to configure virtual machine access to the LUN.

Kindly mark this as useful or correct answer if this answer your query.

Rgds

Kanishk

Reply
0 Kudos