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
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,12 +114,12 @@ When configuring providers in Azure Monitor for SAP solutions, you might encount
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
115
116
116
1. Go to the Azure portal and navigate to your Azure Monitor for SAP solutions resource.
117
-
2. 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.
117
+
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
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
-
3. 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>**.
119
+
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
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":::
121
-
4. Open the function app and search for **Development Tools**.
122
-
5. Open **Advanced Tools** in the left-hand menu then select **Go** to open Kudu.
121
+
1. Open the function app and search for **Development Tools**.
122
+
1. Open **Advanced Tools** in the left-hand menu then select **Go** to open Kudu.
123
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":::
124
124
125
125
Now as we have access to Kudu, we run the following checks to troubleshoot hostname resolution issues:
@@ -129,27 +129,27 @@ Now as we have access to Kudu, we run the following checks to troubleshoot hostn
129
129
Follow these steps to check if the Azure Function app is integrated with the virtual network:
130
130
131
131
1. In Kudu, Select the **Environment** tab.
132
-
2. Now, search for **WEBSITE_PRIVATE_IP** in the environment variables list.
133
-
3. Verify that the value for **WEBSITE_PRIVATE_IP** is an IP address from the subnet that you configured for Azure Monitor for SAP solutions.
132
+
1. Now, search for **WEBSITE_PRIVATE_IP** in the environment variables list.
133
+
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
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":::
135
135
136
136
#### Check hostname resolution from Azure Function
137
137
138
138
Follow these steps to check if the Azure Function app can resolve the hostname of your SAP system:
139
139
140
140
1. In Kudu, Select the **SSH** tab.
141
-
2. 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.
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
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
-
3. Now you have access to a terminal where you can run commands. Run the following command
144
-
4. 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:
143
+
1. Now you have access to a terminal where you can run commands. Run the following command
144
+
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
145
146
146
```bash
147
147
nslookup hostname
148
148
```
149
149
150
150
:::image type="content" source="./media/set-up-network/hostname-resolution-check.png" alt-text="Screenshot showing the hostname resolution check in the Kudu debug console." lightbox="./media/set-up-network/hostname-resolution-check.png":::
151
151
152
-
5. 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:
152
+
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:
@@ -158,19 +158,19 @@ Follow these steps to check if the Azure Function app can resolve the hostname o
158
158
159
159
:::image type="content" source="./media/set-up-network/hostname-port-check.png" alt-text="Screenshot showing the hostname and port check in the Kudu debug console." lightbox="./media/set-up-network/hostname-port-check.png":::
160
160
161
-
6. 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.
162
-
7. 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.
161
+
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.
162
+
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.
163
163
164
164
### Check effective network rules
165
165
166
166
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:
167
167
168
168
1. Go to the Azure portal and navigate to your Virtual Machine that's hosting your SAP system.
169
-
2. Search for **Network Settings** in the left-hand menu and select it.
169
+
1. Search for **Network Settings** in the left-hand menu and select it.
170
170
:::image type="content" source="./media/set-up-network/vm-network-settings.png" alt-text="Screenshot showing the network settings of the Virtual Machine." lightbox="./media/set-up-network/vm-network-settings.png":::
171
-
3. Open the **Network Interface** associated with your Virtual Machine.
171
+
1. Open the **Network Interface** associated with your Virtual Machine.
172
172
:::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":::
173
-
4. 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.
173
+
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.
174
174
:::image type="content" source="./media/set-up-network/nic-effective-routes.png" alt-text="Screenshot showing the effective routes of the network interface." lightbox="./media/set-up-network/nic-effective-routes.png":::
0 commit comments