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
Copy file name to clipboardExpand all lines: articles/sap/monitor/provider-sql-server.md
+31-27Lines changed: 31 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,33 @@
1
1
---
2
-
title: Configure SQL Server provider for Azure Monitor for SAP solutions
3
-
description: Learn how to configure a SQL Server provider for use with Azure Monitor for SAP solutions.
2
+
title: Configure SQL Server provider for Azure Monitor for SAP solutions
3
+
description: Configure a SQL Server provider for Azure Monitor for SAP solutions to collect performance metrics and health data from SQL Server databases in your SAP environment.
4
4
author: MightySuz
5
5
ms.service: sap-on-azure
6
6
ms.subservice: sap-monitor
7
-
ms.topic: article
8
-
ms.date: 08/22/2024
7
+
ms.topic: how-to
8
+
ms.date: 04/09/2026
9
9
ms.author: jacobjaygbay
10
10
ms.custom: sfi-ropc-nochange
11
-
#Customer intent: As a developer, I want to configure a SQL Server provider so that I can use Azure Monitor for SAP solutions for monitoring.
12
11
# Customer intent: As a developer, I want to configure a SQL Server provider for Azure Monitor for SAP solutions, so that I can effectively monitor my SAP environment using Azure's monitoring capabilities.
13
12
---
14
13
15
-
# Configure SQL Server for Azure Monitor for SAP solutions
14
+
# Configure SQL Server provider for Azure Monitor for SAP solutions
16
15
17
-
In this how-to guide, you learn how to configure a SQL Server provider for Azure Monitor for SAP solutions through the Azure portal.
16
+
In Azure Monitor for SAP solutions, a *provider* connects to a component in your SAP landscape and collects monitoring data from it. When your SAP environment uses a SQL Server database, add a SQL Server provider to collect performance and operational data from that database. For more information about providers, see [Providers in Azure Monitor for SAP solutions](providers.md).
17
+
18
+
In this article, you configure a SQL Server provider through the Azure portal, including the firewall, authentication, and user permissions that the provider requires.
18
19
19
20
## Prerequisites
20
21
21
-
- An Azure subscription.
22
+
- An Azure subscription. If you don't have an Azure subscription, you can [create a free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
22
23
- An existing Azure Monitor for SAP solutions resource. To create an Azure Monitor for SAP solutions resource, see the [quickstart for the Azure portal](quickstart-portal.md) or the [quickstart for PowerShell](quickstart-powershell.md).
23
24
24
25
## Open a Windows port
25
26
26
-
Open the Windows port in the local firewall of SQL Server and the network security group where SQL Server and Azure Monitor for SAP solutions exist. The default port is 1433.
27
+
Open the Windows port in the local firewall and the network security group (NSG) where SQL Server and Azure Monitor for SAP solutions exist.
28
+
29
+
1. On the SQL Server host, open the local Windows Firewall and allow inbound traffic on the SQL Server port (default **1433**).
30
+
1. In the Azure portal, open the NSG for the subnet where SQL Server and Azure Monitor for SAP solutions exist, and add an inbound rule for the same port.
27
31
28
32
## Configure SQL Server
29
33
@@ -33,9 +37,9 @@ Configure SQL Server to accept sign-ins from Windows and SQL Server:
33
37
1. Open **Server Properties** > **Security** > **Authentication**.
34
38
1. Select **SQL Server and Windows authentication mode**.
35
39
1. Select **OK** to save your changes.
36
-
1.Restart SQL Server to complete the changes.
40
+
1.To complete the changes, restart SQL Server.
37
41
38
-
## Create Azure Monitor for SAP solutions user for SQL Server
42
+
## Create an Azure Monitor for SAP solutions user for SQL Server
39
43
40
44
Create a user for Azure Monitor for SAP solutions to sign in to SQL Server by using the following script. Make sure to replace:
41
45
@@ -52,11 +56,11 @@ USE [master]
52
56
DROPUSER [AMS]
53
57
DROP LOGIN [AMS]
54
58
GO
55
-
CREATE LOGIN [AMS] WITH
56
-
PASSWORD=N'<password>',
57
-
DEFAULT_DATABASE=[<Database to monitor>],
58
-
DEFAULT_LANGUAGE=[us_english],
59
-
CHECK_EXPIRATION=OFF,
59
+
CREATE LOGIN [AMS] WITH
60
+
PASSWORD=N'<password>',
61
+
DEFAULT_DATABASE=[<Database to monitor>],
62
+
DEFAULT_LANGUAGE=[us_english],
63
+
CHECK_EXPIRATION=OFF,
60
64
CHECK_POLICY=OFF
61
65
CREATEUSERAMS FOR LOGIN AMS
62
66
ALTER ROLE [db_datareader] ADD MEMBER [AMS]
@@ -73,9 +77,9 @@ ALTER ROLE [db_denydatawriter] ADD MEMBER [AMS]
73
77
GO
74
78
```
75
79
76
-
## Prerequisites to enable secure communication
80
+
## Enable secure communication
77
81
78
-
To enable [TLS 1.2 or higher](enable-tls-azure-monitor-sap-solutions.md), follow the steps in [this article](/sql/database-engine/configure-windows/configure-sql-server-encryption?view=sql-server-ver15&preserve-view=true).
82
+
To enable [TLS 1.2 or higher](enable-tls-azure-monitor-sap-solutions.md), follow the steps in [Configure SQL Server encryption](/sql/database-engine/configure-windows/configure-sql-server-encryption?view=sql-server-ver15&preserve-view=true).
79
83
80
84
## Install an Azure Monitor for SAP solutions provider
81
85
@@ -85,15 +89,15 @@ To install the provider from Azure Monitor for SAP solutions:
85
89
1. On the resource menu, under **Settings**, select **Providers**.
86
90
1. On the provider page, select **Add** to add a new provider.
87
91
1. On the **Add provider** page, enter all required information:
88
-
1. For **Type**, select **Microsoft SQL Server**.
89
-
1. For **Name**, enter a name for the provider.
90
-
1. (Optional) Select **Enable secure communication** and choose a certificate type from the dropdown list.
91
-
1. For **Host name**, enter the IP address of the hostname.
92
-
1. For **Port**, enter the port on which SQL Server is listening. The default is 1433.
93
-
1. For **SQL username**, enter a username for the SQL Server account.
94
-
1. For **Password**, enter a password for the account.
95
-
1. For **SID**, enter the SAP system identifier.
96
-
1. Select **Create** to create the provider.
92
+
1. For **Type**, select **Microsoft SQL Server**.
93
+
1. For **Name**, enter a name for the provider.
94
+
1. (Optional) Select **Enable secure communication** and select a certificate type from the dropdown list.
95
+
1. For **Host name**, enter the IP address of the hostname.
96
+
1. For **Port**, enter the port on which SQL Server is listening. The default is 1433.
97
+
1. For **SQL username**, enter a username for the SQL Server account.
98
+
1. For **Password**, enter a password for the account.
99
+
1. For **SID**, enter the SAP system identifier.
100
+
1. Select **Create** to create the provider.
97
101
1. Repeat the previous step as needed to create more providers.
98
102
1. Select **Review + create** to complete the deployment.
0 commit comments