Collect VM guest logs on an Azure Stack Edge Pro GPU device
APPLIES TO: Azure Stack Edge Pro - GPUAzure Stack Edge Pro 2Azure Stack Edge Pro RAzure Stack Edge Mini R
To diagnose any VM provisioning failure on your Azure Stack Edge Pro GPU device, you'll review guest logs for the failed virtual machine. This article describes how to the collect guest logs for the VMs in a Support package.
Note
You can also monitor activity logs for virtual machines in the Azure portal. For more information, see Monitor VM activity on your device.
Collect VM guest logs in Support package
To collect guest logs for failed virtual machines on an Azure Stack Edge Pro GPU device, do these steps:
Collect in-guest logs for failed VMs, and include these logs in a support package, by running the following commands:
Get-VMInGuestLogs -FailedVM Get-HcsNodeSupportPackage -Path “\\<network path>” -Include InGuestVMLogFiles -Credential “domain_name\user”
You'll find the logs in the
hcslogs\VmGuestLogs
folder.To get VM provisioning history details, review the following logs:
Linux VMs:
- /var/log/cloud-init-output.log
- /var/log/cloud-init.log
- /var/log/waagent.log
Windows VMs:
- C:\Windows\Azure\Panther\WaSetup.xml