Hello! I have an old issue with VMM - dynamic optimization task is running and never ends (and actually it's doing nothing). My env.: VMM 2012R2 UR11, few Hyper-V hosts Win 2012 R2 in a cluster configuration. We run dynamic optimization task every 30 min. The issue's behaviour: I can see the task Dynamic Optimizer in the running state, but it's stuck on 33% (for example) and no VM's are migrating. This morning I came to office and found it's still running from yesterday 5PM (almost 13 hours). Also I find the errors like this:
Error (2606)
Recommended Action
Cancel the task holding the lock or wait for it to complete and try the operation again.
Basically this issue exists almost more than 1 year, but after applying UR11 (day before yesterday) it became more annoying. Usually it's stuck 1-3 times per week, but not it's happen everyday.
We solving this issue temporary by killing vmmservice.exe service, but on the next day we have same issue. Any advice why it's happen?
Previously we did some changes how VMM keeps jobs history, we decreased the days and now we have only around 6000 records. I know it shouldn't be more than 10.000.
Sometimes I found many VMs in "Missing" state. I have to migrate them back to original host and run repair or VM refresh. Does it related somehow with vmmservice reset? Why VMs are getting "Missing" state?