更新应用服务资源提供程序

已完成

在本单元中,你将了解如何升级在连接 Internet 的 Azure Stack Hub 环境中部署的 Azure 应用服务资源提供程序。

运行 Azure 应用服务资源提供程序安装程序

在此过程中,升级操作将会:

  • 检测以前部署的 Azure 应用服务。
  • 准备要部署的所有 OSS 库的所有更新包和新版本。
  • 上传到存储。
  • 升级所有 Azure 应用服务角色(控制器、管理、前端、发布者和辅助角色)。
  • 更新 Azure 应用服务规模集定义。
  • 更新 Azure 应用服务资源提供程序清单。

Azure 应用服务安装程序必须在可访问“Azure Stack Hub 管理”Azure 资源管理器终结点的计算机上运行。

若要升级 Azure Stack Hub 上的 Azure 应用服务部署,请按照以下步骤操作:

  1. 下载 Azure 应用服务安装程序

  2. 以管理员身份运行 appservice.exe。

    Screenshot that shows how to start the deployment or upgrade process in the App Service installer.

  3. 单击“部署 Azure 应用服务或升级到最新版本”。

  4. 查看并接受 Microsoft 软件许可条款,然后单击“下一步”

  5. 查看并接受第三方许可条款,然后单击“下一步”

  6. 确保 Azure Stack Hub Azure 资源管理器终结点和 Active Directory 租户信息正确。 如果在 ASDK 部署过程中使用了默认设置,则此处可以接受默认值。

    Screenshot that shows where to configure the ARM endpoints in the App Service installer.

  7. 在下一页上单击“凭据”或“服务主体”。

    Screenshot that shows where you specify the Azure Stack Hub subscription information in the App Service installer.

  8. 在“摘要”页上,设置以下内容:

    • 验证所做的选择。 若要进行更改,请使用“上一步”按钮访问前面的页面。

    • 如果配置正确,则选中此复选框。

    • 若要开始升级,请单击“下一步”。

      Screenshot that shows the App Service upgrade summary in the installer.

  9. 升级进度页:

    • 跟踪升级进度。 Azure Stack Hub 上的 Azure 应用服务升级持续时间取决于部署的角色实例数目。

    • 升级成功完成后,单击“退出”。

      Screenshot that shows the deployment progress in the App Service installer.