Skip to content

Commit 9461701

Browse files
authored
Merge pull request #188556 from WilliamDAssafMSFT/20220214-azure-sql-maint-window-ga
20220214 GA for maint window
2 parents 7d4b11a + 8833cf8 commit 9461701

7 files changed

+108
-41
lines changed

articles/azure-sql/database/advance-notifications.md

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ ms.devlang:
99
ms.topic: how-to
1010
author: scott-kim-sql
1111
ms.author: scottkim
12-
ms.reviewer: kendralittle, mathoma, wiassaf
13-
ms.date: 09/14/2021
12+
ms.reviewer: kendralittle, mathoma, wiassaf, urosmil
13+
ms.date: 03/07/2022
1414
---
1515
# Advance notifications for planned maintenance events (Preview)
16-
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
16+
[!INCLUDE[appliesto-sqldb-sqlmi](../includes/appliesto-sqldb-sqlmi.md)]
1717

18-
Advance notifications (Preview) is available for databases configured to use a non-default [Maintenance Window (Preview)](maintenance-window.md). Advance notifications enable customers to configure notifications to be sent up to 24 hours in advance of any planned event.
18+
Advance notifications (Preview) are available for databases configured to use a non-default [maintenance window](maintenance-window.md). Advance notifications enable customers to configure notifications to be sent up to 24 hours in advance of any planned event.
1919

2020
Notifications can be configured so you can get texts, emails, Azure push notifications, and voicemails when planned maintenance is due to begin in the next 24 hours. Additional notifications are sent when maintenance begins and when maintenance ends.
2121

2222
Advance notifications cannot be configured for the **System default** maintenance window option. Choose a maintenance window other than the **System default** to configure and enable Advance notifications.
2323

2424
> [!NOTE]
25-
> While the ability to choose a maintenance window is available for Azure SQL managed instances, advance notifications are not currently available for Azure SQL managed instances.
25+
> While [maintenance windows](maintenance-window.md) are generally available, advance notifications for maintenance windows are in public preview for Azure SQL Database and Azure SQL Managed Instance.
2626
2727
## Create an advance notification
2828

@@ -46,8 +46,6 @@ Complete the following steps to enable a notification.
4646

4747
:::image type="content" source="media/advance-notifications/notifications.png" alt-text="configure notifications":::
4848

49-
50-
5149
1. Complete the *Add or edit notification* form that opens and select **OK**:
5250

5351
2. Actions and Tags are optional. Here you can configure additional actions to be triggered or use tags to categorize and organize your Azure resources.
@@ -80,6 +78,34 @@ The following table shows additional notifications that may be sent while mainte
8078
|**Blocked**|There was a problem during maintenance for database *xyz*. We'll notify you when we resume.|
8179
|**Resumed**|The problem has been resolved and maintenance will continue at the next maintenance window.|
8280

81+
## Permissions
82+
83+
While Advance Notifications can be sent to any email address, Azure subscription RBAC (role-based access control) policy determines who can access the links in the email. Querying resource graph is covered by [Azure RBAC](../../role-based-access-control/overview.md) access management. To enable read access, each recipient should have resource group level read access. For more information, see [Steps to assign an Azure role](../../role-based-access-control/role-assignments-steps.md).
84+
85+
## Retrieve the list of impacted resources
86+
87+
[Azure Resource Graph](../../governance/resource-graph/overview.md) is an Azure service designed to extend Azure Resource Management. The Azure Resource Graph Explorer provides efficient and performant resource exploration with the ability to query at scale across a given set of subscriptions so that you can effectively govern your environment.
88+
89+
You can use the Azure Resource Graph Explorer to query for maintenance events. For an introduction on how to run these queries, see [Quickstart: Run your first Resource Graph query using Azure Resource Graph Explorer](../../governance/resource-graph/first-query-portal.md).
90+
91+
When the advanced notification for planned maintenance is received, you will get a link that opens Azure Resource Graph and executes the query for the exact event, similar to the following. Note that the `notificationId` value is unique per maintenance event.
92+
93+
```kusto
94+
resources
95+
| project resource = tolower(id)
96+
| join kind=inner (
97+
maintenanceresources
98+
| where type == "microsoft.maintenance/updates"
99+
| extend p = parse_json(properties)
100+
| mvexpand d = p.value
101+
| where d has 'notificationId' and d.notificationId == 'LNPN-R9Z'
102+
| project resource = tolower(name), status = d.status
103+
) on resource
104+
|project resource, status
105+
```
106+
107+
For the full reference of the sample queries and how to use them across tools like PowerShell or Azure CLI, visit [Azure Resource Graph sample queries for Azure Service Health](../../service-health/resource-graph-samples.md).
108+
83109

