启动诊断是 Azure 虚拟机 (VM) 的一项调试功能,可用于诊断 VM 启动故障。 启动诊断使用户能够通过收集串行日志信息和屏幕截图来观察其 VM 在启动时的状态。启动诊断存储帐户在Azure 门户中创建 VM 时,默认情况下会启用“启动诊断”。 建议的启动诊断体验是使用托管存储帐户,因为它可以在创建 Azure VM 时显著提高...
Set-AzureRmVMBootDiagnosticsCmdlet 會修改虛擬機的開機診斷屬性。 範例 範例1:啟用開機診斷 PowerShell PS C:\>$VM=Get-AzureRmVM-ResourceGroupName"ResourceGroup11"-Name"ContosoVM07"PS C:\>Set-AzureRmVMBootDiagnostics-VM$VM-Enable-ResourceGroupName"ResourceGroup11"-StorageAccountName"DiagnosticStorage"...
诊断 /Windows/System32/winevt/Logs/Microsoft-WindowsAzure-Diagnostics%4Bootstrapper.evtx 诊断 /Windows/System32/winevt/Logs/Microsoft-WindowsAzure-Status%4GuestAgent.evtx 诊断 /Windows/System32/winevt/Logs/Microsoft-WindowsAzure-Status%4Plugins.evtx 诊断 /Windows/System32/winevt/Logs/...
VM 意外重启或停止 磁盘管理 Azure 磁盘加密 VM 扩展无法正常运行 无法激活 Windows VM 遇到分配失败 VM 计划内维护 VM 部署失败 无法创建 VM 按需容量预留问题 Azure 磁盘加密 (ADE) 自定义脚本扩展 (CSE) Azure 运行命令 VM 工具的远程故障排除 VM 检查器 ...
You can also update an existing V2 Virtual Machine through the Portal to enable boot diagnostics through the Portal. Select the Boot Diagnostics option and Save. Restart the VM to take effect. Support Both of these features are supported for Azure Virtual Machines v2 in all regions. Note, scre...
You can also update an existing V2 Virtual Machine through the Portal to enable boot diagnostics through the Portal. Select the Boot Diagnostics option and Save. Restart the VM to take effect. Support Both of these features are supported for Azure Virtual Machines v2 in all regions. Note, scre...
Retrieve Boot Diagnostics Data The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. Run Command Run command on the VM. Simulate Eviction The operation to simulate the eviction of spot virtual machine. Start The operation to start a virtual machine. ...
Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnosticsInstanceView Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables ...
For an existing VM, open the VM properties, selectDiagnostics settings, set the Status toOn, and checkBoot diagnostics. Note that you may need to select a Diagnostics storage account in the same location as the VM. For additional information, refer toMicrosoft Azure Boot Diagnostics. ...
现在,请使用az vm start命令启动 VM,如下所示: Azure CLI复制 azvmstart--resource-groupmyResourceGroupMonitor--namemyVM 可以使用az vm boot-diagnostics get-boot-log命令获取myVM的启动诊断数据,如下所示: Azure CLI复制 azvmboot-diagnostics get-boot-log--resource-groupmyResourceGroupMonitor--namemyVM ...