Skip to content

Commit 21ca2cf

Browse files
committed
Merge branch 'release-pass-sqlmi-msdb' of https://github.com/MicrosoftDocs/sql-docs-pr into 2022_sqlmimsdb
2 parents a272de3 + 4350fd2 commit 21ca2cf

366 files changed

Lines changed: 9672 additions & 3843 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.azure-sql.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,11 @@
549549
"source_path_from_root": "/azure-sql/managed-instance/synchronize-vnet-dns-servers-setting-on-virtual-cluster.md",
550550
"redirect_url": "/azure/azure-sql/managed-instance/resolve-private-domain-names",
551551
"redirect_document_id": false
552+
},
553+
{
554+
"source_path_from_root": "/azure-sql/virtual-machines/windows/migrate-to-vm-from-sql-server.md",
555+
"redirect_url": "/azure/azure-sql/migration-guides/virtual-machines/sql-server-to-sql-on-azure-vm-individual-databases-guide",
556+
"redirect_document_id": false
552557
}
553558
]
554559
}

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59469,6 +59469,11 @@
5946959469
"source_path": "docs/linux/sql-server-linux-release-notes.md",
5947059470
"redirect_url": "/sql/linux/sql-server-linux-release-notes-2017",
5947159471
"redirect_document_id": false
59472+
},
59473+
{
59474+
"source_path": "docs/linux/sql-server-linux-setup-2022.md",
59475+
"redirect_url": "/sql/linux/sql-server-linux-setup",
59476+
"redirect_document_id": false
5947259477
}
5947359478
]
5947459479
}

azure-sql/azure-sql-iaas-vs-paas-what-is-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ There are several factors that can influence your decision to choose between the
7171

7272
As seen in the diagram, each service offering can be characterized by the level of administration you have over the infrastructure, and by the degree of cost efficiency.
7373

