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
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.
18
14
19
15
This article details how the streamlined process of connecting SQL Server to Azure works.
20
16
@@ -24,38 +20,46 @@ Complete the [Prerequisites](prerequisites.md).
24
20
25
21
## Specify license type
26
22
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).
28
26
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).
30
28
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`|
32
34
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.
38
36
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.
40
38
41
-
## Optout
39
+
## Opt-out
42
40
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.
44
42
45
43
## Automatically connect on new servers connected to Arc
46
44
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.
48
50
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.
51
51
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
+
52
56
1. Creates Arc-enabled SQL Server instance resource in Azure.
53
57
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.
55
59
56
-
## Fix missing License type
60
+
## Set appropriate license type
57
61
58
-
There can be SQL Server machines successfully connected to Arc but missing the proper “License Type” to unlock the free Arcenabled 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.
59
63
60
64
```msgraph-interactive
61
65
resources
@@ -65,28 +69,26 @@ resources
65
69
|where type =="microsoft.azurearcdata/sqlserverinstances" and licenseType in('Configuration needed')
66
70
|project id,tenantId,ResourceName,licenseType
67
71
```
68
-
To know more about license types and modify, see [Manage SQL Server license and billing options](manage-license-type.md).
69
-
70
72
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.
72
74
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
74
76
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).
78
78
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`|
80
82
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).
82
84
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
84
86
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)
88
88
89
+
Microsoft can call APIs to deploy Azure extension for SQL Server and automatically connect to Arc-enabled SQL Server.
89
90
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)
90
92
91
93
## Find SQL Servers connected to Arc, but missing Azure extension for SQL Server
92
94
@@ -95,7 +97,7 @@ Use the Azure graph query below to list the machine and subscription IDs that co
95
97
```msgraph-interactive
96
98
resources
97
99
| where type == "microsoft.hybridcompute/machines" and properties['detectedProperties']['mssqldiscovered'] has "true"
98
-
| extend
100
+
| extend
99
101
joinID = toupper(id)
100
102
| join kind= inner (
101
103
resources
@@ -106,12 +108,11 @@ resources
106
108
| where allExtensions !has ("SqlServer")
107
109
) on $left.joinID == $right.machineId
108
110
| project id, subscriptionId, tenantId
109
-
110
111
```
111
112
112
113
## Next steps
113
114
114
115
-[Azure Arc-enabled SQL Server](overview.md)
115
116
-[Deployment options for Azure Arc-enabled SQL Server](deployment-options.md)
116
117
-[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