Skip to content

Commit 80542cb

Browse files
Merge pull request #16266 from LouisBerner/v-loberner-ado-322688-update-support-tool-version-23h2
Updated content for Azure Local support tool.
2 parents df21ae8 + a12f0f5 commit 80542cb

File tree

1 file changed

+88
-35
lines changed

1 file changed

+88
-35
lines changed

azure-stack/hci/manage/support-tools.md

Lines changed: 88 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,97 @@
11
---
2-
title: Support tool for Azure Stack HCI (22H2)
3-
description: This article provides guidance on the Azure Stack HCI Support Diagnostic Tool for Azure Stack HCI, version 22H2.
2+
title: Support tool for Azure Local instance running version 22H2
3+
description: This article provides guidance on the Support Diagnostic Tool for Azure Local.
44
author: alkohli
55
ms.author: alkohli
66
ms.topic: how-to
7-
ms.date: 03/06/2024
7+
ms.date: 11/08/2024
88
---
99

10-
# Use the Azure Stack HCI Support Diagnostic tool to troubleshoot issues
11-
12-
[!INCLUDE [applies-to](../../hci/includes/hci-applies-to-22h2.md)]
13-
14-
This article provides information on the Azure Stack HCI Support Diagnostic Tool that helps you troubleshoot and diagnose complex issues on your Azure Stack HCI. The tool consists of a set of PowerShell commands that simplify data collection, troubleshooting, and resolution of common issues in Azure Stack HCI.
15-
16-
> [!NOTE]
17-
> This tool is currently only available for Azure Stack HCI, version 22H2.
18-
19-
This tool is designed to simplify the support and troubleshooting process and isn't a substitute for expert knowledge. If you encounter any issues, we recommend that you reach out to Microsoft Support for assistance.
10+
# Use the Support Diagnostic Tool to troubleshoot Azure Local issues
2011

12+
This article provides information to download and use the Azure Local Support Diagnostic Tool. The tool is a set of PowerShell commands to simplify data collection, troubleshooting, and resolution of common issues.
2113

14+
This tool isn't a substitute for expert knowledge. If you encounter any issues, contact Microsoft Support for assistance.
2215

2316
## Benefits
2417

25-
The Azure Stack HCI Support Diagnostic Tool simplifies the support and troubleshooting process by providing simple commands that don't require any knowledge of the underlying product. This means that you can quickly get a first glance at what might be causing an issue, without needing to be an expert on the product.
18+
The Azure Local Support Diagnostic Tool uses simple commands to identify issues without expert product knowledge.
2619

27-
The tool currently offers the following features:
20+
The tool provides:
2821

29-
- **Easy installation and updates**: Can be installed and updated natively using PowerShell Gallery, without any extra requirements.
22+
- **Easy installation and updates**: Install and update natively using PowerShell Gallery, without extra requirements.
3023

31-
- **Diagnostic checks**: Offers diagnostic checks based on common issues, incidents, and telemetry data.
24+
- **Diagnostic checks**: Provides diagnostic checks based on common issues, incidents, and telemetry data.
3225

33-
- **Automatic data collection**: Automatically collects important data in case you want to reach out to Microsoft Customer Support.
26+
- **Automatic data collection**: Automatically collects important data to provide to Microsoft Support.
3427

35-
- **Regular updates**: Is regularly updated with new checks and useful commands to manage, troubleshoot, and diagnose issues on Azure Stack HCI.
28+
- **Regular updates**: Updates with new checks and useful commands to manage, troubleshoot, and diagnose issues on Azure Local.
3629

3730
## Prerequisites
3831

