Bind an iSCSI port that you created for a NIC to an iSCSI adapter. With the software iSCSI adapter, perform this task only if you set up two or more NICs for the iSCSI multipathing. If you use dependent hardware iSCSI adapters, the task is required regardless of whether you have multiple adapters or one adapter.

Complete the following tasks:

For dependent hardware iSCSI adapters, have the correct association between the physical NICs and iSCSI adapters. See View Dependent Hardware iSCSI Adapters.

Set up networking for the iSCSI traffic. See Networking Configuration for Software iSCSI and Dependent Hardware iSCSI.

To use the software iSCSI adapter, enable it. See Enable the Software iSCSI Adapter.

1

Identify the name of the iSCSI port assigned to the physical NIC.

The vSphere Client displays the port's name below the network label.

In the following graphic, the ports' names are vmk1 and vmk2.

The graphic shows the ports' names as vmk1 and vmk2.

2

Use the vSphere CLI command to bind the iSCSI port to the iSCSI adapter.

esxcli swiscsi nic add -n port_name -d vmhba

Important

For software iSCSI, repeat this command for each iSCSI port connecting all ports with the software iSCSI adapter. With dependent hardware iSCSI, make sure to bind each port to an appropriate corresponding adapter.

3

Verify that the port was added to the iSCSI adapter.

esxcli swiscsi nic list -d vmhba

4

Use the vSphere Client to rescan the iSCSI adapter.