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/set-up-network.md
+45-33Lines changed: 45 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
---
2
-
title: Set up a network for Azure Monitor for SAP solutions
2
+
title: Set up a network for Azure Monitor for SAP solutions
3
3
description: Learn how to set up an Azure virtual network for use with Azure Monitor for SAP solutions.
4
4
author: MightySuz
5
5
ms.service: sap-on-azure
6
6
ms.subservice: sap-monitor
7
7
ms.topic: how-to
8
-
ms.date: 08/22/2024
8
+
ms.date: 03/16/2026
9
9
ms.author: jacobjaygbay
10
10
#Customer intent: As a developer, I want to set up an Azure virtual network so that I can use Azure Monitor for SAP solutions.
11
11
# Customer intent: As an IT administrator, I want to configure an Azure virtual network for Azure Monitor for SAP solutions, so that I can ensure proper data collection and monitoring of my SAP environment.
12
12
---
13
+
13
14
# Set up a network for Azure Monitor for SAP solutions
14
15
15
16
In this how-to guide, you learn how to configure an Azure virtual network so that you can deploy Azure Monitor for SAP solutions. You learn how to:
@@ -33,10 +34,10 @@ For more information, see how to [integrate your app with an Azure virtual netwo
33
34
34
35
## Use Custom DNS for your virtual network
35
36
36
-
This section only applies if you're using Custom DNS for your virtual network. Add the IP address 168.63.129.16, which points to Azure DNS Server. This arrangement resolves the storage account and other resource URLs that are required for proper functioning of Azure Monitor for SAP solutions.
37
+
This section only applies if you're using Custom DNS for your virtual network. Add the IP address `168.63.129.16`, which points to Azure DNS Server. This arrangement resolves the storage account and other resource URLs that are required for proper functioning of Azure Monitor for SAP solutions.
37
38
38
39
> [!div class="mx-imgBorder"]
39
-
> 
40
+
> 
40
41
41
42
## Configure outbound internet access
42
43
@@ -88,21 +89,21 @@ You can use this option after you deploy an Azure Monitor for SAP solutions reso
88
89
1. On the NSG menu, under **Settings**, select **Outbound security rules**.
89
90
1. Select **Add** to add the following new rules:
90
91
91
-
| Priority | Name | Port | Protocol | Source | Destination | Action |
| 454 | allow_ams_to_source_system | Any | Any | Azure Functions subnet | Virtual network or comma-separated IP addresses of the source system | Allow |
| 454 | allow_ams_to_source_system | Any | Any | Azure Functions subnet | Virtual network or comma-separated IP addresses of the source system | Allow |
| 660 | deny_internet | Any | Any | Any | Internet | Deny |
100
101
101
102
The Azure Monitor for SAP solution's subnet IP address refers to the IP of the subnet associated with your Azure Monitor for SAP solutions resource. To find the subnet, go to the Azure Monitor for SAP solutions resource in the Azure portal. On the **Overview** page, review the **vNet/subnet** value.
102
103
103
104
For the rules that you create, **allow_vnet** must have a lower priority than **deny_internet**. All other rules also need to have a lower priority than **allow_vnet**. The remaining order of these other rules is interchangeable.
104
105
105
-
## Troubleshooting Networking Issues
106
+
## Troubleshooting networking issues
106
107
107
108
When configuring providers in Azure Monitor for SAP solutions, you might encounter connectivity issues between Azure Monitor for SAP solutions and your SAP environment. In this section, we provide guidance on how to troubleshoot these networking issues.
108
109
@@ -111,36 +112,44 @@ When configuring providers in Azure Monitor for SAP solutions, you might encount
111
112
112
113
### Hostname resolution issues
113
114
114
-
When you add a provider in Azure Monitor for SAP solutions, it needs to resolve the hostname of the system that you want to monitor. For monitoring different systems, like SAP HANA or SAP NetWeaver, Azure Monitor for SAP solutions deploys Azure Function apps. These function apps make a connection to your source system and run the checks. In this section, we see how to check if the Azure function app is able to resolve the hostname for your SAP system. If your provider onboarding fails due to hostname resolution issues, you can follow these steps to troubleshoot:
115
+
When you add a provider in Azure Monitor for SAP solutions, it needs to resolve the hostname of the system that you want to monitor. If you want to monitor different systems, like SAP HANA or SAP NetWeaver, Azure Monitor for SAP solutions deploys Azure Function apps. These function apps make a connection to your source system and run the checks. In this section, we see how to check if the Azure function app is able to resolve the hostname for your SAP system. If your provider onboarding fails due to hostname resolution issues, you can follow these steps to troubleshoot:
115
116
116
117
1. Go to the Azure portal and navigate to your Azure Monitor for SAP solutions resource.
117
118
1. Now, open the managed resource group for your Azure Monitor for SAP solutions resource. You can find the name of the managed resource group in the **Overview** page of your Azure Monitor for SAP solutions resource.
118
-
:::image type="content" source="./media/set-up-network/managed-resource-group.png" alt-text="Screenshot showing the managed resource group." lightbox="./media/set-up-network/managed-resource-group.png":::
119
+
120
+
:::image type="content" source="./media/set-up-network/managed-resource-group.png" alt-text="A screenshot showing a managed resource group in the Azure portal." lightbox="./media/set-up-network/managed-resource-group.png":::
121
+
119
122
1. In the managed resource group, find the Azure Function app that is associated with the provider that you're trying to onboard. The naming convention for the function app is **<provider_type>-<unique_identifier>**. For example, if you're trying to onboard an SAP HANA system, look for a function app with the name **saphana-<unique_identifier>**.
120
-
:::image type="content" source="./media/set-up-network/azure-function-apps.png" alt-text="Screenshot showing the Azure Function apps." lightbox="./media/set-up-network/azure-function-apps.png":::
123
+
124
+
:::image type="content" source="./media/set-up-network/azure-function-apps.png" alt-text="A screenshot showing the Azure Function apps in Azure portal." lightbox="./media/set-up-network/azure-function-apps.png":::
125
+
121
126
1. Open the function app and search for **Development Tools**.
122
127
1. Open **Advanced Tools** in the left-hand menu then select **Go** to open Kudu.
123
-
:::image type="content" source="./media/set-up-network/open-advanced-tools.png" alt-text="Screenshot showing how to navigate to Advanced Tools." lightbox="./media/set-up-network/open-advanced-tools.png":::
128
+
129
+
:::image type="content" source="./media/set-up-network/open-advanced-tools.png" alt-text="A screenshot showing how to navigate to Advanced Tools in the Azure portal." lightbox="./media/set-up-network/open-advanced-tools.png":::
124
130
125
131
Now as we have access to Kudu, we run the following checks to troubleshoot hostname resolution issues:
126
132
127
133
#### Check if Azure Function is integrated with virtual network
128
134
129
135
Follow these steps to check if the Azure Function app is integrated with the virtual network:
130
136
131
-
1. In Kudu, Select the **Environment** tab.
137
+
1. In Kudu, select the **Environment** tab.
132
138
1. Now, search for **WEBSITE_PRIVATE_IP** in the environment variables list.
133
139
1. Verify that the value for **WEBSITE_PRIVATE_IP** is an IP address from the subnet that you configured for Azure Monitor for SAP solutions.
134
-
:::image type="content" source="./media/set-up-network/website-private-ip-address.png" alt-text="Screenshot showing the website private IP address." lightbox="./media/set-up-network/website-private-ip-address.png":::
140
+
141
+
:::image type="content" source="./media/set-up-network/website-private-ip-address.png" alt-text="A screenshot highlighting a website private IP address in Azure App Service." lightbox="./media/set-up-network/website-private-ip-address.png":::
135
142
136
143
#### Check hostname resolution from Azure Function
137
144
138
145
Follow these steps to check if the Azure Function app can resolve the hostname of your SAP system:
139
146
140
147
1. In Kudu, Select the **SSH** tab.
141
-
1. In the SSH to Kudu, click on the **Start Connection** button. This opens the debug console in a new tab. The debug console is a terminal where you can run commands to check connectivity and troubleshoot issues.
142
-
:::image type="content" source="./media/set-up-network/open-kudu-debug-console.png" alt-text="Screenshot showing the Kudu debug console." lightbox="./media/set-up-network/open-kudu-debug-console.png":::
143
-
1. Now you have access to a terminal where you can run commands. Run the following command
148
+
1. In the SSH to Kudu, select the **Start Connection** button. A debug console opens in a new tab. The debug console is a terminal where you can run commands to check connectivity and troubleshoot issues.
149
+
150
+
:::image type="content" source="./media/set-up-network/open-kudu-debug-console.png" alt-text="A screenshot showing the Kudu debug console." lightbox="./media/set-up-network/open-kudu-debug-console.png":::
151
+
152
+
1. Now you have access to a terminal where you can run commands.
144
153
1. To check if the hostname of your SAP system is resolving correctly, run the following command in the terminal, replacing hostname with the actual hostname of your SAP system:
145
154
146
155
```bash
@@ -149,23 +158,26 @@ Follow these steps to check if the Azure Function app can resolve the hostname o
149
158
150
159
1. To check if the Azure Function app can connect to your SAP system on the required port, run the following command in the terminal, replacing hostname with the actual **hostname** of your SAP system and port with the actual **port** number that your SAP system is listening on. To find the port number, refer to the documentation section on [Allow inbound traffic](#allow-inbound-traffic) and find the port number for your provider type:
1. If the hostname resolution is working correctly, you should see the IP address of your SAP system in the output of the nslookup command. If the connection to the required port is working correctly, you should see "Port Open"in the output of the timeout command and a successful connection message in the output of the curl command.
166
+
1. If the hostname resolution is working correctly, you should see the IP address of your SAP system in the output of the `nslookup` command. If the connection to the required port is working correctly, you should see "Port Open" in the output of the timeout command. A successful connection message in the output of the curl command is displayed.
158
167
1. If you see any errors in the output of these commands, it indicates that there's a connectivity issue between the Azure Function app and your SAP system. You can use the error messages to further troubleshoot and identify the root cause of the issue. Common issues include incorrect DNS configuration, NSG rules blocking traffic, or firewall rules blocking traffic.
159
168
160
169
### Check effective network rules
161
170
162
-
When trying to resolve connectivity issues, it's important to check the effective network rules for your Virtual Machine or subnet. Effective network rules include NSG rules, user-defined routes, and firewall rules that are applied to your resources. These rules can affect the connectivity between Azure Monitor for SAP solutions and your SAP environment. In this section, we see how to check the effective network rules for your Virtual Machine or subnet:
171
+
When trying to resolve connectivity issues, it's important to check the effective network rules for your virtual machine (VM) or subnet. Effective network rules include NSG rules, user-defined routes, and firewall rules that are applied to your resources. These rules can affect the connectivity between Azure Monitor for SAP solutions and your SAP environment. In this section, we see how to check the effective network rules for your VM or subnet:
163
172
164
-
1. Go to the Azure portal and navigate to your Virtual Machine that's hosting your SAP system.
173
+
1. Go to the Azure portal and navigate to your VM that's hosting your SAP system.
165
174
1. Search for **Network Settings** in the left-hand menu and select it.
166
-
1. Open the **Network Interface** associated with your Virtual Machine.
167
-
:::image type="content" source="./media/set-up-network/vm-network-interface.png" alt-text="Screenshot showing the network interface of the Virtual Machine." lightbox="./media/set-up-network/vm-network-interface.png":::
168
-
1. Search for **Effective routes** in the left-hand menu and select it. This shows you all the effective routes that are applied to your Virtual Machine. Review the routes to check if there are any routes that might be blocking traffic from Azure Monitor for SAP solutions.
175
+
1. Open the **Network Interface** associated with your VM.
176
+
177
+
:::image type="content" source="./media/set-up-network/vm-network-interface.png" alt-text="Screenshot showing the network interface of the VM." lightbox="./media/set-up-network/vm-network-interface.png":::
178
+
179
+
1. Search for **Effective routes** in the left-hand menu and select it. This shows you all the effective routes that are applied to your VM. Review the routes to check if there are any routes that might be blocking traffic from Azure Monitor for SAP solutions.
180
+
169
181
:::image type="content" source="./media/set-up-network/effective-routes.png" alt-text="Screenshot showing the effective routes of the network interface." lightbox="./media/set-up-network/effective-routes.png":::
0 commit comments