Forum Discussion
Upgrade monitor is Unsupported
There are limitations around using Guest VM Health preview feature and you're likely running into one of them. UX is fairly strict in how it handles the checks at onboarding time, but the full picture is the following:
1. VM must be in Azure (Arc or on-prem virtual machines are not supported at this time);
2. You should have "write permission" to VM - be able to install extensions, configure system managed identity;
2. VM must be in supported region (https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-health-enable?tabs=powershell). The list of regions is expanding and we just made a few new ones available in addition to the starter set - UX may not support all regions until it catches up. The regions stated in the docs are supported via scripting (when you onboard using ARM templates) and majority of those supported via UX as well;
3. VM must be sending guest health data to a Log Analytics workspace in a supported region. This is a somewhat tricky requirement. When onboarded from UX, LA workspace is already assigned (when you onboarded to VM Insights) and that's the one UX sets as destination for guest health data, but when onboarding though ARM templates you can set a different/new workspace and place that one in a supported region. That makes data flow somewhat more complex, but allows you to work around LA regions requirement if you wish. We're also working to expand set of regions supported for workspaces;
4. VM must run supported OS. In simple terms we state that we support Windows Server 2012 and up, Ubuntu 16 & 18. In reality, custom distros (built on Ubuntu) and other Linux flavors will likely work, we're just being careful on UX to explicitly state we tested and confirm these distros are fine. What OS are you running?
We will also be working on UX to provide more information on top of "Not supported" to indicate the actual reason (such as "Write permission required", etc).
Does this mean you have to enable guest-level monitoring for the VM beforehand? Because that seams to be the thing that stands on out for the VMs that i was able to upgrade.
3. VM must be sending guest health data to a Log Analytics workspace in a supported region. This is a somewhat tricky requirement. When onboarded from UX, LA workspace is already assigned (when you onboarded to VM Insights) and that's the one UX sets as destination for guest health data, but when onboarding though ARM templates you can set a different/new workspace and place that one in a supported region. That makes data flow somewhat more complex, but allows you to work around LA regions requirement if you wish. We're also working to expand set of regions supported for workspaces;
- vitalyFNov 25, 2020
Microsoft
PatrikHansson , not sure what you mean exactly, but if I understood it correctly the answer to your question is "yes".
To elaborate more: VM Guest Health is a feature of Azure Monitor for VMs: https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-overview and, in order to turn on Guest VM Health feature you need to have AzMon for VMs already enabled for a given VM.
While Guest Health is in preview, enablement step for that specific feature is separate, i.e. you first onboard to AzMon for VMs and, if pre-reqs are satisfied, will be offered to upgrade to include Guest Health feature (you do not have to do it - your can chose).
- PatrikHanssonNov 26, 2020Brass Contributor
I have all my VM:s enabled in azure monitor -> Insights.
But most of then are Unsupported when trying to upgrade.
Did a test on a VM and enabled Diagnostics for one VM.
Then all of the VM:s in the same resource group went from "Unsupported" to "Upgrade"
- 7cfourieDec 06, 2020Copper Contributor
PatrikHansson Did you press the upgrade option? If I may ask, what happened does it reboot the VM? or does this happen in the workbook? and how long does this process take?