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
|[Database migration](../migrate-to-azure-sql-managed-instance.md)| LRS & <br />MI link | LRS & <br />MI link | LRS only | LRS only | LRS & <br />MI link | LRS only |
20
+
|[Database migration](../migrate-to-azure-sql-managed-instance.md)| LRS and<br />MI link | LRS and<br />MI link | LRS only | LRS only | LRS and<br />MI link | LRS only |
|[Microsoft Purview: Govern using DevOps and data owner policies](/azure/purview/tutorial-register-scan-on-premises-sql-server)| Yes | Yes | Yes | Yes |
49
49
|[Automated backups to local storage (preview)](../backup-local.md)| Yes | Yes | Yes | Yes |
This article teaches you how to view client connections to [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] in Azure portal.
15
+
This article teaches you how to view client connections to [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] in Azure portal.
16
+
17
+
## Prerequisites
18
+
19
+
To collect client connection data for [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] and view the summary in Azure, you must meet the following conditions:
20
+
21
+
- The version of Azure Extension for SQL Server (`WindowsAgent.SqlServer`) is v1.1.2986.256 or greater.
22
+
23
+
-[!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] is running on the Windows operating system.
24
+
25
+
-[!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] running on [!INCLUDE [winserver2012r2-md](../../includes/winserver2012r2-md.md)] and older versions aren't supported.
26
+
27
+
- The SQL Server version is [!INCLUDE [sssql16-md](../../includes/sssql16-md.md)] with Service Pack 1 or greater.
28
+
29
+
- The server has connectivity to `*.<region>.arcdataservices.com`. For more information, see the [network requirements](/azure/azure-arc/servers/network-requirements?tabs=azure-cloud).
30
+
31
+
- The license type on [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] is Software Assurance or pay-as-you-go.
32
+
33
+
- You have an Azure role with the action `Microsoft.AzureArcData/sqlServerInstances/getTelemetry/`. You can use the following built-in role, which includes this action: *Azure Hybrid Database Administrator - Read Only Service Role*. For more information, see [Azure built-in roles](/azure/role-based-access-control/built-in-roles).
17
34
18
35
## View SQL Server connections
19
36
@@ -25,11 +42,11 @@ To view a summary of all client connections to the SQL Server instance, follow t
25
42
26
43
:::image type="content" source="media/sql-connection-summary/sql-connection-summary.png" alt-text="Screenshot of the SQL Client Connections view for SQL Server enabled by Azure Arc." lightbox="media/sql-connection-summary/sql-connection-summary.png":::
27
44
28
-
### Review the summarized data in the view:
45
+
### Review the summarized data in the view
29
46
30
47
| Column name | Description and version-specific information |
31
48
| --- | --- |
32
-
|**Program Name**| Name of client program that initiated the session.|
49
+
|**Program Name**| Name of client program that initiated the session.|
33
50
|**Client Interface Name**| Name of library/driver being used by the client to communicate with the server. |
34
51
|**Database Name**| Name of the current database for the session in the hourly snapshots. |
35
52
|**Request End Time**| Last request end time from the hourly snapshots. Indicator of how recently the client program connected used the database. |
@@ -46,44 +63,45 @@ The connection data within the time range chosen on the portal dictates the clie
46
63
47
64
## Disable the connections view
48
65
49
-
Since the SQL Server connections view is enabled by default, you can choose to disable it and stop data collection. You can disable the SQL Server connections view by using the Azure portal, or the Azure CLI.
66
+
Since the SQL Server connections view is enabled by default, you can choose to disable it and stop data collection. You can disable the SQL Server connections view by using the Azure portal, or the Azure CLI.
50
67
51
68
### [Azure portal](#tab/azure-portal)
52
69
53
70
To disable the SQL Server Connections view, follow these steps:
54
71
55
72
1. On the **Overview** page for [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] in the [Azure portal](https://portal.azure.com), select **SQL Server Connections** to open the **SQL Server Connections** pane.
56
-
1. On the **SQL Server Connections** pane, select **Disable** from the command bar. Select **Yes** on the **Disable SQL client connections** information box:
73
+
74
+
1. On the **SQL Server Connections** pane, select **Disable** from the command bar. Select **Yes** on the **Disable SQL client connections** information box:
57
75
58
76
:::image type="content" source="media/sql-connection-summary/sql-connection-disable.png" alt-text="Screenshot of disable option in SQL Client Connections view for SQL Server enabled by Azure Arc." lightbox="media/sql-connection-summary/sql-connection-disable.png":::
59
77
60
78
### [Azure CLI](#tab/azure-cli)
61
79
62
-
To disable the SQL Server Connections view, replace placeholder values and then run the following Azure CLI command:
80
+
To disable the SQL Server Connections view, replace placeholder values and then run the following Azure CLI command:
63
81
64
82
```azurecli
65
83
az sql server-arc extension feature-flag set --name ClientConnections --enable false --resource-group <resource_group>" --machine-name <server_name>
66
84
```
67
85
68
86
---
69
87
70
-
71
88
## Enable the connections view
72
89
73
-
If SQL Server Connections view and data collection is disabled, you can enable it again by using the Azure portal, or the Azure CLI.
90
+
If SQL Server Connections view and data collection is disabled, you can enable it again by using the Azure portal, or the Azure CLI.
74
91
75
92
### [Azure portal](#tab/azure-portal)
76
93
77
94
To disable the SQL Server Connections view, follow these steps:
78
95
79
96
1. On the **Overview** pane for [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)], select **SQL Server Connections** to open the **SQL Server Connections** page.
80
-
1. On the **SQL Server Connections** pane, either select **Enable** from the command bar, or the **Enable Sql Connections** button to enable the SQL Server connections feature.
97
+
98
+
1. On the **SQL Server Connections** pane, either select **Enable** from the command bar, or the **Enable Sql Connections** button to enable the SQL Server connections feature.
81
99
82
100
:::image type="content" source="media/sql-connection-summary/sql-connection-enable.png" alt-text="Screenshot of enable option in SQL Client Connections view for SQL Server enabled by Azure Arc." lightbox="media/sql-connection-summary/sql-connection-enable.png":::
83
101
84
102
### [Azure CLI](#tab/azure-cli)
85
103
86
-
To enable the SQL Server Connections view, replace placeholder values and then run the following Azure CLI command:
104
+
To enable the SQL Server Connections view, replace placeholder values and then run the following Azure CLI command:
87
105
88
106
```azurecli
89
107
az sql server-arc extension feature-flag set --name ClientConnections --enable true --resource-group <resource_group>" --machine-name <server_name>
@@ -93,5 +111,5 @@ az sql server-arc extension feature-flag set --name ClientConnections --enable
93
111
94
112
## Related content
95
113
96
-
-[Use performance dashboard to monitor SQL Server enabled by Azure Arc](sql-monitoring.md)
114
+
-[Monitor SQL Server enabled by Azure Arc (preview)](sql-monitoring.md)
0 commit comments