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.
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.
Pretty much I need to know what is running on the iSCSI since I will be removing old arrays soon.
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.