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
Copy file name to clipboardExpand all lines: docs/sql-server/azure-arc/assess.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,36 +14,36 @@ SQL Assessment provides a mechanism to evaluate the configuration of your SQL Se
14
14
15
15
## Prerequisites
16
16
17
-
* Your SQL Server instance must be connected to Azure Arc. See [onboard your SQL Server instance to Azure Arc-enabled SQL Server](connect.md)for instructions.
17
+
* Your SQL Server instance must be connected to Azure Arc. For instructions, see the [Connect your SQL Server to Azure Arc](connect.md)article.
18
18
19
-
* The Microsoft Monitoring Agent (MMA) extension must be installed and configured on the machine. For instructions, go to [Install MMA](configure-advanced-data-security.md#install-microsoft-monitoring-agent-mma). For more information, see [Log Analytics Agent](/azure/azure-monitor/platform/log-analytics-agent).
19
+
* The Microsoft Monitoring Agent (MMA) extension must be installed and configured on the machine. View the [Install MMA](configure-advanced-data-security.md#install-microsoft-monitoring-agent-mma) article for instructions. You can also get more information on the [Log Analytics Agent](/azure/azure-monitor/platform/log-analytics-agent) article.
20
20
21
21
* Your SQL Server must have the [TCP/IP protocol enabled](../../database-engine/configure-windows/enable-or-disable-a-server-network-protocol.md).
22
22
23
-
* The [SQL Server browser](../../tools/configuration-manager/sql-server-browser-service.md) must be running if you're operating a named instance of SQL Server.
23
+
* The [SQL Server browser service](../../tools/configuration-manager/sql-server-browser-service.md) must be running if you're operating a named instance of SQL Server.
24
24
25
25
* Make sure you've reviewed the SQL Server document at [Services Hub On-Demand Assessments Prerequisites](/services-hub/health/assessment-prereq-docs#on-demand-assessment-prerequisite-documents).
26
26
27
27
## Run SQL Assessment on demand
28
28
29
-
1. Open your SQL Server – Azure Arc resource and select **Environment Health** in the left menu.
29
+
1. Open your SQL Server – Azure Arc resource and select **Environment Health** in the left pane.
30
30
31
-

31
+
:::image type="content" source="media/assess/sql-assessment-heading-sql-server-arc.png" alt-text="Screenshot showing the Environment Health screen of a SQL Server - Azure Arc resource." lightbox="media/assess/sql-assessment-heading-sql-server-arc.png":::
32
32
33
-
1. Specify a working directory on the data collection machine. By default, `C:\sql_assessment\work_dir` is used. During collection and analysis, data is temporarily stored under that folder. If the folder doesn't exist, it's created automatically.
33
+
1. Specify a working directory on the data collection machine. By default, `C:\sql_assessment\work_dir` is used. During collection and analysis, data is temporarily stored in that folder. If the folder doesn't exist, it's created automatically.
34
34
35
35
1. Select **Download configuration script**. Copy the downloaded script to the target machine.
36
36
37
-
1. Launch an admin instance of **powershell.exe** and do run one of the following code blocks:
37
+
1. Launch an admin instance of **powershell.exe** and execute one of the following code blocks:
38
38
39
-
*If you're using a domain account, run the following commands. You'll be prompted for the user account and password.
39
+
*_Domain account_ - You'll be prompted for the user account and password.
40
40
41
41
```powershell
42
42
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
43
43
& '.\AddSqlAssessment.ps1'
44
44
```
45
45
46
-
* If you're using a Managed Service Account (MSA) run the following commands.
46
+
* _Managed Service Account (MSA)_
47
47
48
48
```powershell
49
49
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
@@ -54,27 +54,27 @@ SQL Assessment provides a mechanism to evaluate the configuration of your SQL Se
54
54
> The script schedules a task named *SQLAssessment*, which triggers data collection. This task executes within an hour after you've run the script. It then repeats every seven days.
55
55
56
56
> [!TIP]
57
-
> You can modified the task to run on a different date and time or even force it to run immediately. Go to the task scheduler library > Microsoft > Operations Management Suite > AOI*** > Assessments > SQLAssessment.
57
+
> You can modified the task to run on a different date and time or even force it to run immediately. In the the task scheduler library, find > **Microsoft** > **Operations Management Suite** > **AOI\*\*\*** > **Assessments** > **SQLAssessment**.
58
58
59
59
## View SQL Assessment results
60
60
61
-
The **View SQL Assessment results** button on the _Environment Health_ screen remains disabled until the results are ready in Log Analytics. After the button is enabled, select it to view the results.
61
+
* The **View SQL Assessment results** button on the _Environment Health_ screen remains disabled until the results are ready in Log Analytics. After the button is enabled, select it to view the results.
62
62
63
-
> [!NOTE]
64
-
>It might take up to two hours to see the results in Log Analytics after the data files are processed on the target machine.
63
+
> [!NOTE]
64
+
> It might take up to two hours to see the results in Log Analytics after the data files are processed on the target machine.
65
65
66
-

66
+
:::image type="content" source="media/assess/sql-assessment-results.png" alt-text="Screenshot showing the SQL Assessment results." lightbox="media/assess/sql-assessment-results.png":::
67
67
68
-
You can see the state of data processing on the collection machine by checking the files in the working folder. After the scheduled task is completed, you should see several files with the _new._ prefix in the working directory.
68
+
* You can see the state of data processing on the collection machine by checking the files in the working folder. After the scheduled task is completed, you should see several files with the _new._ prefix in the working directory.
69
69
70
-

70
+
:::image type="content" source="media/assess/sql-assessment-data-files-ready.png" alt-text="Screenshot showing a File Manager window displaying new data files in the working folder.":::
71
71
72
-
The Microsoft Monitoring Agent scans the working folder every 15 minutes. It looks for _new.*_ files and sends the data to the Log Analytics workspace. After MMA uploads the file, it changes the prefix change from _new._ to _processed._
72
+
* The Microsoft Monitoring Agent scans the working folder every 15 minutes. It looks for _new.*_ files and sends the data to the Log Analytics workspace. After MMA uploads the file, it changes the prefix change from _new._ to _processed._
73
73
74
-

74
+
:::image type="content" source="media/assess/sql-assessment-data-files-processed.png" alt-text="Screenshot showing a File Manager window displaying processed data files.":::
75
75
76
76
## Next steps
77
77
78
-
* Get more information by viewing [Services Hub On-Demand Assessments Prerequisites](/services-hub/health/assessment-prereq-docs#on-demand-assessment-prerequisite-documents).
78
+
* Get more information by viewing the prerequisite documents at [Services Hub On-Demand Assessments](/services-hub/health/assessment-prereq-docs#on-demand-assessment-prerequisite-documents).
79
79
80
-
* To obtain comprehensive support of the On-demand SQL Assessment, a Premier or Unified support subscription is required. For details, see [Azure Premier Support](https://azure.microsoft.com/support/plans/premier).
80
+
* To obtain comprehensive support of the on-demand SQL Assessment feature, a Premier or Unified support subscription is required. For details, see [Azure Premier Support](https://azure.microsoft.com/support/plans/premier).
0 commit comments