You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Deploy Azure Monitor for SAP solutions by using Azure PowerShell
3
-
description: Learn how to use Azure PowerShell to deploy Azure Monitor for SAP solutions.
3
+
description: Learn how to deploy Azure Monitor for SAP solutions and create provider instances by using Azure PowerShell.
4
4
author: sameeksha91
5
5
ms.author: sakhare
6
-
ms.topic: quickstart
6
+
ms.topic: how-to
7
7
ms.service: sap-on-azure
8
8
ms.subservice: sap-monitor
9
-
ms.date: 08/22/2024
9
+
ms.date: 03/30/2026
10
10
ms.devlang: azurepowershell
11
11
ms.custom: devx-track-azurepowershell, mode-api
12
-
#Customer intent: As a developer, I want to deploy Azure Monitor for SAP solutions by using PowerShell so that I can create resources by using PowerShell.
12
+
#Customer intent: As a system administrator, I want to deploy Azure Monitor for SAP solutions by using Azure PowerShell so that I can automate resource creation and configure monitoring providers.
13
13
---
14
14
15
-
# Quickstart: Deploy Azure Monitor for SAP solutions by using PowerShell
15
+
# Deploy Azure Monitor for SAP solutions by using Azure PowerShell
16
16
17
-
In this quickstart, get started with Azure Monitor for SAP solutions by using the [Az.Workloads](/powershell/module/az.workloads) PowerShell module to create Azure Monitor for SAP solutions resources. You create a resource group, set up monitoring, and create a provider instance.
17
+
Azure Monitor for SAP solutions is an Azure-native monitoring product for SAP landscapes that run on Azure. If your critical SAP applications run on Azure, use it to monitor their availability, performance, and operation.
18
+
19
+
In this quickstart, you use Azure PowerShell to deploy an Azure Monitor for SAP solutions resource and connect it to your SAP system through a provider instance.
18
20
19
21
## Prerequisites
20
22
21
23
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) before you begin.
22
-
-If you choose to use PowerShell locally, this article requires that you install the Az PowerShell module. Connect to your Azure account by using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet. For more information about installing the Az PowerShell module, see [Install Azure PowerShell](/powershell/azure/install-az-ps). Alternately, you can use [Azure Cloud Shell](../../cloud-shell/overview.md).
24
+
-To use Azure PowerShell locally, install the Az PowerShell module and connect to your Azure account by using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet. For more information about installing the Az PowerShell module, see [Install Azure PowerShell](/powershell/azure/install-az-ps). Alternatively, you can use [Azure Cloud Shell](../../cloud-shell/overview.md).
23
25
24
26
Install the **Az.Workloads** PowerShell module by running this command:
25
27
26
28
```azurepowershell-interactive
27
29
Install-Module -Name Az.Workloads
28
30
```
29
31
30
-
- If you have multiple Azure subscriptions, select the subscription in which the resources should be billed by using the
- If you have multiple Azure subscriptions, use the [Set-AzContext](/powershell/module/az.accounts/set-azcontext) cmdlet to select the subscription that you want to use for billing:
@@ -37,76 +38,83 @@ In this quickstart, get started with Azure Monitor for SAP solutions by using th
37
38
- Create or choose a virtual network for Azure Monitor for SAP solutions that has access to the source SAP system's virtual network.
38
39
- Create a subnet with an address range of IPv4/25 or larger in the virtual network associated with Azure Monitor for SAP solutions, with subnet delegation assigned to **Microsoft.Web/serverFarms**.
39
40
40
-
> [!div class="mx-imgBorder"]
41
-
> 
41
+
> [!div class="mx-imgBorder"]
42
+
> 
42
43
43
44
## Create a resource group
44
45
45
-
Create an [Azure resource group](../../azure-resource-manager/management/overview.md) by using the [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet. A resource group is a logical container in which Azure resources are deployed and managed as a group.
46
+
Create an [Azure resource group](../../azure-resource-manager/management/overview.md) by using the [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet. A resource group is a logical container in which you deploy and manage Azure resources as a group.
46
47
47
-
The following example creates a resource group with the specified name and in the specified location:
48
+
Run the following command to create a resource group with the specified name and in the specified location:
To create an SAP monitor, use the [New-AzWorkloadsMonitor](/powershell/module/az.workloads/new-azworkloadsmonitor) cmdlet. The following example creates an SAP monitor for the specified subscription, resource group, and resource name:
56
+
To create an SAP monitor, use the [New-AzWorkloadsMonitor](/powershell/module/az.workloads/new-azworkloadsmonitor) cmdlet.
To get the properties of an SAP monitor, use the [Get-AzWorkloadsMonitor](/powershell/module/az.workloads/get-azworkloadsmonitor) cmdlet. The following example gets the properties of an SAP monitor for the specified subscription, resource group, and resource name:
To create an SAP NetWeaver provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet. The following example creates a NetWeaver provider for the specified subscription, resource group, and resource name:
82
+
To create an SAP NetWeaver provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet.
1. Run the following command to set the subscription context:
84
85
85
-
In the following code, `hostname` is the host name or IP address for SAP Web Dispatcher or the application server. `SapHostFileEntry` is the IP address, fully qualified domain name, or host name of every instance listed in [GetSystemInstanceList](./provider-netweaver.md#adding-netweaver-provider) point 6 (xi).
In this code, `hostname` is the host name or IP address for SAP Web Dispatcher or the application server. `SapHostFileEntry` is the IP address, fully qualified domain name, or host name of every instance listed in [GetSystemInstanceList](./provider-netweaver.md#adding-netweaver-provider) point 6 (xi).
To create an SAP HANA provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet. The following example creates a HANA provider for the specified subscription, resource group, and resource name:
115
+
To create an SAP HANA provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet.
116
+
117
+
Run the following command to create a HANA provider for the specified subscription, resource group, and resource name:
To create an operating system provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet.
129
139
130
-
To create an operating system provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet. The following example creates an operating system provider for the specified subscription, resource group, and resource name:
140
+
Run the following command to create an operating system provider for the specified subscription, resource group, and resource name:
To create a high-availability cluster provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet. The following example creates a high-availability cluster provider for the specified subscription, resource group, and resource name:
157
+
To create a high-availability cluster provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet.
158
+
159
+
Run the following command to create a high-availability cluster provider for the specified subscription, resource group, and resource name:
To create a Microsoft SQL Server provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet.
165
179
166
-
To create a Microsoft SQL Server provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet. The following example creates a SQL Server provider for the specified subscription, resource group, and resource name:
180
+
Run the following command to create a SQL Server provider for the specified subscription, resource group, and resource name:
To create an IBM Db2 provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet. The following example creates an IBM Db2 provider for the specified subscription, resource group, and resource name:
200
+
To create an IBM Db2 provider, use the [New-AzWorkloadsProviderInstance](/powershell/module/az.workloads/new-azworkloadsproviderinstance) cmdlet.
201
+
202
+
Run the following command to create an IBM Db2 provider for the specified subscription, resource group, and resource name:
To get the properties of a provider instance, use the [Get-AzWorkloadsProviderInstance](/powershell/module/az.workloads/get-azworkloadsproviderinstance) cmdlet. The following example gets the properties of:
224
+
### Get properties of a provider instance
209
225
210
-
- A provider instance for the specified subscription.
211
-
- The resource group.
212
-
- The SAP monitor name.
213
-
- The resource name.
226
+
To get the properties of a provider instance, use the [Get-AzWorkloadsProviderInstance](/powershell/module/az.workloads/get-azworkloadsproviderinstance) cmdlet. The following example gets provider instance properties for the specified resource group and SAP monitor name:
If you don't need the resources that you created in this article, you can delete them by using the following examples.
234
+
If you don't need the resources that you created in this article, you can delete them by running the following commands.
222
235
223
236
### Delete the provider instance
224
237
225
-
To remove a provider instance, use the
226
-
[Remove-AzWorkloadsProviderInstance](/powershell/module/az.workloads/remove-azworkloadsproviderinstance) cmdlet. The following example deletes an IBM DB2 provider instance for the specified subscription, resource group, SAP monitor name, and resource name:
238
+
To remove a provider instance, use the [Remove-AzWorkloadsProviderInstance](/powershell/module/az.workloads/remove-azworkloadsproviderinstance) cmdlet. The following example deletes an IBM Db2 provider instance for the specified subscription, resource group, SAP monitor name, and resource name:
0 commit comments