Solution Targeting in Operations Management Suite

Some weeks ago it was announced that OMS now support (in preview at the time of writing) selecting a group of servers/nodes to target a specific solution. In this blog post I will show how to get started with Solution Targeting and in the example I will use the server DPM2016 and let it be the only one that reports to the Solution System Update Assessment.

Before getting started there are some things to notice:

  • Currently Solution Targeting only supports the use of direct installed OMS agents and not SCOM agents.
  • If using OMS licenses, this makes it possible to mix OMS E1/E2 licenses.
  • Want more info? Please see OMS documentation: https://docs.microsoft.com/en-us/azure/operations-management-suite/operations-management-suite-solution-targeting

In OMS Log Analytics, create and save a Log Search query. In this example, I will add the server DPM2016.corp.contoso.com by using the query “Computer=”DPM2016.corp.contoso.com” | distinct Computer”. I will save the computer group to DPM2016.

This can be done both inside the Azure Portal or in the OMS portal. The screenshot is from the OMS portal.

Solution Targeting in Operations Management Suite 1

Go to the Azure portal and OMS Log Analytics Workspace. Click Scope Configuration and then +Add.

Solution Targeting in Operations Management Suite 2

Give the Scope Configuration a name and add the saved search earlier created. Click Select and then Ok.

Solution Targeting in Operations Management Suite 3

Move to Solutions in the Log Analytics Workspace. Search for the solution that you want to add the Solution Targeting Scope to and click it.

Solution Targeting in Operations Management Suite 4

Click Solution Targeting by clicking Add scope configuration and add the Scope Configuration created earlier.

Solution Targeting in Operations Management Suite 5

Now you are done and this Solution will only target the computers that are in the Computer Group. It can take some time until this kicks in so be patient if you don’t get the result you were hoping for directly.

After some time (as mentioned before, it might take some time before you can see the result) you can run the following queries to see if the Solution Targeting have started to work.

Type=Heartbeat TimeGenerated>NOW-2MINUTES | select Computer, Solutions

Seen in the screenshot the Updates Solution is now only being used on the server in the Computer Group.

Solution Targeting in Operations Management Suite 6

No comments yet.

Leave a Reply