Skip to content

Commit dee1438

Browse files
committed
[Azure Arc] Added suggestions offered after publish
1 parent 283255d commit dee1438

1 file changed

Lines changed: 40 additions & 39 deletions

File tree

docs/sql-server/azure-arc/connect-at-scale-autodeploy.md

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ description: In this article, you learn how Microsoft helps you automatically co
44
author: pochiraju
55
ms.author: rajpo
66
ms.reviewer: mikeray, randolphwest
7-
ms.date: 03/22/2023
7+
ms.date: 03/23/2023
88
ms.service: sql
99
ms.topic: conceptual
1010
---
11-
1211
# Automatically connect Azure Arc-enabled SQL Servers
1312

14-
To streamline the experience of connecting SQL Servers to Azure, Microsoft automatically installs the Azure extension for SQL Server on all Arc-enabled servers that have SQL Server installed which will result in all of the SQL Server instance resources being automatically created in Azure. To learn more, see [Azure Arc-enabled SQL Server](overview.md).
15-
16-
> [!IMPORTANT]
17-
> Microsoft will begin automatically connecting Azure Arc-enabled SQL Servers on April 11, 2023.
13+
Azure Arc-enabled SQL Server is a cloud-native solution provided by Microsoft to simplify the management, protection, and governance of SQL Server instances running on Azure Arc-enabled servers. This solution streamlines the experience of connecting SQL Servers to Azure by automatically installing the Azure extension for SQL Server on all Arc-enabled servers that have SQL Server installed. Visit [Azure Arc-enabled SQL Server](overview.md) to learn more. All the SQL Server instance resources are automatically created in Azure, providing a centralized management platform for all your SQL Servers.
1814

1915
This article details how the streamlined process of connecting SQL Server to Azure works.
2016

@@ -24,38 +20,46 @@ Complete the [Prerequisites](prerequisites.md).
2420

2521
## Specify license type
2622

27-
Optionally, you can specify the license type for each instance of SQL Server.
23+
Optionally, specify the license type for each instance of SQL Server.
24+
25+
To specify the desired license type, provide the license type value tag. The automatic connecting workflow requires that tag. [Tag resources, resource groups, and subscriptions for a logical organization - Azure Resource Manager | Microsoft Learn](/azure/azure-resource-manager/management/tag-resources).
2826

29-
To specify the desired license type, provide the license type value tag. The automatic connecting work flow requires that tag. [Tag resources, resource groups, and subscriptions for logical organization - Azure Resource Manager | Microsoft Learn](/azure/azure-resource-manager/management/tag-resources).
27+
Add one of the tags and values below to a subscription, resource group(s), or Arc Server resource(s).
3028

31-
Add one of the tags and values below to a subscription or resource group(s) or Arc Server resource(s).
29+
| Tag | Value |
30+
| --- | ----- |
31+
| `ArcSQLServerExtensionDeployment` | `Paid` |
32+
| `ArcSQLServerExtensionDeployment` | `PAYG` |
33+
| `ArcSQLServerExtensionDeployment` | `LicenseOnly` |
3234

33-
|Tag |Value |
34-
|---------|---------|
35-
|`ArcSQLServerExtensionDeployment` |`Paid`|
36-
|`ArcSQLServerExtensionDeployment` |`PAYG`|
37-
|`ArcSQLServerExtensionDeployment` |`LicenseOnly`|
35+
Microsoft uses this value when the automatic connecting workflow deploys the SQL Server extension.
3836

39-
Microsoft uses this value when the SQL Server extension is deployed via the automatic connecting work flow.
37+
When onboarding SQL Server instances to Azure Arc, Microsoft provides an automated process that sets the license type (LT) to "LicenseOnly." However, suppose your SQL Server is covered by Software Assurance (SA) or Subscription and Support (SS). In that case, it's essential to set the LT to "Paid" to enable valuable management features provided to SA customers or customers using the Pay-as-you-go (PAYG) model.
4038

41-
## Opt out
39+
## Opt-out
4240

