Use this task if you have two or more NICs you can designate for iSCSI and you want to connect all of your iSCSI NICs to a single vSwitch. In this task, you associate VMkernel iSCSI ports with the network adapters using 1:1 mapping.

You now need to connect additional NICs to the existing vSwitch and map them to corresponding iSCSI ports.

Note

If you use a vNetwork Distributed Switch with multiple dvUplinks, for port binding, create a separate dvPort group per each physical NIC. Then set the team policy so that each dvPort group has only one active dvUplink.

For detailed information on vNetwork Distributed Switches, see the Networking section.

You must create a vSwitch that maps an iSCSI port to a physical NIC designated for iSCSI traffic.

1

Log in to the vSphere Client and select the host from the inventory panel.

2

Click the Configuration tab and click Networking.

3

Select the vSwitch that you use for iSCSI and click Properties.

4

Connect additional network adapters to the vSwitch.

a

In the vSwitch Properties dialog box, click the Network Adapters tab and click Add.

b

Select one or more NICs from the list and click Next.

With dependent hardware iSCSI adapters, make sure to select only those NICs that have a corresponding iSCSI component.

c

Review the information on the Adapter Summary page, and click Finish.

The list of network adapters reappears, showing the network adapters that the vSwitch now claims.

5

Create iSCSI ports for all NICs that you connected.

The number of iSCSI ports must correspond to the number of NICs on the vSwitch.

a

In the vSwitch Properties dialog box, click the Ports tab and click Add.

b

Select VMkernel and click Next.

c

Under Port Group Properties, enter a network label, for example iSCSI, and click Next.

d

Specify the IP settings and click Next.

When you enter subnet mask, make sure that the NIC is set to the subnet of the storage system it connects to.

e

Review the information and click Finish.

Caution

If the NIC you use with your iSCSI adapter, either software or dependent hardware, is not in the same subnet as your iSCSI target, your host is not able to establish sessions from this network adapter to the target.

6

Map each iSCSI port to just one active NIC.

By default, for each iSCSI port on the vSwitch, all network adapters appear as active. You must override this setup, so that each port maps to only one corresponding active NIC. For example, iSCSI port vmk1 maps to vmnic1, port vmk2 maps to vmnic2, and so on.

a

On the Ports tab, select an iSCSI port and click Edit.

b

Click the NIC Teaming tab and select Override vSwitch failover order.

c

Designate only one adapter as active and move all remaining adapters to the Unused Adapters category.

7

Repeat the last step for each iSCSI port on the vSwitch.

After performing this task, use the esxcli command to bind the iSCSI ports to the software iSCSI or dependent hardware iSCSI adapters.