Hi
Can someone share script for exporting into CSV HA multipath details and status of all ESX within a cluster?
You mean the multipath status for all LUNs on all ESXi nodes in all clusters ?
Not sure what you mean with the "status" though.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello. How about:
Get-cluster -name name_of_cluster | Get-VMHost | foreach {Get-ScsiLun -LunType disk -VmHost $_} | select-object vmhost,canonicalname,multipathpolicy,consoledevicename | Export-Csv C:\lun.csv
Hi LucD
Thanks for responding...
I need a report for all LUN/DEVICE/DATASTORE/DISK of all ESXi hosts within a cluster, showing multipathing, display name or NAA id, Policy, Operation state, All path (eg. vmhba0, vmhba1, vmhbaX) with state showing active or standby.
Apprciate your help.
Any luck with this request?
In that case I assume my LUN report – datastore, RDM and node visibility script could be a good start.
Or do you have something completely different in mind?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference