Automation

 View Only
  • 1.  Capture iSCSI NAA-Datastore-IQN-iSCSI-Target IP

    Posted Mar 25, 2013 04:50 PM

    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



  • 2.  RE: Capture iSCSI NAA-Datastore-IQN-iSCSI-Target IP

    Posted Mar 25, 2013 05:10 PM

    Did you already try the Get-IScsiHbaTarget cmdlet ?

    If yes, what is missing ?



  • 3.  RE: Capture iSCSI NAA-Datastore-IQN-iSCSI-Target IP

    Posted Mar 25, 2013 06:56 PM

    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.



  • 4.  RE: Capture iSCSI NAA-Datastore-IQN-iSCSI-Target IP

    Posted Mar 27, 2013 07:49 PM

    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