Skip to content

Commit f0cd791

Browse files
committed
Revised tables.
1 parent 7935a79 commit f0cd791

File tree

1 file changed

+30
-24
lines changed

1 file changed

+30
-24
lines changed

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

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,37 +28,34 @@ The Windows Panther folder contains Windows setup, installation, and upgrade log
2828

2929
| File | Directory | Description |
3030
|-------------------|-----------------|-------------|
31-
| Critical logs | C:\ProgramData\mocguestagent\log\mocguestagent.log | sudo journalctl -u mocguestagent.service |
32-
| Operational logs | C:\ProgramData\mocguestagent\log\agent-log-0 | /opt/mocguestagent/log/agent-log-0 |
33-
34-
Logs can be found at following location: C:\Windows\panther.
35-
36-
- **SetupAct.log** - Contains information about setup actions during the installation.
37-
- **SetupErr.log** - Contains information about setup errors during the installation.
38-
- **SetupComplete.log** - Setupcomplete.cmd is custom scripts that run during or after the Windows Setup process. Logs from this execution go to setupComplete logs. SetupComplete.cmd for HCI includes enabling WinRM, enabling ssh, and installing Microsoft On-premises Cloud (MOC) guest agent.
39-
40-
1. Look in folder C:\Windows\Setup\Scripts to make sure scripts from ISO are copied there.
41-
42-
1. Collect Windows event logs from C:\Windows\System32\winevt\Logs\System.evtx.
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 |
33+
| SetupAct.log | C:\Windows\panther | Contains information about setup actions during the installation. |
34+
| 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. |
36+
| Script files | C:\Windows\Setup\Scripts | Scripts from ISO |
37+
| Log files | C:\Windows\System32\winevt\Logs\System.evtx. | Windows event logs |
4338

4439
### Linux VMs
4540

4641
Examine these log files to investigate a VM provisioning failure:
4742

48-
- **/var/log/cloud-init-output.log** - Captures the output from each stage of cloud-init when it runs.
49-
- **/var/log/cloud-init.log** – A detailed log with debugging output, detailing each action taken.
50-
- **/run/cloud-init** - Contains logs about how cloud-init decided to enable or disable itself, and what platforms/datasources were detected. These logs are most useful when trying to determine what cloud-init ran or didn't run.
43+
| File | Directory | Description |
44+
|-------------------|-----------------|-------------|
45+
| cloud-init-output.log | /var/log/ | Captures the output from each stage of cloud-init when it runs. |
46+
| cloud-init.log | /var/log/ | A detailed log with debugging output, detailing each action taken. |
47+
| | /run/cloud-init | Contains logs about how cloud-init decided to enable or disable itself, and what platforms/datasources were detected. These logs are most useful when trying to determine what cloud-init ran or didn't run. |
5148

5249
## Collect guest logs
5350

5451
Collect guest logs to gather information on Arc VM issues before you contact Microsoft Support.
5552

5653
### Logs inside the VM
5754

58-
- Netlogon: C:\Windows\Debug\netsetup.log <br>
59-
Netlogon logs are used for domain join failure. If you don't see a domain join error, this log is optional.
60-
61-
- Extension logs: C:\ProgramData\GuestConfig\extension_logs
55+
| File | Directory | Description |
56+
|-------------------|-----------------|-------------|
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 |
6259

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

@@ -72,12 +69,21 @@ Example error:
7269

7370
`{"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":""}}]}`
7471

75-
Examine these guest agent log files:
72+
Examine these MOC guest agent log files:
73+
74+
**Windows VMs**
75+
76+
| File | Directory | Description |
77+
|-------------------|-----------------|-------------|
78+
| mocguestagent.log | C:\ProgramData\mocguestagent\log\ | Critical logs |
79+
| agent-log-0 | C:\ProgramData\mocguestagent\log\ | Operational logs |
80+
81+
**Linux VMs**
7682

77-
| Log type | Windows | Linux |
78-
|-------------------|---------|-------|
79-
| Critical logs | C:\ProgramData\mocguestagent\log\mocguestagent.log | sudo journalctl -u mocguestagent.service |
80-
| Operational logs | C:\ProgramData\mocguestagent\log\agent-log-0 | /opt/mocguestagent/log/agent-log-0 |
83+
| File | Directory | Description |
84+
|-------------------|-----------------|-------------|
85+
| mocguestagent.service | sudo journalctl -u | Critical logs |
86+
| agent-log-0 | /opt/mocguestagent/log/ | Operational logs |
8187

8288
## Next steps
8389

0 commit comments

Comments
 (0)