- Download and install VMWare-vSphere-CLI.exe on local host machine
- Open CMD and navigate to “Drive:\>Program Files\VMWare vSphere CLI\bin
|example||C:\>Program Files\VMWare vSphere CLI\bin|
- Find the HBA device name with the following command:
|command||# esxcli -s <IP_ADDR> -u user -p password iscsi adapter list|
- That run the following command to find the IQN
|command||# esxcli -s <IP_ADDR> -u user -password iscsi adapter get -A=vmhba34 (where vmhba34 is the adapter name we discovered in the previous step)|
- THAT’S IT – ENJOY!!!