Skip to content

Commit 1035865

Browse files
committed
Freshness
1 parent ea7ebe3 commit 1035865

1 file changed

Lines changed: 45 additions & 33 deletions

File tree

articles/sap/monitor/set-up-network.md

Lines changed: 45 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
title: Set up a network for Azure Monitor for SAP solutions
2+
title: Set up a network for Azure Monitor for SAP solutions
33
description: Learn how to set up an Azure virtual network for use with Azure Monitor for SAP solutions.
44
author: MightySuz
55
ms.service: sap-on-azure
66
ms.subservice: sap-monitor
77
ms.topic: how-to
8-
ms.date: 08/22/2024
8+
ms.date: 03/16/2026
99
ms.author: jacobjaygbay
1010
#Customer intent: As a developer, I want to set up an Azure virtual network so that I can use Azure Monitor for SAP solutions.
1111
# 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.
1212
---
13+
1314
# Set up a network for Azure Monitor for SAP solutions
1415

1516
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
3334

3435
## Use Custom DNS for your virtual network
3536

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

3839
> [!div class="mx-imgBorder"]
39-
> ![Screenshot that shows the Custom DNS setting.]([../../media/set-up-network/adding-custom-dns.png)
40+
> ![A screenshot showing the Custom DNS setting in Azure portal.]([../../media/set-up-network/adding-custom-dns.png)
4041
4142
## Configure outbound internet access
4243

@@ -88,21 +89,21 @@ You can use this option after you deploy an Azure Monitor for SAP solutions reso
8889
1. On the NSG menu, under **Settings**, select **Outbound security rules**.
8990
1. Select **Add** to add the following new rules:
9091

91-
| Priority | Name | Port | Protocol | Source | Destination | Action |
92-
|--------------|--------------------------|----------|--------------|------------|----------------------|------------|
93-
| 450 | allow_monitor | 443 | TCP | Azure Functions subnet | Azure Monitor | Allow |
94-
| 451 | allow_keyVault | 443 | TCP | Azure Functions subnet | Azure Key Vault | Allow |
95-
| 452 | allow_storage | 443 | TCP | Azure Functions subnet | Storage | Allow |
96-
| 453 | allow_azure_controlplane | 443 | Any | Azure Functions subnet | Azure Resource Manager | Allow |
97-
| 454 | allow_ams_to_source_system | Any | Any | Azure Functions subnet | Virtual network or comma-separated IP addresses of the source system | Allow |
98-
| 455 | allow_monitor_for_sap | 443 | TCP | Azure Functions subnet | AzureMonitorForSAP | Allow |
99-
| 660 | deny_internet | Any | Any | Any | Internet | Deny |
92+
| Priority | Name | Port | Protocol | Source | Destination | Action |
93+
|--------------|--------------------------|----------|--------------|------------|----------------------|------------|
94+
| 450 | allow_monitor | 443 | TCP | The Azure Functions subnet | Azure Monitor | Allow |
95+
| 451 | allow_keyVault | 443 | TCP | Azure Functions subnet | Azure Key Vault | Allow |
96+
| 452 | allow_storage | 443 | TCP | Azure Functions subnet | Storage | Allow |
97+
| 453 | allow_azure_controlplane | 443 | Any | Azure Functions subnet | Azure Resource Manager | Allow |
98+
| 454 | allow_ams_to_source_system | Any | Any | Azure Functions subnet | Virtual network or comma-separated IP addresses of the source system | Allow |
99+
| 455 | allow_monitor_for_sap | 443 | TCP | Azure Functions subnet | AzureMonitorForSAP | Allow |
100+
| 660 | deny_internet | Any | Any | Any | Internet | Deny |
100101

101102
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.
102103

103104
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.
104105

105-
## Troubleshooting Networking Issues
106+
## Troubleshooting networking issues
106107

107108
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.
108109

@@ -111,36 +112,44 @@ When configuring providers in Azure Monitor for SAP solutions, you might encount
111112

112113
### Hostname resolution issues
113114

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:
115116

116117
1. Go to the Azure portal and navigate to your Azure Monitor for SAP solutions resource.
117118
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+
119122
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+
121126
1. Open the function app and search for **Development Tools**.
122127
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":::
124130

125131
Now as we have access to Kudu, we run the following checks to troubleshoot hostname resolution issues:
126132

127133
#### Check if Azure Function is integrated with virtual network
128134

129135
Follow these steps to check if the Azure Function app is integrated with the virtual network:
130136

131-
1. In Kudu, Select the **Environment** tab.
137+
1. In Kudu, select the **Environment** tab.
132138
1. Now, search for **WEBSITE_PRIVATE_IP** in the environment variables list.
133139
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":::
135142

136143
#### Check hostname resolution from Azure Function
137144

138145
Follow these steps to check if the Azure Function app can resolve the hostname of your SAP system:
139146

140147
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.
144153
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:
145154

146155
```bash
@@ -149,23 +158,26 @@ Follow these steps to check if the Azure Function app can resolve the hostname o
149158

150159
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:
151160

152-
```bash
153-
timeout 5 bash -c "</dev/tcp/hostname/port" && echo "Port Open" || echo "Port Closed"
154-
curl -v telnet://hostname:port
155-
```
161+
```bash
162+
timeout 5 bash -c "</dev/tcp/hostname/port" && echo "Port Open" || echo "Port Closed"
163+
curl -v telnet://hostname:port
164+
```
156165

157-
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.
158167
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.
159168

160169
### Check effective network rules
161170

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:
163172

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.
165174
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+
169181
:::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":::
170182

171183
## Next steps

0 commit comments

Comments
 (0)