Skip to content

Commit 9b1e883

Browse files
author
Manika Dhiman
committed
Pulled in a PM's PR for updates to the Support tool
1 parent 7abf0f0 commit 9b1e883

File tree

1 file changed

+128
-120
lines changed

1 file changed

+128
-120
lines changed

azure-local/manage/support-tools.md

Lines changed: 128 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides guidance on the Support Diagnostic Tool for A
44
author: alkohli
55
ms.author: alkohli
66
ms.topic: how-to
7-
ms.date: 04/09/2025
7+
ms.date: 05/08/2025
88
---
99

1010
# Use the Support Diagnostic Tool to troubleshoot Azure Local issues
@@ -31,13 +31,13 @@ The tool provides:
3131

3232
## Prerequisites
3333

34-
Before you use the PowerShell module, make sure to:
34+
Before you use the PowerShell module:
3535

36-
- Ensure that you are using an account that has administrative access to the Azure Local nodes.
36+
- Ensure that you are using an account that has administrative access to the Azure Local machines.
3737

38-
- Ensure that PSRemoting has been configured on the Azure Local nodes. Run `Enable-PSRemoting` to configure remote PowerShell. For more information, see the [Enable-PSRemoting](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/enable-psremoting) reference documentation.
38+
- Ensure that PSRemoting has been configured on the Azure Local machines. Run `Enable-PSRemoting` to configure remote PowerShell. For more information, see the [Enable-PSRemoting](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/enable-psremoting) reference documentation.
3939

40-
## Install or Update the Azure Local Support Diagnostic Tool
40+
## Install or update the Azure Local Support Diagnostic Tool
4141

4242
Run PowerShell as an administrator and then run the following commands:
4343

@@ -53,65 +53,72 @@ If you already have the module installed, you can update using the following cmd
5353
Update-Module -Name Microsoft.AzureStack.HCI.CSSTools
5454
```
5555

56-
> [!NOTE]
57-
> When you import the module, it will attempt to automatically update from PowerShell Gallery. You can also update manually using methods below.
56+
>[!NOTE]
57+
>When you import the module, it will attempt to automatically update from PowerShell Gallery. You can also update manually using methods below.
5858
5959
Ensure that you have the latest module loaded into the current runspace by removing and importing the module.
60+
6061
```powershell
6162
Remove-Module -Name Microsoft.AzureStack.HCI.CSSTools
6263
Import-Module -Name Microsoft.AzureStack.HCI.CSSTools
6364
```
6465

65-
> [!NOTE]
66-
> Ensure all the nodes within Azure Local have been updated to use the same version. Remove existing PSSessions to ensure the correct module version is loaded into the remote runspace.
66+
>[!NOTE]
67+
>Ensure all machines within Azure Local have been updated to use the same version. Remove existing PSSessions to ensure the correct module version is loaded into the remote runspace.
68+
69+
## Use the Azure Local Support Diagnostic Tool
70+
71+
This section provides different cmdlets for using the Azure Local Support Diagnostic Tool.
6772

73+
### View available cmdlets
74+
75+
To see a list of available cmdlets within the PowerShell module, run the following cmdlet:
6876

69-
## Using the Azure Local Support Diagnostic Tool
70-
To see a list of available cmdlets within the PowerShell module, use:
7177
```powershell
7278
Get-Command -Module Microsoft.AzureStack.HCI.CSSTools
7379
```
7480

75-
7681
### Perform diagnostic checks
82+
7783
You can perform a diagnostic health check against the system to help detect common issues. The following components are available:
84+
7885
- BaseSystem
7986
- Registration
8087

81-
8288
```powershell
8389
Invoke-AzsSupportDiagnosticCheck -Component <Component>
8490
```
8591

86-
8792
### Collect data for support
88-
To collect data using one of our pre-defined collection sets, run the following command:
8993

90-
```powershell
91-
New-AzsSupportDataBundle –Component <Component>
92-
```
94+
- To collect data using one of our predefined collection sets, run the following command:
9395

94-
To check all data collection sets, press `CTRL+SPACE` after the parameter `Component`.
96+
```powershell
97+
New-AzsSupportDataBundle –Component <Component>
98+
```
9599
96-
To collect your own dataset, run the following command:
100+
- To check all data collection sets, press `CTRL+SPACE` after the parameter `Component`.
97101
98-
```powershell
99-
$ClusterCommands = @(<clusterCommand1>,<clusterCommand2>)
100-
$nodeCommands = @(<nodeCommand1>,<nodeCommand2>)
101-
$nodeEvents = @(<eventLogName1>,<eventLogName2>)
102-
$nodeRegistry = @(<registryPath1>,<registryPath2>)
103-
$nodeFolders = @(<folderPath1>,<folderPath2>)
102+
- To collect your own dataset, run the following command:
104103
104+
```powershell
105+
$ClusterCommands = @(<clusterCommand1>,<clusterCommand2>)
106+
$nodeCommands = @(<nodeCommand1>,<nodeCommand2>)
107+
$nodeEvents = @(<eventLogName1>,<eventLogName2>)
108+
$nodeRegistry = @(<registryPath1>,<registryPath2>)
109+
$nodeFolders = @(<folderPath1>,<folderPath2>)
105110
106-
New-AzsSupportDataBundle -ClusterCommands $clusterCommands `
107-
-NodeCommands $nodeCommands `
108-
-NodeEvents $nodeEvents `
109-
-NodeRegistry $nodeRegistry `
110-
-NodeFolders $nodeFolders `
111-
-ComputerName @(<computerName1>,<computerName2>)
112-
```
111+
112+
New-AzsSupportDataBundle -ClusterCommands $clusterCommands `
113+
-NodeCommands $nodeCommands `
114+
-NodeEvents $nodeEvents `
115+
-NodeRegistry $nodeRegistry `
116+
-NodeFolders $nodeFolders `
117+
-ComputerName @(<computerName1>,<computerName2>)
118+
```
113119
114120
## Example scenarios
121+
115122
To troubleshoot Azure Local, run the following commands:
116123
117124
### For deployment issues
@@ -129,112 +136,113 @@ Get-AzsSupportEceUpdateDetails
129136
```
130137

