Skip to content

Commit 6996764

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into rolyon-aadroles-custom-roles-limit
2 parents d6dcf22 + 1482eca commit 6996764

14 files changed

+111
-60
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: Track a web app outage using Change Analysis
3+
description: Learn how to identify the root cause of a web app outage using Azure Monitor Change Analysis.
4+
ms.topic: tutorial
5+
ms.author: hannahhunter
6+
author: hhunter-ms
7+
ms.contributor: cawa
8+
ms.reviewer: cawa
9+
ms.date: 05/09/2022
10+
ms.subservice: change-analysis
11+
ms.custom: devx-track-azurepowershell
12+
---
13+
14+
# Track a web app outage using Change Analysis
15+
16+
When issues happen, one of the first things to check is what changed in application, configuration and resources to triage and root cause issues. Change Analysis provides a centralized view of the changes in your subscriptions for up to the past 14 days to provide the history of changes for troubleshooting issues.
17+
18+
In this tutorial, you learn how to:
19+
20+
> [!div class="checklist"]
21+
> * Enable Change Analysis to track changes for Azure resources and for Azure Web App configurations
22+
> * Troubleshoot a Web App issue using Change Analysis
23+
24+
## Pre-requisites
25+
26+
An Azure Web App with a Storage account dependency. Follow instructions at [ChangeAnalysis-webapp-storage-sample](https://github.com/Azure-Samples/changeanalysis-webapp-storage-sample) if you haven't already deployed one.
27+
28+
## Enable Change Analysis
29+
30+
In the Azure portal, navigate to theChange Analysis service home page.
31+
32+
If this is your first time using Change Analysis service, the page may take up to a few minutes to register the `Microsoft.ChangeAnalysis` resource provider in your selected subscriptions.
33+
34+
:::image type="content" source="./media/change-analysis/change-analysis-blade.png" alt-text="Screenshot of Change Analysis in Azure portal.":::
35+
36+
Once the Change Analysis page loads, you can see resource changes in your subscriptions. To view detailed web app in-guest change data:
37+
38+
- Select **Enable now** from the banner, or
39+
- Select **Configure** from the top menu.
40+
41+
In the web app in-guest enablement pane, select the web app you'd like to enable:
42+
43+
:::image type="content" source="./media/change-analysis/enablement-pane.png" alt-text="Screenshot of Change Analysis enablement pane.":::
44+
45+
Now Change Analysis is fully enabled to track both resources and web app in-guest changes.
46+
47+
## Simulate a web app outage
48+
49+
In a typical team environment, multiple developers can work on the same application without notifying the other developers. Simulate this scenario and make a change to the web app setting:
50+
51+
```azurecli
52+
az webapp config appsettings set -g {resourcegroup_name} -n {webapp_name} --settings AzureStorageConnection=WRONG_CONNECTION_STRING
53+
```
54+
55+
Visit the web app URL to view the following error:
56+
57+
:::image type="content" source="./media/change-analysis/outage-example.png" alt-text="Screenshot of simulated web app outage.":::
58+
59+
## Troubleshoot the outage using Change Analysis
60+
61+
In the Azure portal, navigate to the Change Analysis overview page. Since you've triggered a web app outage, you'll see an entry of change for `AzureStorageConnection`:
62+
63+
:::image type="content" source="./media/change-analysis/entry-of-outage.png" alt-text="Screenshot of outage entry on the Change Analysis pane.":::
64+
65+
Since the connection string is a secret value, we hide this on the overview page for security purposes. With sufficient permission to read the web app, you can select the change to view details around the old and new values:
66+
67+
:::image type="content" source="./media/change-analysis/view-change-details.png" alt-text="Screenshot of viewing change details for troubleshooting.":::
68+
69+
The change details blade also shows important information, including who made the change.
70+
71+
Now that you've discovered the web app in-guest change and understand next steps, you can proceed with troubleshooting the issue.
72+
73+
## Next steps
74+
75+
Learn more about [Change Analysis](./change-analysis.md).
287 KB
Loading
173 KB
Loading
252 KB
Loading
11.4 KB
Loading
259 KB
Loading

articles/azure-monitor/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,8 @@ items:
11801180
href: change/change-analysis-visualizations.md
11811181
- name: Azure PowerShell
11821182
href: change/change-analysis-powershell.md
1183+
- name: Track web outages
1184+
href: change/change-analysis-outages.md
11831185
- name: Custom filters
11841186
href: change/change-analysis-custom-filters.md
11851187
- name: Troubleshoot

articles/expressroute/expressroute-locations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ If you are remote and do not have fiber connectivity or you want to explore othe
296296
| **[ThinkTel](https://www.thinktel.ca/services/agile-ix-data/expressroute/)** | Equinix | Toronto |
297297
| **[United Information Highway (UIH)](https://www.uih.co.th/en/internet-solution/cloud-direct/uih-cloud-direct-for-microsoft-azure-expressroute)**| Equinix | Singapore |
298298
| **[Venha Pra Nuvem](https://venhapranuvem.com.br/)** | Equinix | Sao Paulo |
299-
| **[Webair](https://www.webair.com/microsoft-express-route-partnership/)**| Megaport | New York |
299+
| **[Webair](https://opti9tech.com/partners/)**| Megaport | New York |
300300
| **[Windstream](https://www.windstreambusiness.com/solutions/cloud-services/cloud-and-managed-hosting-services)**| Equinix | Chicago, Silicon Valley, Washington DC |
301301
| **[X2nsat Inc.](https://www.x2nsat.com/expressroute/)** |Coresite |Silicon Valley, Silicon Valley 2|
302302
| **Zain** |Equinix |London|

articles/virtual-machines/workloads/sap/sap-hana-high-availability-netapp-files-red-hat.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: virtual-machines-sap
99
ms.topic: article
1010
ms.tgt_pltfrm: vm-linux
1111
ms.workload: infrastructure
12-
ms.date: 03/24/2021
12+
ms.date: 05/10/2022
1313
ms.author: radeltch
1414
ms.custom: ignite-fall-2021
1515
---
@@ -22,7 +22,6 @@ ms.custom: ignite-fall-2021
2222

2323
[anf-azure-doc]:/azure/azure-netapp-files/
2424
[anf-avail-matrix]:https://azure.microsoft.com/global-infrastructure/services/?products=netapp&regions=all
25-
[anf-sap-applications-azure]:https://www.netapp.com/us/media/tr-4746.pdf
2625

2726
[2205917]:https://launchpad.support.sap.com/#/notes/2205917
2827
[1944799]:https://launchpad.support.sap.com/#/notes/1944799
@@ -390,18 +389,15 @@ For more information about the required ports for SAP HANA, read the chapter [Co
390389
10.32.0.5 hanadb2
391390
```
392391
393-
3. **[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure]. Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
392+
3. **[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
394393
395394
<pre><code>
396395
vi /etc/sysctl.d/netapp-hana.conf
397396
# Add the following entries in the configuration file
398397
net.core.rmem_max = 16777216
399398
net.core.wmem_max = 16777216
400-
net.core.rmem_default = 16777216
401-
net.core.wmem_default = 16777216
402-
net.core.optmem_max = 16777216
403-
net.ipv4.tcp_rmem = 65536 16777216 16777216
404-
net.ipv4.tcp_wmem = 65536 16777216 16777216
399+
net.ipv4.tcp_rmem = 4096 131072 16777216
400+
net.ipv4.tcp_wmem = 4096 16384 16777216
405401
net.core.netdev_max_backlog = 300000
406402
net.ipv4.tcp_slow_start_after_idle=0
407403
net.ipv4.tcp_no_metrics_save = 1
@@ -425,7 +421,7 @@ For more information about the required ports for SAP HANA, read the chapter [Co
425421
> [!TIP]
426422
> Avoid setting net.ipv4.ip_local_port_range and net.ipv4.ip_local_reserved_ports explicitly in the sysctl configuration files to allow SAP Host Agent to manage the port ranges. For more details see SAP note [2382421](https://launchpad.support.sap.com/#/notes/2382421).
427423
428-
5. **[A]** Adjust the sunrpc settings, as recommended in the [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure].
424+
5. **[A]** Adjust the sunrpc settings, as recommended in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346).
429425
430426
<pre><code>
431427
vi /etc/modprobe.d/sunrpc.conf

articles/virtual-machines/workloads/sap/sap-hana-high-availability-netapp-files-suse.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: virtual-machines-sap
1010
ms.topic: tutorial
1111
ms.tgt_pltfrm: vm-linux
1212
ms.workload: infrastructure-services
13-
ms.date: 03/24/2021
13+
ms.date: 05/10/2022
1414
ms.author: ampatel
1515

1616
---
@@ -367,18 +367,15 @@ For more information about the required ports for SAP HANA, read the chapter [Co
367367
10.3.0.5 hanadb2
368368
```
369369

370-
2.**[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files](https://www.netapp.com/pdf.html?item=/media/17152-tr4746pdf.pdf). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
370+
2.**[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
371371

372372
```
373373
vi /etc/sysctl.d/netapp-hana.conf
374374
# Add the following entries in the configuration file
375375
net.core.rmem_max = 16777216
376376
net.core.wmem_max = 16777216
377-
net.core.rmem_default = 16777216
378-
net.core.wmem_default = 16777216
379-
net.core.optmem_max = 16777216
380-
net.ipv4.tcp_rmem = 65536 16777216 16777216
381-
net.ipv4.tcp_wmem = 65536 16777216 16777216
377+
net.ipv4.tcp_rmem = 4096 131072 16777216
378+
net.ipv4.tcp_wmem = 4096 16384 16777216
382379
net.core.netdev_max_backlog = 300000
383380
net.ipv4.tcp_slow_start_after_idle=0
384381
net.ipv4.tcp_no_metrics_save = 1
@@ -402,7 +399,7 @@ For more information about the required ports for SAP HANA, read the chapter [Co
402399
> [!TIP]
403400
> Avoid setting net.ipv4.ip_local_port_range and net.ipv4.ip_local_reserved_ports explicitly in the sysctl configuration files to allow SAP Host Agent to manage the port ranges. For more information, see SAP note [2382421](https://launchpad.support.sap.com/#/notes/2382421).
404401
405-
4.**[A]** Adjust the sunrpc settings, as recommended in the [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files](https://www.netapp.com/pdf.html?item=/media/17152-tr4746pdf.pdf).
402+
4.**[A]** Adjust the sunrpc settings, as recommended in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346).
406403

407404
```
408405
vi /etc/modprobe.d/sunrpc.conf

0 commit comments

Comments
 (0)