can any body tell me the command and the way through which i can generate the report which contains all the information
number of luns visible on esx server .
size of all the luns.
and 1 more thing is that some tiome my host luns are not visible on vc server console so i want to generate a report which conatain connection break time beetween esx and storage lun if any.
Yes,
and if your have different option then please provide .
Please give me power shell command also.
you can do the following on the console:
esxcfg-mpath -l
vdf -h
fdisk -l
this would give you most info you are looking for, but a centrally scheduled and managed system is easier. I will move your topic to the powershell forum.
Huge Peeters has some usefull scripts available:
http://www.peetersonline.nl/index.php/script-repository/
And this script can also come in handy:
http://www.ivobeerens.nl/?p=256
Duncan
VMware Communities User Moderator
-
Blogging: http://www.yellow-bricks.com
If you find this information useful, please award points for "correct" or "helpful".
Have a look at the script in , it links the datastore with the LUN and also gives the disksize.
The script in emulates the esxcfg-mpath command.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks For Reply CHAMP,
but i m adding some thing more to my requirement.
actually we are facing some issue regarding LUN visibility on all host on same cluster . please tell me is thre any command or tool from VMWARE through which i can generaqte a rport of few days through which i can identify which of the luns are got unvisible form my hosts on which times and more when it visible again on same host.
When these LUNs go away and come back are there any messages in the VIC ? Under ?
The reason for asking is that if there are messages in the VIC you could use the Get-ViEvent cmdlet to get at the event(s).
And from there create a report.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks for reply.
no Such option in VI.
can be generate this report from esx host
That's possible when you connect to an ESX server instead of to the VC server.
These are the logs that are accessible from within the VITK: hostd, messages, vmkernle, vmksummary, vmkwarning and vpxa.
Get the list with this script.
$esx = Connect-VIServer -Server <ESX-server> -User <user> -Password <password> Get-LogType Disconnect-VIServer -Server $esx -confirm:$false
Any LUN messages in any of these logs ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference