安装 Azure Stack Hub 更新Install Azure Stack Hub Updates

可以使用 Azure Stack Hub 管理员门户中的“更新”边栏选项卡安装更新包。You can install update packages using the Update blade in the Azure Stack Hub administrator portal. 本文介绍更新、监视和排除更新过程故障的步骤。This article describes the steps to update, monitor, and troubleshoot the update process. 使用“更新”边栏选项卡查看更新信息、安装更新、监视更新进度、查看更新历史记录以及查看当前 Azure Stack Hub 和 OEM 包版本。Use the Update blade to view update info, install updates, monitor update progress, review update history, and view the current Azure Stack Hub and OEM package version.

可以从管理员门户管理更新,并使用仪表板的“更新” 部分执行以下操作:You can manage updates from the administrator portal and use the Updates section of the dashboard to:

  • 查看重要信息,例如当前版本。View important info, such as the current version.
  • 安装更新并监视进度。Install updates and monitor progress.
  • 查看以前安装的更新的更新历史记录。Review update history for previously installed updates.
  • 查看云的当前 OEM 包版本。View the cloud's current OEM package version.

确定当前版本Determine the current version

可以在“更新”边栏选项卡中查看 Azure Stack Hub 的当前版本。 You can view the current version of Azure Stack Hub in the Updates blade. 若要打开,请执行以下操作:To open:

  1. 打开 Azure Stack Hub 管理员门户。Open the Azure Stack Hub administrator portal.

  2. 选择“仪表板”。 Select Dashboard. 在“更新”边栏选项卡中会列出当前版本。 In the Updates blade, the current version is listed. 例如,此图像中的版本是 1.1903.0.35:For example, in this image the version is 1.1903.0.35:

    默认仪表板上的“更新”磁贴

安装更新并监视进度Install updates and monitor progress

重要

在 Azure Stack Hub 中应用更新之前,请确保已完成更新前清单中的所有步骤,并为要应用的更新类型计划了相应的维护时段。Before applying updates in Azure Stack Hub, ensure you have completed all steps in the pre-update checklist and have scheduled an appropriate maintenance window for the update type that you are applying.

  1. 打开 Azure Stack Hub 管理员门户。Open the Azure Stack Hub administrator portal.

  2. 选择“仪表板”。 Select Dashboard. 选择“更新” 。Select Update.

  3. 选择要安装的可用更新。Select the available update that you wish to install. 如果没有标记为“可用”的更新,请准备更新包If you don't have an update marked as Available, prepare the update package.

  4. 选择“立即更新”。 Select Update now.

    此屏幕截图显示了如何在 Azure Stack Hub 中启动更新。

  5. 可以查看当更新进程循环访问 Azure Stack Hub 中的各个子系统时的概要状态。You can view high-level status as the update process iterates through various subsystems in Azure Stack Hub. 示例子系统包括物理主机、Service Fabric、基础结构虚拟机,以及提供管理员用户和用户门户的服务。Example subsystems include physical hosts, Service Fabric, infrastructure virtual machines, and services that provide both the admin and user portals. 在整个更新过程中,“更新”资源提供程序会报告有关更新的其他详细信息,例如成功的步骤数,以及正在进行的步骤数。Throughout the update process, the update resource provider reports additional details about the update, such as the number of steps that have succeeded, and the number in progress.

  6. 从“更新运行详细信息”边栏选项卡中选择“下载摘要”以下载完整日志。Select the Download summary from the update run details blade to download full logs.

    如果在监视更新时遇到问题,可以使用特权终结点来监视 Azure Stack Hub 更新运行的进度。If you experience an issue while monitoring the update, you can use the privileged endpoint to monitor the progress of an Azure Stack Hub update run. 也可以使用特权终结点在 Azure Stack Hub 门户不可用时,从最后一个成功的步骤恢复失败的更新运行。You can also use the privileged endpoint to resume a failed update run from the last successful step if the Azure Stack Hub portal becomes unavailable. 有关说明,请参阅使用 PowerShell 在 Azure Stack Hub 中监视更新For instructions, see Monitor updates in Azure Stack Hub using PowerShell.

    Azure Stack Hub 更新运行详细信息

  7. 完成后,“更新”资源提供程序会显示“成功”确认,显示更新过程已完成,以及更新所花费的时间。When complete, the update resource provider displays a Succeeded confirmation to show that the update process has finished, and how long it took. 在此处,可以使用筛选器查看有关所有更新、可用更新或已安装更新的信息。From there, you can view info on all updates, available updates, or installed updates using the filter.

    azure-stack-update-apply

    如果更新失败,“更新”边栏选项卡会报告“需要注意”。 If the update fails, the Update blade reports Needs attention. 使用“下载完整日志”选项来获取更新失败的位置的概要状态。 Use the Download full logs option to get a high-level status of where the update failed. Azure Stack Hub 日志收集有助于诊断和故障排除。Azure Stack Hub log collection helps with diagnostics and troubleshooting.

查看更新历史记录Review update history

  1. 打开管理员门户。Open the administrator portal.

  2. 选择“仪表板”。 Select Dashboard. 选择“更新” 。Select Update.

  3. 选择“更新历史记录”。 Select Update history.

    Azure Stack Hub 更新历史记录

后续步骤Next steps