Breyta

Deila með


Collect VM guest logs on an Azure Stack Edge Pro GPU device

APPLIES TO: Yes for Pro GPU SKUAzure Stack Edge Pro - GPUYes for Pro 2 SKUAzure Stack Edge Pro 2Yes for Pro R SKUAzure Stack Edge Pro RYes for Mini R SKUAzure 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:

  1. Connect to the PowerShell interface of your device.

  2. 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.

  3. 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

Next steps