Dell PowerVault MD3000i Dell MD Storage Array vCenter Plug-in User’s - Page 21

Example 2: Connecting Software iSCSI Initiator to Two VMkernel Ports

Page 21 highlights

Figure 13. Port Name Binding 2 Using the vSphere CLI, connect the software iSCSI initiator to the iSCSI VMkernel ports. Repeat this command for each port. esxcli swiscsi nic add -n -d 3 Verify that the ports were added to the software iSCSI initiator by running the following command: esxcli swiscsi nic list -d 4 Use the vSphere Client to rescan the software iSCSI initiator. 5 To disconnect the software iSCSI initiator from the ports, run the following command: esxcli swiscsi nic remove -n -d If there are active iSCSI sessions between your host and targets, discontinue them before running this command. You can do so by removing static targets that the ports use from the vSphere Client. esxcli swiscsi nic remove -n -d Example 2: Connecting Software iSCSI Initiator to Two VMkernel Ports This example shows how to connect the software iSCSI initiator vmhba33 to VMkernel ports vmk1 and vmk2. 1 Connect vmhba33 to vmk1: esxcli swiscsi nic add -n vmk1 -d vmhba33 2 Connect vmhba33 to vmk2: esxcli swiscsi nic add -n vmk2 -d vmhba33 Dell MD Storage Array vCenter Plug-in 21

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46

Dell MD Storage Array vCenter Plug-in
21
Figure 13.
Port Name Binding
2
Using the vSphere CLI, connect the software iSCSI initiator to the iSCSI
VMkernel ports. Repeat this command for each port.
esxcli swiscsi nic add -n <port_name> -d <vmhba>
3
Verify that the ports were added to the software iSCSI initiator by running
the following command:
esxcli swiscsi nic list -d <vmhba>
4
Use the vSphere Client to rescan the software iSCSI initiator.
5
To disconnect the software iSCSI initiator from the ports, run the
following command:
esxcli swiscsi nic remove -n <port_name> -d
<vmhba>
If there are active iSCSI sessions between your host and targets,
discontinue them before running this command. You can do so by
removing static targets that the ports use from the vSphere Client.
esxcli swiscsi nic remove -n <port_name> -d
<vmhba>
Example 2: Connecting Software iSCSI Initiator to Two VMkernel Ports
This example shows how to connect the software iSCSI initiator vmhba33 to
VMkernel ports vmk1 and vmk2.
1
Connect vmhba33 to vmk1:
esxcli swiscsi nic add -n vmk1 -d vmhba33
2
Connect vmhba33 to vmk2:
esxcli swiscsi nic add -n vmk2 -d vmhba33