Skip to content

Commit 26875e3

Browse files
authored
Merge pull request #48173 from MSSedusch/patch-3
SAP: Add AEM installation for CLI 2.0
2 parents 1913c72 + f3ec597 commit 26875e3

File tree

1 file changed

+48
-23
lines changed

1 file changed

+48
-23
lines changed

articles/virtual-machines/workloads/sap/deployment-guide.md

Lines changed: 48 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ ms.author: sedusch
6868
[2367194]:https://launchpad.support.sap.com/#/notes/2367194
6969

7070
[azure-cli]:../../../cli-install-nodejs.md
71+
[azure-cli-2]:https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest
7172
[azure-portal]:https://portal.azure.com
7273
[azure-ps]:/powershell/azureps-cmdlets-docs
7374
[azure-quickstart-templates-github]:https://github.com/Azure/azure-quickstart-templates
@@ -919,37 +920,61 @@ The script output includes the following information:
919920
#### <a name="408f3779-f422-4413-82f8-c57a23b4fc2f"></a>Azure CLI for Linux VMs
920921
To install the Azure Enhanced Monitoring Extension for SAP by using Azure CLI:
921922
922-
1. Install Azure CLI 1.0, as described in [Install the Azure CLI 1.0][azure-cli].
923-
1. Sign in with your Azure account:
923+
1. Install using Azure CLI 1.0
924924
925-
```
926-
azure login
927-
```
925+
1. Install Azure CLI 1.0, as described in [Install the Azure CLI 1.0][azure-cli].
926+
1. Sign in with your Azure account:
928927
929-
1. Switch to Azure Resource Manager mode:
928+
```
929+
azure login
930+
```
930931
931-
```
932-
azure config mode arm
933-
```
932+
1. Switch to Azure Resource Manager mode:
934933
935-
1. Enable Azure Enhanced Monitoring:
934+
```
935+
azure config mode arm
936+
```
936937
937-
```
938-
azure vm enable-aem <resource-group-name> <vm-name>
939-
```
938+
1. Enable Azure Enhanced Monitoring:
939+
940+
```
941+
azure vm enable-aem <resource-group-name> <vm-name>
942+
```
943+
944+
1. Install using Azure CLI 2.0
945+
946+
1. Install Azure CLI 2.0, as described in [Install Azure CLI 2.0][azure-cli-2].
947+
1. Sign in with your Azure account:
948+
949+
```
950+
az login
951+
```
952+
953+
1. Install Azure CLI AEM Extension
954+
955+
```
956+
az extension add --name aem
957+
```
958+
959+
1. Install the extension with
960+
961+
```
962+
az vm aem set -g <resource-group-name> -n <vm name>
963+
```
940964
941965
1. Verify that the Azure Enhanced Monitoring Extension is active on the Azure Linux VM. Check whether the file \\var\\lib\\AzureEnhancedMonitor\\PerfCounters exists. If it exists, at a command prompt, run this command to display information collected by the Azure Enhanced Monitor:
942-
```
943-
cat /var/lib/AzureEnhancedMonitor/PerfCounters
944-
```
945966
946-
The output looks like this:
947-
```
948-
2;cpu;Current Hw Frequency;;0;2194.659;MHz;60;1444036656;saplnxmon;
949-
2;cpu;Max Hw Frequency;;0;2194.659;MHz;0;1444036656;saplnxmon;
950-
???
951-
???
952-
```
967+
```
968+
cat /var/lib/AzureEnhancedMonitor/PerfCounters
969+
```
970+
971+
The output looks like this:
972+
```
973+
...
974+
2;cpu;Current Hw Frequency;;0;2194.659;MHz;60;1444036656;saplnxmon;
975+
2;cpu;Max Hw Frequency;;0;2194.659;MHz;0;1444036656;saplnxmon;
976+
...
977+
```
953978
954979
## <a name="564adb4f-5c95-4041-9616-6635e83a810b"></a>Checks and troubleshooting for end-to-end monitoring
955980
After you have deployed your Azure VM and set up the relevant Azure monitoring infrastructure, check whether all the components of the Azure Enhanced Monitoring Extension are working as expected.

0 commit comments

Comments
 (0)