43-
There is no cost associated with connecting SQL Server to Azure. However, if you decide to opt out from automatically installing the SQL Server extension on Arc servers that have SQL Server, follow the instructions in the [How to opt out of automatic connecting](#how-to-opt-out-automatic-connecting) section.
41+
There's no cost associated with connecting SQL Server to Azure. However, if you opt out of automatically installing the SQL Server extension on Arc servers with SQL Server, follow the instructions in the [How to opt out of automatic connecting](#how-to-opt-out-automatic-connecting) section.
4442

4543
## Automatically connect on new servers connected to Arc
4644

47-
Microsoft automatically installs Azure extension for SQL Server on each machine connected to Azure Arc if it has SQL Server instance(s) installed on the machine. This automated process involves the following tasks:
45+
Microsoft automatically installs Azure extension for SQL Server on each machine connected to Azure Arc if it has installed SQL Server instance(s). This automated process involves the following tasks:
46+
47+
1. Registers the `Microsoft.AzureArcData` resource provider if not already registered.
48+
49+
1. Sets the license type if the `ArcSQLServerExtensionDeployment` tag value is set.
4850

49-
1. Registers the `Microsoft.AzureArcData` resource provider, if not already registered.
50-
1. Sets the license type, if the `ArcSQLServerExtensionDeployment` tag value is set.
5151
1. Installs the Azure extension for SQL Server.
52+
53+
> [!NOTE]
54+
> The license type is set if the `ArcSQLServerExtensionDeployment` tag value is set.
55+
5256
1. Creates Arc-enabled SQL Server instance resource in Azure.
5357

54-
Once the connecting is complete, you can benefit with the Azure features for SQL Server. To learn more, see [Manage SQL Server license and billing options](manage-license-type.md).
58+
Once the connecting is complete, you can benefit from the Azure features for SQL Server. See [Manage SQL Server license and billing options](manage-license-type.md) to learn more.
5559

56-
## Fix missing License type
60+
## Set appropriate license type
5761

58-
There can be SQL Server machines successfully connected to Arc but missing the proper License Type to unlock the free Arc enabled SQL Server benefits. To verify, run this resource graph query.
62+
SQL Server machines can be successfully connected to Arc but missing the proper "License Type" to unlock the free Arc-enabled SQL Server benefits. To verify, run this resource graph query.
5963

6064
```msgraph-interactive
6165
resources
@@ -65,28 +69,26 @@ resources
6569
|where type =="microsoft.azurearcdata/sqlserverinstances" and licenseType in('Configuration needed')
6670
|project id,tenantId,ResourceName,licenseType
6771
```
68-
To know more about license types and modify, see [Manage SQL Server license and billing options](manage-license-type.md).
69-
7072

71-
## How to opt out automatic connecting
73+
Visit [Manage SQL Server license and billing options](manage-license-type.md) to learn more about license types and modifications.
7274

73-
If you would like to opt out of the automatic installation of Azure extension for SQL Server, you can add the tag and value below to a subscription or resource group(s) or Arc Server resource(s).
75+
## How to opt out of automatic connecting
7476

75-
|Tag |Value |
76-
|---------|---------|
77-
|`ArcSQLServerExtensionDeployment`|`Disabled`|
77+
If you want to opt out of the automatic installation of Azure extension for SQL Server, you can add the tag and value below to a subscription or resource group(s) or Arc Server resource(s).
7878

79-
Alternatively, you can also limit which extensions can be installed on your server, you can configure lists of the extensions you wish to allow and block on the server. To learn more, see [Extension allowlists and blocklists](/azure/azure-arc/servers/security-overview#extension-allowlists-and-blocklists).
79+
| Tag | Value |
80+
| --- | ----- |
81+
| `ArcSQLServerExtensionDeployment` | `Disabled` |
8082

81-
## Learn how Microsoft automatically deploy Azure extension for SQL Server
83+
Alternatively, you can limit which extensions can be installed on your server. You can configure lists of the extensions you wish to allow and block on the server. To learn more, see [Extension allowlists and blocklists](/azure/azure-arc/servers/security-overview#extension-allowlists-and-blocklists).
8284

83-
Microsoft can run extension installations on an Arc-enabled server through the Windows service Guest Configuration Extension service (`ExtensionService`). When the server is connected to Arc, the Windows service Guest Configuration Extension service (`ExtensionService`) is installed. This service is responsible for installing, upgrading, and deleting extensions (agents, scripts, or other software) on the machine. The guest configuration and extension services run as Local System on Windows, and as root on Linux. For details about the Arc agent services and service accounts review [Agent security and permissions | Agent security and permissions](/azure/azure-arc/servers/security-overview#agent-security-and-permissions)
85+
## Learn how Microsoft automatically installs Azure extension for SQL Server
8486

85-
Microsoft can call APIs to deploy Azure extension for SQL Server and automatically connecting to Arc enabled SQL Server
86-
87-
You can also install the extensions using the Azure portal, Azure Resource Manager (ARM) APIs, Azure Policy, ARM templates, the Azure CLI, or the Azure PowerShell module. [Deployment options for Azure Arc-enabled SQL Server](deployment-options.md)
87+
Microsoft can run extension installations on an Arc-enabled server through the Windows service Guest Configuration Extension service (`ExtensionService`). When the server is connected to Arc, the Windows service Guest Configuration Extension service (`ExtensionService`) is installed. This service is responsible for installing, upgrading, and deleting extensions (agents, scripts, or other software) on the machine. The guest configuration and extension services run as Local System on Windows and as root on Linux. For details about the Arc agent services and service accounts, review [Agent security and permissions | Agent security and permissions](/azure/azure-arc/servers/security-overview#agent-security-and-permissions)
8888

89+
Microsoft can call APIs to deploy Azure extension for SQL Server and automatically connect to Arc-enabled SQL Server.
8990

91+
You can also install the extensions using the Azure portal, Azure Resource Manager (ARM) APIs, Azure Policy, ARM templates, the Azure CLI, or the Azure PowerShell module. [Deployment options for Azure Arc-enabled SQL Server](deployment-options.md)
9092

9193
## Find SQL Servers connected to Arc, but missing Azure extension for SQL Server
9294

@@ -95,7 +97,7 @@ Use the Azure graph query below to list the machine and subscription IDs that co
9597
```msgraph-interactive
9698
resources
9799
| where type == "microsoft.hybridcompute/machines" and properties['detectedProperties']['mssqldiscovered'] has "true"
98-
| extend
100+
| extend
99101
joinID = toupper(id)
100102
| join kind= inner (
101103
resources
@@ -106,12 +108,11 @@ resources
106108
| where allExtensions !has ("SqlServer")
107109
) on $left.joinID == $right.machineId
108110
| project id, subscriptionId, tenantId
109-
110111
```
111112

112113
## Next steps
113114

114115
- [Azure Arc-enabled SQL Server](overview.md)
115116
- [Deployment options for Azure Arc-enabled SQL Server](deployment-options.md)
116117
- [Prerequisites](prerequisites.md)
117-
- [Data collected by Arc enabled SQL Server](data-collection.md)
118+
- [Data collected by Arc enabled SQL Server](data-collection.md)

0 commit comments

Comments
 (0)