Configure Azure Enhanced Monitoring Extension for SAP

 



Overview

After deploying the VM, the Azure VM agent is automatically installed within the guest OS to further install the Azure Enhanced Monitoring Extension for SAP, which is readily available in the Azure Extension Repository. The extension can be installed by using PowerShell or CLI.

Configuring the Azure Enhanced Monitoring Extension for SAP

Azure PowerShell for Linux & Windows VMs

You can install the Azure Enhanced Monitoring Extension for SAP by using PowerShell as follows:
  • Make sure that you have installed the latest version of the Az PowerShell module.

  • For a list of available environments, run commandlet Get-AzEnvironment. If you want to use global Azure, your environment is AzureCloud but for China select AzureChinaCloud.

The script can deploy the required extensions while enabling the required features which might take several minutes. The Set-AzVMAEMExtension configuration can handle all the steps required to configure host monitoring for SAP.

The script output includes the following information:

  • Confirmation that monitoring for OS disk and all additional data disks has been configured.
  • Confirmation of the configuration of storage metrics for a specific storage account.
  • Status of the update of the monitoring configuration.
  • Confirmation that configuration has been deployed or updated.
  • List of options for testing the monitoring configuration.

You will have to wait for at least 15-30 minutes for Azure Diagnostics to collect the relevant data.

Azure CLI for Linux VMs

For installing the Azure Enhanced Monitoring Extension for SAP by using Azure CLI:
  1. Install using CLI 2.0
  2. Sign in with your Azure account: az login
  3. install Azure CLI AEM Extension: az extension add --name aem
  4. Install the extension: az vm aem set  -g  <resource-group-name>  -n  <vm name> 

Checks & troubleshooting for end-to-end monitoring

After successfully deploying your Azure VM and setting up the relevant Azure monitoring infrastructure, you have to check whether all the components of Azure Enhance Monitoring Extension are working as expected or not. 

Firstly, run the readiness check, if all the results are positive as well as all relevant performance counters appear fine then, you can say that Azure monitoring has been set up successfully and you can further proceed with the installation of SAP Host Agent. However, if the readiness check indicates that the counters are missing, you will have to run the health check for the Azure monitoring infrastructure. 











Comments

Popular posts from this blog

Deployment (Part 3)

Project Resourcing (Part 2)

Design Planning (Part 3)