Skip to content

Commit 954d864

Browse files
authored
Merge pull request #314535 from Xelu86/sqlservprovider
[Update] Configure SQL Server provider for Azure Monitor for SAP solutions
2 parents 5170f9a + 0b1fa73 commit 954d864

1 file changed

Lines changed: 31 additions & 27 deletions

File tree

articles/sap/monitor/provider-sql-server.md

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
---
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.
44
author: MightySuz
55
ms.service: sap-on-azure
66
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
99
ms.author: jacobjaygbay
1010
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.
1211
# 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.
1312
---
1413

15-
# Configure SQL Server for Azure Monitor for SAP solutions
14+
# Configure SQL Server provider for Azure Monitor for SAP solutions
1615

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.
1819

1920
## Prerequisites
2021

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).
2223
- 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).
2324

2425
## Open a Windows port
2526

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.
2731

2832
## Configure SQL Server
2933

@@ -33,9 +37,9 @@ Configure SQL Server to accept sign-ins from Windows and SQL Server:
3337
1. Open **Server Properties** > **Security** > **Authentication**.
3438
1. Select **SQL Server and Windows authentication mode**.
3539
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.
3741

38-
## Create Azure Monitor for SAP solutions user for SQL Server
42+
## Create an Azure Monitor for SAP solutions user for SQL Server
3943

4044
Create a user for Azure Monitor for SAP solutions to sign in to SQL Server by using the following script. Make sure to replace:
4145

@@ -52,11 +56,11 @@ USE [master]
5256
DROP USER [AMS]
5357
DROP LOGIN [AMS]
5458
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,
6064
CHECK_POLICY=OFF
6165
CREATE USER AMS FOR LOGIN AMS
6266
ALTER ROLE [db_datareader] ADD MEMBER [AMS]
@@ -73,9 +77,9 @@ ALTER ROLE [db_denydatawriter] ADD MEMBER [AMS]
7377
GO
7478
```
7579

76-
## Prerequisites to enable secure communication
80+
## Enable secure communication
7781

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).
7983

8084
## Install an Azure Monitor for SAP solutions provider
8185

@@ -85,15 +89,15 @@ To install the provider from Azure Monitor for SAP solutions:
8589
1. On the resource menu, under **Settings**, select **Providers**.
8690
1. On the provider page, select **Add** to add a new provider.
8791
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.
97101
1. Repeat the previous step as needed to create more providers.
98102
1. Select **Review + create** to complete the deployment.
99103

0 commit comments

Comments
 (0)