74-
In Azure, you can have your SQL Server workloads running as a hosted service ([PaaS](https://azure.microsoft.com/overview/what-is-paas/)), or a hosted infrastructure ([IaaS](https://azure.microsoft.com/overview/what-is-iaas/)). Within PaaS, you have multiple product options, and service tiers within each option. The key question that you need to ask when deciding between PaaS or IaaS is do you want to manage your database, apply patches, and take backups, or do you want to delegate these operations to Azure?
74+
In Azure, you can have your SQL Server workloads running as a hosted service ([PaaS](https://azure.microsoft.com/overview/what-is-paas/)), or a hosted infrastructure ([IaaS](https://azure.microsoft.com/overview/what-is-iaas/)) supporting the software layer, such as Software-as-a-Service (SaaS) or an application. Within PaaS, you have multiple product options, and service tiers within each option. The key question that you need to ask when deciding between PaaS or IaaS is do you want to manage your database, apply patches, and take backups, or do you want to delegate these operations to Azure?
7575

7676
### Azure SQL Database
7777

azure-sql/database/active-geo-replication-configure-portal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Tutorial: Geo-replication & failover in portal"
33
description: Learn how to configure geo-replication for an SQL database using the Azure portal or Azure CLI, and initiate failover.
4-
author: rajeshsetlem
5-
ms.author: rsetlem
4+
author: AbdullahMSFT
5+
ms.author: amamun
66
ms.reviewer: wiassaf, mathoma
77
ms.date: 08/20/2021
88
ms.service: sql-database

azure-sql/database/active-geo-replication-overview.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Active geo-replication
33
description: Use active geo-replication to create readable secondary databases of individual databases in Azure SQL Database in the same or different regions.
4-
author: rajeshsetlem
5-
ms.author: rsetlem
4+
author: AbdullahMSFT
5+
ms.author: amamun
66
ms.reviewer: wiassaf, mathoma
7-
ms.date: 4/14/2022
7+
ms.date: 10/04/2022
88
ms.service: sql-database
99
ms.subservice: high-availability
1010
ms.topic: conceptual
@@ -14,13 +14,12 @@ ms.custom: sqldbrb=1
1414
# Active geo-replication
1515
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
1616

17-
Active geo-replication is a feature that lets you to create a continuously synchronized readable secondary database for a primary database. The readable secondary database may be in the same Azure region as the primary, or, more commonly, in a different region. This kind of readable secondary databases are also known as geo-secondaries, or geo-replicas.
17+
Active geo-replication is a feature that lets you create a continuously synchronized readable secondary database for a primary database. The readable secondary database may be in the same Azure region as the primary, or, more commonly, in a different region. This kind of readable secondary database is also known as a geo-secondary or geo-replica.
1818

1919
Active geo-replication is designed as a business continuity solution that lets you perform quick disaster recovery of individual databases in case of a regional disaster or a large scale outage. Once geo-replication is set up, you can initiate a geo-failover to a geo-secondary in a different Azure region. The geo-failover is initiated programmatically by the application or manually by the user.
2020

21-
2221
> [!NOTE]
23-
> Active geo-replication is not supported by Azure SQL Managed Instance. For geographic failover of instances of SQL Managed Instance, use [Auto-failover groups](auto-failover-group-sql-db.md).
22+
> For geographic failover of instances of SQL Managed Instance, use [Auto-failover groups](../managed-instance/auto-failover-group-sql-mi.md). For more information, [Compare geo-replication with failover groups](business-continuity-high-availability-disaster-recover-hadr-overview.md#compare-geo-replication-with-failover-groups). Active geo-replication is not supported by Azure SQL Managed Instance.
2423
2524
> [!NOTE]
2625
> To migrate SQL databases from Azure Germany using active geo-replication, see [Migrate SQL Database using active geo-replication](/azure/germany/germany-migration-databases#migrate-sql-database-using-active-geo-replication).
@@ -83,7 +82,7 @@ To achieve full business continuity, adding database regional redundancy is only
8382

8483
- **Unplanned geo-failover**
8584

86-
Unplanned, or forced, geo-failover immediately switches the geo-secondary to the primary role without any synchronization with the primary. Any transactions committed on the primary but not yet replicated to the secondary are lost. This operation is designed as a recovery method during outages when the primary is not accessible, but database availability must be quickly restored. When the original primary is back online, it will be automatically re-connected, reseeded using the current primary data, and become a new geo-secondary.
85+
Unplanned, or forced, geo-failover immediately switches the geo-secondary to the primary role without any synchronization with the primary. Any transactions committed on the primary but not yet replicated to the secondary are lost. This operation is designed as a recovery method during outages when the primary is not accessible, but database availability must be quickly restored. When the original primary is back online, it will be automatically reconnected, reseeded using the current primary data, and become a new geo-secondary.
8786

8887
> [!IMPORTANT]
8988
> After either planned or unplanned geo-failover, the connection endpoint for the new primary changes because the new primary is now located on a different logical server.
@@ -135,9 +134,9 @@ To create a geo-secondary in a subscription different from the subscription of t
135134
select client_net_address from sys.dm_exec_connections where session_id = @@SPID;
136135
```
137136

138-
For more information see, [Configure firewall](firewall-configure.md).
137+
For more information, see [Configure firewall](firewall-configure.md).
139138

140-
2. In the master database on the **primary** server, create a SQL authentication login dedicated to active geo-replication setup. Adjust login name and password as needed.
139+
2. In the `master` database on the **primary** server, create a SQL authentication login dedicated to active geo-replication setup. Adjust login name and password as needed.
141140

142141
```sql
143142
create login geodrsetup with password = 'ComplexPassword01';
@@ -156,7 +155,7 @@ To create a geo-secondary in a subscription different from the subscription of t
156155
select sid from sys.sql_logins where name = 'geodrsetup';
157156
```
158157

159-
5. Connect to the **primary** database (not the master database), and create a user for the same login.
158+
5. Connect to the **primary** database (not the `master` database), and create a user for the same login.
160159

161160
```sql
162161
create user geodrsetup for login geodrsetup;
@@ -192,13 +191,13 @@ To create a geo-secondary in a subscription different from the subscription of t
192191
> [!NOTE]
193192
> Cross-subscription geo-replication operations including setup and geo-failover are only supported using REST API & T-SQL commands.
194193
>
195-
> Adding a geo-secondary using T-SQL is not supported when connecting to the primary server over a [private endpoint](private-endpoint-overview.md). If a private endpoint is configured but public network access is allowed, adding a geo-secondary is supported when connected to the primary server from a public IP address. Once a geo-secondary is added, public access can be [denied](connectivity-settings.md#deny-public-network-access).
194+
> Adding a geo-secondary using T-SQL is not supported when connecting to the primary server over a [private endpoint](private-endpoint-overview.md). If a private endpoint is configured but public network access is allowed, adding a geo-secondary is supported when connected to the primary server from a public IP address. Once a geo-secondary is added, [public network access can be denied](connectivity-settings.md#deny-public-network-access).
196195
>
197196
> Creating a geo-secondary on a logical server in a different Azure tenant is not supported when [Azure Active Directory only](https://techcommunity.microsoft.com/t5/azure-sql/azure-active-directory-only-authentication-for-azure-sql/ba-p/2417673) authentication for Azure SQL is active (enabled) on either primary or secondary logical server.
198197
199198
## <a name="keeping-credentials-and-firewall-rules-in-sync"></a> Keep credentials and firewall rules in sync
200199

201-
When using public network access for connecting to the database, we recommend using [database-level IP firewall rules](firewall-configure.md) for geo-replicated databases. These rules are replicated with the database, which ensures that all geo-secondaries have the same IP firewall rules as the primary. This approach eliminates the need for customers to manually configure and maintain firewall rules on servers hosting the primary and secondary databases. Similarly, using [contained database users](logins-create-manage.md) for data access ensures both primary and secondary databases always have the same authentication credentials. This way, after a geo-failover, there is no disruptions due to authentication credential mismatches. If you are using logins and users (rather than contained users), you must take extra steps to ensure that the same logins exist for your secondary database. For configuration details see [How to configure logins and users](active-geo-replication-security-configure.md).
200+
When using public network access for connecting to the database, we recommend using [database-level IP firewall rules](firewall-configure.md) for geo-replicated databases. These rules are replicated with the database, which ensures that all geo-secondaries have the same IP firewall rules as the primary. This approach eliminates the need for customers to manually configure and maintain firewall rules on servers hosting the primary and secondary databases. Similarly, using [contained database users](logins-create-manage.md) for data access ensures both primary and secondary databases always have the same authentication credentials. This way, after a geo-failover, there are no disruptions due to authentication credential mismatches. If you are using logins and users (rather than contained users), you must take extra steps to ensure that the same logins exist for your secondary database. For configuration details, see [How to configure logins and users](active-geo-replication-security-configure.md).
202201

203202
## <a name="upgrading-or-downgrading-primary-database"></a> Scale primary database
204203

@@ -280,7 +279,6 @@ As discussed previously, active geo-replication can also be managed programmatic
280279
| [Replication Links - List By Database](/rest/api/sql/replicationlinks/listbydatabase) | Gets all replication links for a given database in a geo-replication partnership. It retrieves the information visible in the sys.geo_replication_links catalog view. |
281280
| [Delete Replication Link](/rest/api/sql/replicationlinks/delete) | Deletes a database replication link. Cannot be done during failover. |
282281

283-
284282
## Next steps
285283

286284
- For sample scripts, see:
@@ -290,4 +288,4 @@ As discussed previously, active geo-replication can also be managed programmatic
290288
- For a business continuity overview and scenarios, see [Business continuity overview](business-continuity-high-availability-disaster-recover-hadr-overview.md).
291289
- To learn about Azure SQL Database automated backups, see [SQL Database automated backups](automated-backups-overview.md).
292290
- To learn about using automated backups for recovery, see [Restore a database from the service-initiated backups](recovery-using-backups.md).
293-
- To learn about authentication requirements for a new primary server and database, see [SQL Database security after disaster recovery](active-geo-replication-security-configure.md).
291+
- To learn about authentication requirements for a new primary server and database, see [SQL Database security after disaster recovery](active-geo-replication-security-configure.md).

azure-sql/database/active-geo-replication-security-configure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Configure security for disaster recovery
33
description: Learn the security considerations for configuring and managing security after a database restore or a failover to a secondary server.
4-
author: rajeshsetlem
5-
ms.author: rsetlem
4+
author: AbdullahMSFT
5+
ms.author: amamun
66
ms.reviewer: wiassaf, mathoma, vanto
77
ms.date: 12/18/2018
88
ms.service: sql-database

azure-sql/database/authentication-azure-ad-user-assigned-managed-identity-create-server.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ ms.topic: conceptual
1515

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

18+
This how-to guide outlines the steps to create a [logical server](logical-servers.md) for Azure SQL Database with a [user-assigned managed identity](/azure/active-directory/managed-identities-azure-resources/overview#managed-identity-types). For more information on the benefits of using a user-assigned managed identity for the server identity in Azure SQL Database, see [User-assigned managed identity in Azure AD for Azure SQL](authentication-azure-ad-user-assigned-managed-identity.md).
19+
20+
To retrieve the system-assigned managed identity (SMI) or user-assigned managed identity or identities (UMI) of an Azure SQL Database, see [Get or set a managed identity for a logical server or managed instance](authentication-azure-ad-user-assigned-managed-identity.md#get-or-set-a-managed-identity-for-a-logical-server-or-managed-instance).
21+
1822
> [!NOTE]
1923
> If you're looking for a guide on Azure SQL Managed Instance, see [Create an Azure SQL Managed Instance with a user-assigned managed identity](../managed-instance/authentication-azure-ad-user-assigned-managed-identity-create-managed-instance.md).
2024
21-
This how-to guide outlines the steps to create a [logical server](logical-servers.md) for Azure SQL Database with a [user-assigned managed identity](/azure/active-directory/managed-identities-azure-resources/overview#managed-identity-types). For more information on the benefits of using a user-assigned managed identity for the server identity in Azure SQL Database, see [User-assigned managed identity in Azure AD for Azure SQL](authentication-azure-ad-user-assigned-managed-identity.md).
2225

2326
## Prerequisites
2427

@@ -236,7 +239,7 @@ $responce.content
236239

237240
# [ARM Template](#tab/arm-template)
238241

239-
Here's an example of an ARM template that creates an Azure SQL logical server with a user-assigned managed identity. The template also adds an Azure AD admin set for the server and enables [Azure AD-only authentication](authentication-azure-ad-only-authentication.md), but this can be removed from the template example.
242+
Here's an example of an ARM template that creates an Azure SQL Database logical server with a user-assigned managed identity. The template also adds an Azure AD admin set for the server and enables [Azure AD-only authentication](authentication-azure-ad-only-authentication.md), but this can be removed from the template example.
240243

241244
For more information and ARM templates, see [Azure Resource Manager templates for Azure SQL Database & SQL Managed Instance](arm-templates-content-guide.md).
242245

@@ -342,7 +345,7 @@ To get your user-assigned managed identity **Resource ID**, search for **Managed
342345

343346
---
344347

345-
## See also
348+
## Next steps
346349

347350
- [User-assigned managed identity in Azure AD for Azure SQL](authentication-azure-ad-user-assigned-managed-identity.md)
348351
- [Create an Azure SQL Managed Instance with a user-assigned managed identity](../managed-instance/authentication-azure-ad-user-assigned-managed-identity-create-managed-instance.md).

0 commit comments

Comments
 (0)