导入和发现具有有限连接的更新包

Important

Azure Stack HCI 现在是 Azure Local 的一部分。 了解详细信息

本文解释了如何在与 Azure 具有有限带宽连接的站点中发现和导入 Azure Local 部署的解决方案更新包。 从版本 2503 开始,可以将 Azure 本地解决方案更新下载为静态有效负载。 下载一次有效负载,将其复制或传输到多个实例,并使用 PowerShell 导入它。 在开始更新之前执行这些作,以减少更新期间下载的数据量。

解决方案更新的静态有效负载包括 OS 安全更新、扩展和核心代理,这些代理在更新过程中安装。 更新过程会自动下载 Azure Resource Bridge 组件和 Azure 本地 Azure Kubernetes 服务所需的更新容器映像。 静态有效负载中不包含这些映像。

Prerequisites

解决方案更新捆绑包

CombinedSolutionBundle 是一个 zip 文件,其中包含 Azure Stack HCI OS、核心代理和服务以及解决方案扩展的更新包。 CombinedSolutionBundle 被命名为CombinedSolutionBundle.<build number>.zip,其中<build number>是发布的构建版本号。 使用 SHA256 哈希检查下载的完整性。

下表列出了 Azure Local 的现有部署的 CombinedSolutionBundle 版本和关联的 SHA256 哈希。

  • 对于 25398.xxxx 版本,请使用 CombinedSolutionBundle 更新 Azure Local 的 OS 和解决方案组件。
  • 对于 26100.xxxx 版本,请使用 CombinedSolutionBundle 安装特定的 Azure 本地版本。

有关发布节奏的详细信息,请参阅 Azure 本地版本信息

操作系统内部版本 下载 URI SHA256
25398.1849 11.2509.1001.21

可用性日期:

2025-09-22
D78D0B687E1AB9BE3C7EC0568CFEF2D346CDD421AB00DFE2A484060F0BAE52BF
25398.1791 11.2508.1001.51

可用性日期:

2025-08-29
DF8578E95D2A0ACBA91AA08266723D44E2B5EE43CDBC26CA8890700F3B6B1158
25398.1732 11.2507.1001.9

可用性日期:

2025-07-25
42AD44EEBD8E063A0FD5A7A41588ABF8F847A661B747ADD050C58CF4B75A6B7E
25398.1665 11.2506.1001.28

可用性日期:

2025-07-02
18975A06372192DD7249B5DCF8844EA0A68AD08B1C9F3C554FABF79EA74CB290
25398.1611 11.2505.1001.22

可用性日期:

2025-05-28
AB2C7CE74168BF9FD679E7CE644BC57A20A0A3A418C5E8663EBCF53FC0B45113
25398.1551 11.2504.1001.19

可用性日期:

2025-04-21
7658C5CBAE241951C786D06D35E8B09A1160FDC5E9B8CAEDEB374ECC22A2CB68
25398.1486 10.2503.0.13

可用性日期:

2025-03-31
BAA0CEB0CF695CCCF36E39F70BF2E67E0B886B91CDE97F8C2860CE299E2A5126

Note

可能需要在发布后等待最多 24 小时,才能获取最新版本的组合解决方案包及其 SHA256 哈希值。

步骤 1:下载解决方案更新捆绑包

  1. 下载捆绑包,并记下 解决方案更新捆绑包 表中的 SHA256 哈希。 运行以下命令:

    # Download the CombinedSolutionBundle
    Invoke-WebRequest -Uri "<download URI>" -OutFile "C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\import\CombinedSolutionBundle.<build number>.zip"
    
  2. 检查下载的 CombinedSolutionBundle 的 SHA256 哈希。 运行以下命令:

    # Check the SHA256 hash of the downloaded CombinedSolutionBundle
    Get-FileHash -Path "<path to CombinedSolutionBundle.zip>"
    

步骤 2:导入解决方案更新捆绑包

  1. 为更新服务创建一个文件夹,以便该服务在系统基础设施卷中进行发现。 运行以下命令:

    # Create a folder for the update service to discover
    New-Item C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\import -ItemType Directory
    
  2. 将下载的 CombinedSolutionBundle 复制到所创建的文件夹。

  3. 将 CombinedSolutionBundle 的内容提取到解决方案子文件夹。 运行以下命令:

    # Extract the contents of the CombinedSolutionBundle to the Solution subfolder
    Expand-Archive -Path C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\import\CombinedSolutionBundle.<build number>.zip -DestinationPath C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\import\Solution
    
  4. 将包导入更新服务。 运行以下命令:

    # Import the module
    Add-SolutionUpdate -SourceFolder C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\import\Solution
    
  5. 检查更新服务是否发现更新包,以及它是否可用于开始准备和安装。 若要发现更新,请运行 Get-SolutionUpdate 命令。 更新服务会异步发现更新,因此可能需要多次运行 Get-SolutionUpdate 该命令。

  6. 如果更新返回状态 AdditionalContentRequired,请按照 PowerShell 更新 Azure 本地版 中的说明导入所需的解决方案生成器扩展 (SBE) 更新。

后续步骤

此功能在 Azure Local 2411.3 及更高版本中提供。