39-
The following prerequisites must be completed to ensure the PowerShell module runs properly:
32+
Before you use the PowerShell module, make sure to:
33+
34+
- Download the Azure Local Support Diagnostic Tool from the [PowerShell Gallery](https://www.powershellgallery.com/packages?q=hci).
4035

41-
- Download the Azure Stack HCI Support Diagnostic tool from the [PowerShell Gallery](https://www.powershellgallery.com/packages?q=hci).
36+
- Import the module into an elevated PowerShell window using an account with administrator privileges on the local system.
4237

43-
- Import the module into an elevated PowerShell window by an account with administrator privileges on the local system.
38+
- Install the module on each node of the Azure Local system.
4439

45-
- Install the module on each node of the Azure Stack HCI system.
40+
## Install and use the Azure Local Support Diagnostic Tool
4641

47-
## Install and use the tool
42+
Run PowerShell as an administrator and then run the following commands:
4843

49-
To install the tool, run the following command in PowerShell:
44+
To install the tool, run the following command:
5045

5146
```powershell
5247
Install-Module –Name Microsoft.AzureStack.HCI.CSSTools
5348
```
5449

55-
To list all diagnostic checks that are available, run the following command:
50+
To list all available diagnostic checks, run the following command:
5651

5752
```powershell
5853
Invoke-AzsSupportDiagnosticCheck –ProductName <BaseSystem, Registration>
5954
```
6055

61-
You can check all diagnostic checks by pressing `CTRL+SPACE` after the parameter `ProductName`.
56+
Run all diagnostic checks by pressing `CTRL+SPACE` after the parameter `ProductName`.
6257

63-
## Example scenario
58+
To collect data using one of our pre-defined collection sets, run the following command:
59+
60+
```powershell
61+
New-AzsSupportDataBundle –Component <Component>
62+
```
63+
64+
To check all data collection sets, press `CTRL+SPACE` after the parameter `Component`.
65+
66+
To collect your own dataset, run the following command:
67+
68+
```powershell
69+
$ClusterCommands = @(<clusterCommand1>,<clusterCommand2>)
70+
$nodeCommands = @(<nodeCommand1>,<nodeCommand2>)
71+
$nodeEvents = @(<eventLogName1>,<eventLogName2>)
72+
$nodeRegistry = @(<registryPath1>,<registryPath2>)
73+
$nodeFolders = @(<folderPath1>,<folderPath2>)
74+
75+
76+
New-AzsSupportDataBundle -ClusterCommands $clusterCommands `
77+
-NodeCommands $nodeCommands `
78+
-NodeEvents $nodeEvents `
79+
-NodeRegistry $nodeRegistry `
80+
-NodeFolders $nodeFolders `
81+
-ComputerName @(<computerName1>,<computerName2>)
82+
```
6483

65-
To troubleshoot Azure Stack HCI core products, for example, you can run the following cmdlet:
84+
## Example scenario
6685

86+
To troubleshoot Azure Local, run the following command:
6787

6888
#### For registration issues
6989

7090
```powershell
7191
Invoke-AzsSupportDiagnosticCheck -ProductName Registration
7292
```
7393

74-
Here's an example of the output for registration issue:
94+
Here's an example of output for a registration issue:
7595

7696
```output
7797
PS C:\temp> Invoke-AzsSupportDiagnosticCheck -ProductName Registration
@@ -89,7 +109,7 @@ Details: Validation successfull
89109
[Fail] [Azure Stack HCI - Azure Connection state]
90110
Validate that the cluster is in a connected state
91111
Details: This Azure Stack HCI node does not seem to be connected to azure. Ensure that this node is in a connected state.
92-
Documentation: https://learn.microsoft.com/en-us/azure-stack/hci/deploy/troubleshoot-hci-registration
112+
Documentation: https://learn.microsoft.com/en-us/azure-stack/hci/deploy/troubleshoot-hci-registration.
93113
94114
[Pass] [Azure Arc Agent - Connection state]
95115
Validate that the azure arc agent is connected
@@ -125,11 +145,12 @@ Successfully created archive C:\temp\6c5a4685-6e32-4b68-aeec-05475f8d6c6f\log-co
125145
Data collection done . Please upload the file to the Microsoft Workspace.
126146
```
127147

128-
#### For base Azure Stack HCI system issues
148+
#### For base Azure Local system issues
129149

130150
```powershell
131151
Invoke-AzsSupportDiagnosticCheck -ProductName BaseSystem
132152
```
153+
133154
Here's an example of the output for base system issues:
134155

135156
```output
@@ -155,21 +176,53 @@ Collecting node data.
155176
Finished collecting diagnostic information.
156177
====[ Validating data from node: HCI-N-1 ]====
157178
[Pass] [Windows Features - All windows features installed]
158-
Verify that all features required for Azure Stack HCI are installed.
179+
Verify that all features required for Azure Local are installed.
159180
Details: Validation successfull
160181
161182
[Pass] [Validation summary]
162183
Ensure that no other check has returned a failed state
163184
Details: Validation successfull
164185
```
165186

166-
Afterwards, a comprehensive overview of the different components that are required for properly connected Azure Stack HCI systems is created. Based on this overview, you can either follow the troubleshooting guidance or reach out to Microsoft Support for further assistance.
187+
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.
188+
189+
To collect data, refer to the following two example scenarios:
190+
191+
#### For automatic data collection
192+
193+
```powershell
194+
New-AzsSupportDataBundle -Component OS
195+
==== CUT ==================== CUT =======
196+
Data collection done C:\temp\Azs.Support\XXXXXXX\SupportDataBundle-XX-XX_XX-XX-XXXX.zip . Please upload the file to the Microsoft Workspace
197+
```
198+
199+
#### For manual data collection
167200

201+
```powershell
202+
$ClusterCommands = @()
203+
$nodeCommands = @('Get-AzureStackHci','Get-AzureStackHCIArcIntegration','Get-ClusteredScheduledTask | fl *','systeminfo.exe')
204+
$nodeEvents = @('system','application','Microsoft-AzureStack-HCI/Admin')
205+
$nodeRegistry = @('HKLM:\Cluster\ArcForServers')
206+
$nodeFolders = @('C:\Windows\Tasks\ArcforServers\','C:\ProgramData\AzureConnectedMachineAgent\Log\')
207+
208+
New-AzsSupportDataBundle -ClusterCommands $clusterCommands `
209+
-NodeCommands $nodeCommands `
210+
-NodeEvents $nodeEvents `
211+
-NodeRegistry $nodeRegistry `
212+
-NodeFolders $nodeFolders `
213+
-ComputerName (Get-ClusterNode)
214+
215+
==== CUT ==================== CUT =======
216+
Data collection done C:\temp\Azs.Support\XXXXXXX\SupportDataBundle-XX-XX_XX-XX-XXXX.zip . Please upload the file to the Microsoft Workspace.
217+
```
168218

219+
## Questions or Feedback?
169220

221+
Do you have an issue? Would like to share feedback with us about the Azure Local Support Diagnostic Tool?
222+
We Listen! To submit feedback, use "contact owners" option inside PSGallery.
170223

171224
## Next steps
172225

173226
For related information, see also:
174227

175-
- [Get support for Azure Stack HCI](get-support.md).
228+
- [Get support for Azure Local](get-support.md).

0 commit comments

Comments
 (0)