VMware Cloud Community
raymcdonald
Contributor
Contributor

Capture iSCSI NAA-Datastore-IQN-iSCSI-Target IP

Hi All,

I am trying to find a script that will capture the vmware naa identifier iSCSI iqn ISCSI target portal. I want to run this so I know what iSCSI LUNs are mapped to what hosts and what iSCSI target portal they are configured under.

Thanks

Ray

0 Kudos
3 Replies
LucD
Leadership
Leadership

Did you already try the Get-IScsiHbaTarget cmdlet ?

If yes, what is missing ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
raymcdonald
Contributor
Contributor

It give me the IP addres, the Port 3260 and Type Static

It would be good if I could have the IP address mapped to the server name, I also need to know the datastore name along witht the NAA and also need the IQN name.

Thanks

Pretty much I need to know what is running on the iSCSI since I will be removing old arrays soon.

0 Kudos
raymcdonald
Contributor
Contributor

Ok here is a sample of what I am trying to capture, if i can get the datastore name that would be great as well.

172.24.197.45:3260iqn.2001-05.com.equallogic:6-8a0900-4c8a07d01-423e2cf7b9046e06-xvmprod600gbnaa.6090a08890599ebf800375436f1ec0d6

0 Kudos