Skip to content

Commit b7d5568

Browse files
committed
Revised for readability.
1 parent f0cd791 commit b7d5568

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Azure Arc VM using collected files
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/19/2024
6+
ms.date: 07/22/2024
77
ms.author: alkohli
88
ms.reviewer: vlakshmanan
99
---
@@ -14,27 +14,23 @@ ms.reviewer: vlakshmanan
1414

1515
You can collect logs and other files to identify and troubleshoot issues with Arc virtual machines (VMs) in your Azure Stack HCI system.
1616

17-
## Collect files
17+
## Collect files when VM provisioning fails
1818

19-
Use these files to gather key information before you contact Microsoft Support for more help.
20-
21-
## Collect logs when VM provisioning fails
22-
23-
Examine the following log files to investigate a VM provisioning failure.
19+
Use these files to gather key information about a VM provisioning failure before you contact Microsoft Support for more help.
2420

2521
### Windows VMs
2622

2723
The Windows Panther folder contains Windows setup, installation, and upgrade log files. This folder also includes logs for all scripts used to customize the VM.
2824

2925
| File | Directory | Description |
3026
|-------------------|-----------------|-------------|
31-
| sudo journalctl -u mocguestagent.service | C:\ProgramData\mocguestagent\log\mocguestagent.log | Critical logs |
32-
| /opt/mocguestagent/log/agent-log-0 | C:\ProgramData\mocguestagent\log\agent-log-0 | Operational logs |
27+
| sudo journalctl -u mocguestagent.service mocguestagent.log | C:\ProgramData\mocguestagent\log\ | Critical logs |
28+
| agent-log-0 | C:\ProgramData\mocguestagent\log\ | Operational logs |
3329
| SetupAct.log | C:\Windows\panther | Contains information about setup actions during the installation. |
3430
| SetupErr.log | C:\Windows\panther | Contains information about setup errors during the installation. |
35-
| etupComplete.log | C:\Windows\panther | Contains custom scripts that run during or after the Windows Setup process. For HCI, includes enabling WinRM, enabling ssh, and installing Microsoft On-premises Cloud (MOC) guest agent. |
31+
| SetupComplete.log | C:\Windows\panther | Contains custom scripts that run during or after the Windows Setup process. For HCI, includes enabling WinRM, enabling ssh, and installing Microsoft On-premises Cloud (MOC) guest agent. |
3632
| Script files | C:\Windows\Setup\Scripts | Scripts from ISO |
37-
| Log files | C:\Windows\System32\winevt\Logs\System.evtx. | Windows event logs |
33+
| System.evtx | C:\Windows\System32\winevt\Logs\ | Windows event logs |
3834

3935
### Linux VMs
4036

@@ -52,10 +48,12 @@ Collect guest logs to gather information on Arc VM issues before you contact Mic
5248

5349
### Logs inside the VM
5450

51+
Windows VM domain join and extension logs:
52+
5553
| File | Directory | Description |
5654
|-------------------|-----------------|-------------|
57-
| netsetup.log | C:\Windows\Debug\ | Netlogon logs are used for domain join failure. If you don't see a domain join error, this log is optional. |
58-
| | C:\ProgramData\GuestConfig\extension_logs | Extension logs |
55+
| Netsetup.log | C:\Windows\Debug\ | Netlogon logs are used for domain join failure. If you don't see a domain join error, this log is optional. |
56+
| Extension logs | C:\ProgramData\GuestConfig\extension_logs | Extension logs |
5957

6058
For more information, see [Active Directory domain join troubleshooting guidance](/troubleshoot/windows-server/active-directory/active-directory-domain-join-troubleshooting-guidance).
6159

@@ -69,16 +67,18 @@ Example error:
6967

7068
`{"code":"moc-operator virtualmachine serviceClient returned an error while reconciling: rpc error: code = Unknown desc = Could not establish HyperV connection for VM ID [E5BF0FC3-DB6D-40AA-BB46-DD94E4E0719A] within [900] seconds, error: [<nil>]","message":"moc-operator virtualmachine serviceClient returned an error while reconciling: rpc error: code = Unknown desc = Could not establish HyperV connection for VM ID [E5BF0FC3-DB6D-40AA-BB46-DD94E4E0719A] within [900] seconds, error: [<nil>]","additionalInfo":[{"type":"ErrorInfo","info":{"category":"Uncategorized","recommendedAction":"","troubleshootingURL":""}}]}`
7169

72-
Examine these MOC guest agent log files:
70+
#### Windows VMs
7371

74-
**Windows VMs**
72+
Examine these MOC guest agent log files:
7573

7674
| File | Directory | Description |
7775
|-------------------|-----------------|-------------|
7876
| mocguestagent.log | C:\ProgramData\mocguestagent\log\ | Critical logs |
7977
| agent-log-0 | C:\ProgramData\mocguestagent\log\ | Operational logs |
8078

81-
**Linux VMs**
79+
#### Linux VMs
80+
81+
Examine these MOC guest agent log files:
8282

8383
| File | Directory | Description |
8484
|-------------------|-----------------|-------------|

0 commit comments

Comments
 (0)