Challenge 2: Coach’s Guide - Monitoring for SAP in Azure

< Previous Challenge - Home - Next Challenge >

Notes & Guidance

Step 1 - Create Log Analytics workspace

In the Azure portal, click All services. In the list of resources, type Log Analytics. As you begin typing, the list filters based on your input. Select Log Analytics workspaces. Create Workspace Click Add, and then provide values for the following options:

Click Review + create to review the settings and then Create to create the workspace. This will select a default pricing tier of Pay-as-you-go which will not incur any changes until you start collecting a sufficient amount of data. For more information about other pricing tiers, see Log Analytics Pricing Details.

Review&Create Worspace

Step 2 - Deploy Azure Monitor for SAP.

Step 3 - Enable VM Insights on Virtual Machines running SAP Workloads and connect to log analytics workspace created as part of Task1/Step1.

From the Azure portal, select Virtual machines and select a resource from the list. In the Monitoring section of the menu, select Insights and then Enable.

Step 4 - Configure SAP NetWeaver providers.

Step 5 - Check for Monitoring data in Log Analytics Workspace.

The solutions Overview page in Azure Monitor displays a tile for each solution installed in a Log Analytics workspace.

Ref: https://docs.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-tutorial

Step 6 - Use Kusto query to create custom dashboard.

InsightsMetrics | where Origin == 'vm.azm.ms' | where Computer == 'Server1' or Computer == 'Server2' | where Namespace == "Memory" and Name == "AvailableMB" | extend TotalMemory = toreal(todynamic(Tags)["vm.azm.ms/memorySizeMB"]) | extend ConsumedMemoryPercentage = 100 - ((toreal(Val) / TotalMemory) * 100.0) | summarize MemoryUtilizedPercentage = avg(ConsumedMemoryPercentage)by bin(TimeGenerated, 15m), Computer, _ResourceId | render timechart;