Skip to content

Commit 55df2ed

Browse files
committed
Updated with comments and suggestions from Alpa.
1 parent b7d5568 commit 55df2ed

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed

azure-stack/hci/manage/troubleshoot-arc-enabled-vms-using collected-files.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: Troubleshoot Azure Arc VM using collected files
2+
title: Collect log files for Azure Arc VM on Azure Stack HCI
33
description: Learn how to troubleshoot an Azure Arc VM using collected files.
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 07/22/2024
6+
ms.date: 07/23/2024
77
ms.author: alkohli
88
ms.reviewer: vlakshmanan
99
---
1010

11-
# Troubleshoot an Azure Arc VM using collected files
11+
# Collect log files for Azure Arc VM on your Azure Stack HCI system.
1212

1313
[!INCLUDE [hci-applies-to-23h2](../../includes/hci-applies-to-23h2.md)]
1414

azure-stack/hci/manage/troubleshoot-arc-enabled-vms.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Azure Arc VM management
33
description: Learn how to troubleshoot Azure Arc VM management
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 07/10/2024
6+
ms.date: 07/23/2024
77
ms.author: alkohli
88
ms.reviewer: vlakshmanan
99
---
@@ -14,34 +14,6 @@ ms.reviewer: vlakshmanan
1414

1515
This article provides guidance on how to collect logs and troubleshoot issues with Azure Arc virtual machines (VMs) in your Azure Stack HCI cluster. It also lists the limitations and known issues that currently exist with Azure Arc VM management.
1616

17-
## Collect logs
18-
19-
You can collect logs to identify and troubleshoot issues with Arc VMs in your Azure Stack HCI system. Use these logs to gather key information before you contact Microsoft support for additional help.
20-
21-
Make sure you have the latest PowerShell module for log collection. To update the PowerShell module, run the following command:
22-
23-
```PowerShell
24-
#Update the PowerShell module
25-
Install-Module -Name ArcHci -Force -Confirm:$false -SkipPublisherCheck -AcceptLicense
26-
```
27-
28-
To collect logs for Arc VMs in your Azure Stack HCI cluster, run the following command:
29-
30-
```PowerShell
31-
$csv_path="<input-from-admin>"
32-
$VMIP_1="<input-from-admin>"
33-
az login --use-device-code
34-
Get-ArcHCILogs -workDirectory $csv_path\ResourceBridge -kvaTokenPath $csv_path\ResourceBridge\kvatoken.tok -ip $VMIP_1
35-
```
36-
37-
Where:
38-
39-
- **$csv_path** is the full path of the cluster shared volume provided for creating Arc Resource Bridge.
40-
41-
- **$VMIP_1** is the IP address of the Arc Resource Bridge VM.
42-
43-
- Optionally, set the `-logDir` parameter to specify the path to the directory where the generated logs are stored. If you don't specify the path or the parameter, by default the logs are stored in your current working directory.
44-
4517
## Troubleshoot Azure Arc VMs
4618

4719
This section describes the errors related to Azure Arc VM management and their recommended resolutions.

0 commit comments

Comments
 (0)