131138
### For storage issues
139+
132140
```powershell
133141
Start-AzsSupportStorageDiagnostic
134142
```
135143

136-
For full guidance on troubleshooting storage related issues, refer to [Troubleshooting-Storage-With-Support-Diagnostics-Tool](https://github.com/Azure/AzureLocal-Supportability/blob/main/TSG/Storage/Troubleshooting-Storage-With-Support-Diagnostics-Tool.md).
144+
For complete guidance on troubleshooting storage related issues, refer to [Troubleshooting-Storage-With-Support-Diagnostics-Tool](https://github.com/Azure/AzureLocal-Supportability/blob/main/TSG/Storage/Troubleshooting-Storage-With-Support-Diagnostics-Tool.md).
137145

138146
### For registration issues
139147

140148
```powershell
141149
Invoke-AzsSupportDiagnosticCheck -Component Registration
142150
```
143151

144-
Here's an example of output for a registration issue:
145-
146-
```output
147-
PS C:\temp> Invoke-AzsSupportDiagnosticCheck -Component Registration
148-
Starting known issue check for Azure Stack HCI: Registration.
149-
Starting Azure Stack HCI base system validation.
150-
Gathering information from all clustered nodes.
151-
We are preparing to collect diagnostic information from your environment
152-
We started the diagnostic data collection! This might take some time.
153-
Finished collecting diagnostic information.
154-
====[ Validating registration state on node: HCI-N-1 ]====
155-
[Pass] [Azure Stack HCI - General registration state]
156-
Validate that the cluster is registered
157-
Details: Validation successfull
158-
159-
[Fail] [Azure Stack HCI - Azure Connection state]
160-
Validate that the cluster is in a connected state
161-
Details: This Azure Stack HCI node does not seem to be connected to azure. Ensure that this node is in a connected state.
162-
Documentation: https://learn.microsoft.com/azure-stack/hci/deploy/troubleshoot-hci-registration.
163-
164-
[Pass] [Azure Arc Agent - Connection state]
165-
Validate that the azure arc agent is connected
166-
Details: Validation successfull
167-
168-
[Pass] [Azure Arc Agent - Service state]
169-
Validate that all azure arc services are running
170-
Details: Validation successfull
171-
172-
[Pass] [Azure Arc Agent - Heartbeat state]
173-
Validate that the azure arc agent has sent out a heartbeat at least a day ago
174-
Details: Validation successfull
175-
176-
[Pass] [Azure Stack HCI - Arc Agent onboarded]
177-
Validate that all arc agent checks are passed
178-
Details: Validation successfull
179-
180-
[Fail] [Validation summary]
181-
182-
Details: At least one node reported an invalid registration state.
183-
184-
We will collect log information from your envirorment.
185-
Creating local storage container for diagnostic data.
186-
Gathering cluster data ... this might take a while.
187-
Cluster data collection complete.
188-
We are preparing to collect diagnostic information from your environment
189-
We started the diagnostic data collection! This might take some time.
190-
Waiting for all diagnostic output to be generated and compressed ... this might take a while.
191-
Finished collecting diagnostic information.
192-
Starting copy of items ... this might take a while.
193-
All items copied.
194-
Successfully created archive C:\temp\6c5a4685-6e32-4b68-aeec-05475f8d6c6f\log-collection-RegistrationInformation07-22_06-03-2024.zip. Removing raw data C:\temp\6c5a4685-6e32-4b68-aeec-05475f8d6c6f\container.
195-
Data collection done . Please upload the file to the Microsoft Workspace.
196-
```
152+
Here's a sample output for a registration issue:
153+
154+
```output
155+
PS C:\temp> Invoke-AzsSupportDiagnosticCheck -Component Registration
156+
Starting known issue check for Azure Stack HCI: Registration.
157+
Starting Azure Stack HCI base system validation.
158+
Gathering information from all clustered nodes.
159+
We are preparing to collect diagnostic information from your environment
160+
We started the diagnostic data collection! This might take some time.
161+
Finished collecting diagnostic information.
162+
====[ Validating registration state on node: HCI-N-1 ]====
163+
[Pass] [Azure Stack HCI - General registration state]
164+
Validate that the cluster is registered
165+
Details: Validation successfull
166+
167+
[Fail] [Azure Stack HCI - Azure Connection state]
168+
Validate that the cluster is in a connected state
169+
Details: This Azure Stack HCI node does not seem to be connected to azure. Ensure that this node is in a connected state.
170+
Documentation: https://learn.microsoft.com/azure-stack/hci/deploy/troubleshoot-hci-registration.
171+
172+
[Pass] [Azure Arc Agent - Connection state]
173+
Validate that the azure arc agent is connected
174+
Details: Validation successfull
175+
176+
[Pass] [Azure Arc Agent - Service state]
177+
Validate that all azure arc services are running
178+
Details: Validation successfull
179+
180+
[Pass] [Azure Arc Agent - Heartbeat state]
181+
Validate that the azure arc agent has sent out a heartbeat at least a day ago
182+
Details: Validation successfull
183+
184+
[Pass] [Azure Stack HCI - Arc Agent onboarded]
185+
Validate that all arc agent checks are passed
186+
Details: Validation successfull
187+
188+
[Fail] [Validation summary]
189+
190+
Details: At least one node reported an invalid registration state.
191+
192+
We will collect log information from your envirorment.
193+
Creating local storage container for diagnostic data.
194+
Gathering cluster data ... this might take a while.
195+
Cluster data collection complete.
196+
We are preparing to collect diagnostic information from your environment
197+
We started the diagnostic data collection! This might take some time.
198+
Waiting for all diagnostic output to be generated and compressed ... this might take a while.
199+
Finished collecting diagnostic information.
200+
Starting copy of items ... this might take a while.
201+
All items copied.
202+
Successfully created archive C:\temp\6c5a4685-6e32-4b68-aeec-05475f8d6c6f\log-collection-RegistrationInformation07-22_06-03-2024.zip. Removing raw data C:\temp\6c5a4685-6e32-4b68-aeec-05475f8d6c6f\container.
203+
Data collection done . Please upload the file to the Microsoft Workspace.
204+
```
197205

198206
### For base Azure Local system issues
199207

200208
```powershell
201209
Invoke-AzsSupportDiagnosticCheck -Component BaseSystem
202210
```
203211

204-
Here's an example of the output for base system issues:
205-
206-
```output
207-
PS C:\temp> Invoke-AzsSupportDiagnosticCheck -Component BaseSystem
208-
Starting known issue check for Azure Stack HCI: BaseSystem.
209-
Gathering information from all clustered nodes.
210-
We are preparing to collect diagnostic information from your environment
211-
We started the diagnostic data collection! This might take some time.
212-
Starting to validate cluster settings.
213-
[Pass] [Failover Clustering - Cluster validation report contains no errors]
214-
Validate that there are no critical errors in the cluster validation report
215-
Details: Validation successfull
216-
217-
[Pass] [Failover Clustering - Cluster Networks have redundancy]
218-
Validate that we have redundancy in clustered networks
219-
Details: Validation successfull
220-
221-
[Pass] [Failover Clustering - Validation Summary]
222-
Validate that there are no critical issues in our cluster validation report.
223-
Details: Validation successfull
224-
225-
Collecting node data.
226-
Finished collecting diagnostic information.
227-
====[ Validating data from node: HCI-N-1 ]====
228-
[Pass] [Windows Features - All windows features installed]
229-
Verify that all features required for Azure Local are installed.
230-
Details: Validation successfull
231-
232-
[Pass] [Validation summary]
233-
Ensure that no other check has returned a failed state
234-
Details: Validation successfull
212+
Here's a sample output for base system issues:
213+
214+
```output
215+
PS C:\temp> Invoke-AzsSupportDiagnosticCheck -Component BaseSystem
216+
Starting known issue check for Azure Stack HCI: BaseSystem.
217+
Gathering information from all clustered nodes.
218+
We are preparing to collect diagnostic information from your environment
219+
We started the diagnostic data collection! This might take some time.
220+
Starting to validate cluster settings.
221+
[Pass] [Failover Clustering - Cluster validation report contains no errors]
222+
Validate that there are no critical errors in the cluster validation report
223+
Details: Validation successfull
224+
225+
[Pass] [Failover Clustering - Cluster Networks have redundancy]
226+
Validate that we have redundancy in clustered networks
227+
Details: Validation successfull
228+
229+
[Pass] [Failover Clustering - Validation Summary]
230+
Validate that there are no critical issues in our cluster validation report.
231+
Details: Validation successfull
232+
233+
Collecting node data.
234+
Finished collecting diagnostic information.
235+
====[ Validating data from node: HCI-N-1 ]====
236+
[Pass] [Windows Features - All windows features installed]
237+
Verify that all features required for Azure Local are installed.
238+
Details: Validation successfull
239+
240+
[Pass] [Validation summary]
241+
Ensure that no other check has returned a failed state
242+
Details: Validation successfull
235243
```
236244
237-
Afterwards, a comprehensive overview of the different components that are required for properly connected Azure Local systems is created. Based on this overview, you can either follow troubleshooting guidance or reach out to Microsoft Support for assistance.
245+
Afterwards, a comprehensive overview of the different components that are required for properly connected Azure Local systems is created. Based on this overview, you can either follow troubleshooting guidance or reach out to Microsoft Support for assistance.
238246
239247
To collect data, refer to the following two example scenarios:
240248
@@ -266,7 +274,7 @@ New-AzsSupportDataBundle -ClusterCommands $clusterCommands `
266274
Data collection done C:\temp\Azs.Support\XXXXXXX\SupportDataBundle-XX-XX_XX-XX-XXXX.zip . Please upload the file to the Microsoft Workspace.
267275
```
268276

269-
## Questions or Feedback?
277+
## Questions or feedback?
270278

271279
Do you have an issue? Would you like to share feedback with us about the Azure Local Support Diagnostic Tool?
272280
We Listen! To submit feedback, contact [[email protected]](mailto:[email protected]).

0 commit comments

Comments
 (0)