84110
## Next steps
85111

articles/azure-sql/database/doc-changes-updates-release-notes-whats-new.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.subservice: service-overview
1010
ms.custom: sqldbrb=2, references_regions, ignite-fall-2021
1111
ms.devlang:
1212
ms.topic: conceptual
13-
ms.date: 03/02/2022
13+
ms.date: 03/07/2022
1414
---
1515
# What's new in Azure SQL Database?
1616
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
@@ -33,7 +33,7 @@ The following table lists the features of Azure SQL Database that are currently
3333
| [Elastic queries](elastic-query-overview.md) | The elastic queries feature allows for cross-database queries in Azure SQL Database. |
3434
| [Elastic transactions](elastic-transactions-overview.md) | Elastic transactions allow you to execute transactions distributed among cloud databases in Azure SQL Database. |
3535
| [Ledger](ledger-overview.md) | The Azure SQL Database ledger feature allows you to cryptographically attest to other parties, such as auditors or other business parties, that your data hasn't been tampered with. |
36-
| [Maintenance window](maintenance-window.md)| The maintenance window feature allows you to configure maintenance schedule for your Azure SQL Database. |
36+
| [Maintenance window advance notifications](../database/advance-notifications.md)| Advance notifications are available for databases configured to use a non-default [maintenance window](maintenance-window.md). Advance notifications for maintenance windows are in public preview for Azure SQL Database. |
3737
| [Query editor in the Azure portal](connect-query-portal.md) | The query editor in the portal allows you to run queries against your Azure SQL Database directly from the [Azure portal](https://portal.azure.com).|
3838
| [Query Store hints](/sql/relational-databases/performance/query-store-hints?view=azuresqldb-current&preserve-view=true) | Use query hints to optimize your query execution via the OPTION clause. |
3939
| [SQL Analytics](../../azure-monitor/insights/azure-sql.md)|Azure SQL Analytics is an advanced cloud monitoring solution for monitoring performance of all of your Azure SQL databases at scale and across multiple subscriptions in a single view. Azure SQL Analytics collects and visualizes key performance metrics with built-in intelligence for performance troubleshooting.|
@@ -47,6 +47,7 @@ The following table lists the features of Azure SQL Database that have transitio
4747

4848
| Feature | GA Month | Details |
4949
| ---| --- |--- |
50+
| [Maintenance window](../database/maintenance-window.md)| March 2022 | The maintenance window feature allows you to configure maintenance schedule for your Azure SQL Database. [Maintenance window advance notifications](../database/advance-notifications.md), however, are in preview.|
5051
| [Storage redundancy for Hyperscale databases](automated-backups-overview.md#configure-backup-storage-redundancy) | March 2022 | When creating a Hyperscale database, you can choose your preferred storage type: read-access geo-redundant storage (RA-GRS), zone-redundant storage (ZRS), or locally redundant storage (LRS) Azure standard storage. The selected storage redundancy option will be used for the lifetime of the database for both data storage redundancy and backup storage redundancy. |
5152
| [Azure Active Directory-only authentication](authentication-azure-ad-only-authentication.md) | November 2021 | It's possible to configure your Azure SQL Database to allow authentication only from Azure Active Directory. |
5253
| [Azure AD service principal](authentication-aad-service-principal.md) | September 2021 | Azure Active Directory (Azure AD) supports user creation in Azure SQL Database on behalf of Azure AD applications (service principals).|
@@ -62,6 +63,7 @@ Learn about significant changes to the Azure SQL Database documentation.
6263

6364
| Changes | Details |
6465
| --- | --- |
66+
| **GA for maintenance window** | The [maintenance window](maintenance-window.md) feature allows you to configure a maintenance schedule for your Azure SQL Database and receive advance notifications of maintenance windows. [Maintenance window advance notifications](../database/advance-notifications.md) are in public preview for databases configured to use a non-default [maintenance window](maintenance-window.md).|
6567
| **Hyperscale zone redundant configuration preview** | It's now possible to create new Hyperscale databases with zone redundancy to make your databases resilient to a much larger set of failures. This feature is currently in preview for the Hyperscale service tier. To learn more, see [Hyperscale zone redundancy](high-availability-sla.md#hyperscale-service-tier-zone-redundant-availability-preview). |
6668
| **Hyperscale storage redundancy GA** | Choosing your storage redundancy for your databases in the Hyperscale service tier is now generally available. See [Configure backup storage redundancy](automated-backups-overview.md#configure-backup-storage-redundancy) to learn more.
6769
|||
@@ -75,7 +77,6 @@ Learn about significant changes to the Azure SQL Database documentation.
7577

7678
### 2021
7779

78-
7980
| Changes | Details |
8081
| --- | --- |
8182
| **Azure AD-only authentication** | Restricting authentication to your Azure SQL Database only to Azure Active Directory users is now generally available. To learn more, see [Azure AD-only authentication](../database/authentication-azure-ad-only-authentication.md). |
@@ -90,7 +91,6 @@ Learn about significant changes to the Azure SQL Database documentation.
9091
|||
9192

9293

93-
9494
## Contribute to content
9595

9696
To contribute to the Azure SQL documentation, see the [Docs contributor guide](/contribute/).

articles/azure-sql/database/maintenance-window-configure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Configure maintenance window (Preview)
2+
title: Configure maintenance window
33
description: Learn how to set the time when planned maintenance should be performed on your Azure SQL databases, elastic pools, and managed instance databases.
44
services: sql-database
55
ms.service: sql-db-mi
@@ -8,13 +8,13 @@ ms.topic: how-to
88
author: scott-kim-sql
99
ms.author: scottkim
1010
ms.reviewer: kendralittle, mathoma
11-
ms.date: 03/23/2021
11+
ms.date: 03/07/2022
1212
---
13-
# Configure maintenance window (Preview)
13+
# Configure maintenance window
1414

1515
[!INCLUDE[appliesto-sqldb-sqlmi](../includes/appliesto-sqldb-sqlmi.md)]
1616

17-
Configure the [maintenance window (Preview)](maintenance-window.md) for an Azure SQL database, elastic pool, or Azure SQL Managed Instance database during resource creation, or anytime after a resource is created.
17+
Configure the [maintenance window](maintenance-window.md) for an Azure SQL database, elastic pool, or Azure SQL Managed Instance database during resource creation, or anytime after a resource is created.
1818

1919
The *System default* maintenance window is 5PM to 8AM daily (local time of the Azure region the resource is located) to avoid peak business hours interruptions. If the *System default* maintenance window is not the best time, select one of the other available maintenance windows.
2020

@@ -415,6 +415,6 @@ Be sure to delete unneeded resources after you're finished with them to avoid un
415415

416416
## Next steps
417417

418-
- To learn more about maintenance window, see [Maintenance window (Preview)](maintenance-window.md).
418+
- To learn more about maintenance window, see [Maintenance window](maintenance-window.md).
419419
- For more information, see [Maintenance window FAQ](maintenance-window-faq.yml).
420420
- To learn about optimizing performance, see [Monitoring and performance tuning in Azure SQL Database and Azure SQL Managed Instance](monitor-tune-overview.md).

articles/azure-sql/database/maintenance-window-faq.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
ms.author: wiassaf
1111
ms.reviewer: kendralittle, mathoma
1212
ms.custom:
13-
ms.date: 09/30/2021
13+
ms.date: 03/07/2022
1414

1515
title: Maintenance window FAQ
1616
summary: This article answers frequently asked questions about the maintenance window for [Azure SQL database](sql-database-paas-overview.md) and [SQL managed instance](../managed-instance/sql-managed-instance-paas-overview.md).
@@ -19,27 +19,27 @@ sections:
1919
questions:
2020
- question: What is the maintenance window feature?
2121
answer: |
22-
The maintenance window feature provides you with the ability to onboard Azure SQL resource to prescheduled time blocks outside of business hours. See [Maintenance window schedules](maintenance-window.md#gain-more-predictability-with-maintenance-window) for more information.
22+
The maintenance window feature provides you with the ability to onboard Azure SQL resource to prescheduled time blocks outside of business hours. For more information, see [Maintenance window schedules](maintenance-window.md#gain-more-predictability-with-maintenance-window).
2323
24-
- question: What is the default maintenance policy if I do not choose any specific window?
24+
- question: What is the default maintenance policy if I don't choose any specific window?
2525
answer: |
2626
Maintenance events will occur during the default window 5PM to 8AM local time, Monday - Sunday.
2727
2828
- question: Users work in a different time zone than the Azure data center. Which time zone is local?
2929
answer: |
30-
Local time is determined by the location of Azure region that hosts the resource and may observe daylight saving time in accordance with local time zone definition. It is not determined by the time zone configured on SQL database (always UTC) or managed instance.
30+
Local time is determined by the location of Azure region that hosts the resource and may observe daylight saving time in accordance with local time zone definition. It isn't determined by the time zone configured on SQL database (always UTC) or managed instance.
3131
3232
- question: Can I choose a specific time/day for the maintenance window?
3333
answer: |
3434
No, you can choose between pre-scheduled weekday or weekend windows. The maintenance can happen any time or day within the window.
3535
3636
- question: What happens once I choose a maintenance window?
3737
answer: |
38-
Configuring maintenance window is a long running asynchronous operation, similar to changing the service tier of your Azure SQL resource. The resource is available during the process, except a short reconfiguration that happens at the end of the operation and typically lasts up to 8 seconds even in case of interrupted long-running transactions. To minimize the impact of the reconfiguration you should perform the operation outside of the peak hours. In case of managed instance, IP address of the instance will change.
38+
Configuring maintenance window is a long running asynchronous operation, similar to changing the service tier of your Azure SQL resource. The resource is available during the process, except a short reconfiguration that happens at the end of the operation and typically lasts up to 8 seconds even in case of interrupted long-running transactions. To minimize the impact of the reconfiguration, you should perform the operation outside of the peak hours. In case of managed instance, IP address of the instance will change.
3939
4040
- question: What types of updates are typically performed during a maintenance window?
4141
answer: |
42-
The maintenance event may contain updates for hardware, firmware, operating system, satellite software components, and SQL engine. They are typically combined into a single batch to minimize the incidence of maintenance events.
42+
The maintenance event may contain updates for hardware, firmware, operating system, satellite software components, and SQL engine. They're typically combined into a single batch to minimize the incidence of maintenance events.
4343
4444
- question: What can I expect during a maintenance event?
4545
answer: |
@@ -63,19 +63,19 @@ sections:
6363
6464
- question: Would I receive a notification of the maintenance window?
6565
answer: |
66-
You can opt in to receive notification 24 hours prior to the maintenance event, immediately before maintenance starts, and when the maintenance window is completed. The Resource health center can be checked for more information. To receive emails, advance notification must be configured, for more information see [Advance notifications](advance-notifications.md).
66+
You can opt in to receive notification 24 hours prior to the maintenance event, immediately before maintenance starts, and when the maintenance window is completed. The Resource health center can be checked for more information. To receive emails, advance notifications must be configured. For more information, see [Advance notifications](advance-notifications.md).
6767
6868
- question: In which service level objectives (SLOs) can I choose a maintenance window?
6969
answer: |
7070
Choosing a maintenance window is available in most SLOs with some exceptions, see [maintenance window supported service level objectives](maintenance-window.md#supported-service-level-objectives).
7171
72-
- question: If I have selected a maintenance window for a resource, and I downscale to a service level objective (SLO) where choosing a maintenance window is not supported, what happens to my database?
72+
- question: If I've selected a maintenance window for a resource, and I downscale to a service level objective (SLO) where choosing a maintenance window isn't supported, what happens to my database?
7373
answer: |
74-
In this case, the maintenance window would revert to the default option which is 5PM to 8AM local time.
74+
In this case, the maintenance window would revert to the default option, which is 5PM to 8AM local time.
7575
7676
- question: Can I cancel or postpone a planned maintenance event based on the received notification?
7777
answer: |
78-
No. Cancelling or postponing an upcoming maintenance event is not supported. Notifications help you to prepare for the event.
78+
No. Cancelling or postponing an upcoming maintenance event isn't supported. Notifications help you to prepare for the event.
7979
8080
- question: How long does it take to process a maintenance window schedule change?
8181
answer: |
@@ -103,11 +103,15 @@ sections:
103103
104104
- question: I have the default maintenance window selected. Can I enable advance notifications for that maintenance?
105105
answer: |
106-
No, advance notifications cannot be configured for the default maintenance window option. When choosing a maintenance window, choose an option other than **System default** to configure and enable advance notifications.
106+
No, advance notifications can't be configured for the default maintenance window option. When choosing a maintenance window, choose an option other than **System default** to configure and enable advance notifications.
107107
108-
- question: I am not able to set up advance notifications for planned maintenance, will I still see planned maintenance event in Service Health dashboard?
108+
- question: I'm not able to set up advance notifications for planned maintenance, will I still see planned maintenance event in Service Health dashboard?
109109
answer: |
110-
No, if advance notifications are not configured, Service Health will not show the planned maintenance events.
110+
No, if advance notifications aren't configured, Service Health won't show the planned maintenance events.
111+
112+
- question: Does advance notification cover all maintenance events?
113+
answer: |
114+
No, advance notifications focus only on planned maintenance events that can cause a service interruption.
111115
112116
113117
additionalContent: |

0 commit comments

Comments
 (0)