Automation

 View Only

 Finding the VM involved in a migration Task (ApplyStorageDrsRecommendation_Task)

Tocano's profile image
Tocano posted Nov 18, 2024 12:35 PM
LucD's profile image
LucD

You can look at events.
I have posted about something like that in Get the vMotion/svMotion history

Tocano's profile image
Tocano

I don't see a better way to reply to LucD, so just using 'Answer'.

Luc, thanks for that. It is a useful function. However, it just feels like a very weak connection to simply assume "if the VM isn't on the destination yet, but has a migration task in the last ... day(?) then it must be one of the still active ones".

Especially since, without getting into the weeds, we have numerous small svmotions take place daily that are not related to the migration due simply to the way we create disks (LandingZone concept) and shift them to/from performance disks based on load and other things.

So I'm holding out hope that surely there's some method to either directly determine the VM associated with a migration task, or at the very least determine if a VM has an active task operating on it that could prevent a secondary task from being executing successfully. 

Thanks