TheVMinator
Expert
Expert

Luc thanks so much. This is very close to what I’m trying to do.   However it is slightly different. In the script you posted, it is associating VMFS data store Objects in Vcenter with LUNs in NetApp.   What I’m actually trying to do is associate operating system drives in an operating system within windows with iSCSI LUNs In the NetApp controller.

For example in Windows you can use the NetApp Snapdrive software to connect the operating system to a NetApp iSCSI LUN and mount it say as a :anguished_face: drive to windows.  Windows then formats the LUN with the NTFS file system and then it can become a :anguished_face: drive the OS can use.  vCenter isn’t aware This happened.  However if VMware tools are installed, then Whatever view inside the OS was available about a D drive could be picked up by VMware tools.  Somehow I’ve got to be able to associate the OS drive with the iSCSI LUN that backs it, and list for each VM in vCenter this info in the format of the table I posted above.

(i think SnapDrive, the NetApp software that installs in Windows and creates these Os level iSCSI connections to NetApp might have its own management server as well - not sure if PowerShell could connect to it to help merge these pieces of data)

Any suggestions?

Reply
0 Kudos