Hi
I need to check lun uniformity across all the esxi hosts in the cluster...Senario is like this
Cluster Name : abc
Esxi hosts : Total 8 Like esxi1,esxi2 etc..
Luns are mapped to vmhba1 & vmhba2
1.Some luns are mapped to only 3 esxi host and not mapped to leftover host
2. some luns are mapped to vmhba1 and some missing at vmhba2 and viceversa.
Now i need details like
Which lun (Lun name & nna) was not mapped to all hosts in the cluster
Which luns are mapped vmhba1 and which are missing at vmhba2
Output in .csv
Datacenter name
cluster name
hostname and lunname and nna (which is missing multimap) and same way host name and which lun is not properly mapped with two paths.
Is it possible to get details like this..if yes pls help with script.
Have a look at my LUN report – datastore, RDM and node visibility post.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi LuCD
Thanks a lot for reply..i had gone through the above given blog,But that scrip is not working for me its throwing lot of error...i am attaching the screenshots please check and suggest any helpful solution..
My vcenter ver -vsphere 5.5 and my datacenter consists of multiple hosts ver..like 4.1 to 5.1.
My powercli ver 5.5 using on windows 7 32-bit
after executing the above script its generating .csv file but unable open.
It looks like you copied the line numbers along.
Go to the code box, then double click and that will select all the code.
Once selected you can do a copy/paste from the blog to your editor
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
NO LucD I didn't copied numbers..is that screenshots I attached states that..
Then I suspect some ESXi names are IP addresses.
The error line with "public string 10" seems to confirm that.
Is that correct ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD... I didn't get you on below comment... as per my understanding all esxi host are in domain with some hostname (ihydvdlr... like this ..) but we can not able ping with host name from domain thats why we use ip address,.so is there any way to excute script by replacing the strings with ip address..Check the attached script i used..
Hi LucD any update for the above script..
