Hi,
we had an outage, and we need to know which datastores were affected by APD, access lost to volume, is there a script to get this intel please?
Thanks,
Try something like this.
Adapt the Start value to cover the time the incident happened.
where {$_.EventTypeId -eq 'esx.problem.storage.apd.start' -or
$_.EventTypeId -eq 'esx.problem.storage.apd.timeout' -or
$_.EventTypeId -eq 'esx.clear.storage.apd.exit'}
Select CreatedTime,
@{N='Datastore';E={($_.Arguments | where {$_.key -eq "2"}).value}},
@{N='VMHost';E={$_.Host.Name}},
FullFormattedMessage
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello again/,
Thanks but, it didn't return anything, I've changed the value to 6 days, but I got nothing, does this mean anything? Bye the way, host logs indicated that thousands of APD errors were detected last Saturday, and Sunday.
Can you run the following, it should show what kind of events are present over the last 6 days.
where {$_ -is [VMware.Vim.EventEx]} |
Group-Object -Property EventTypeId
Which vSphere version are you running?
There have been some issues with APD handling.
See for example ESXi 6.7 U1 fixes: APD and VMCP is not triggered even when no paths can service I/Os
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
vSphere 6.0, but we are upgrading it in the following couple of weeks to 6.7 U1.
Good Morning,
Here's the result I've got, but it didn't mention the names of affected datastores, is it possible to get affected datastores?
Looks like there are no esx.problem.storage events recorded.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference