Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2.03 KB

azure-stack-edge-gpu-collect-virtual-machine-guest-logs.md

File metadata and controls

51 lines (35 loc) · 2.03 KB
title description services author ms.service ms.subservice ms.topic ms.date ms.author
Collect VM guest logs on Azure Stack Edge Pro GPU
Describes how to create a Support package with guest logs for VMs on an Azure Stack Edge Pro GPU device.
databox
v-dalc
databox
edge
how-to
07/30/2021
alkohli

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

[!INCLUDE applies-to-GPU-and-pro-r-and-mini-r-skus]

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