Orchestrator
2020.10
False
横幅背景图像
不在支持范围内
Orchestrator 安装指南
上次更新日期 2023年12月12日

使用 Azure 脚本进行更新

警告: 请记住,这些信息与您要升级到的目标版本有关,与升级前的版本无关。因此,在继续之前,请确保阅读正确的详细信息。
重要提示:
  • 如果您以前没有这样做过(例如,从 v2019.10 升级),请确保已为以下项目创建了应用程序服务:
    • 身份服务器
    • Webhook 服务
  • 在运行 Publish-Orchestrator.ps1 脚本之前,请确保卸载 AzureRM PowerShell 模块。我们建议使用 Az PowerShell 模块作为替代方案。不支持同时安装 AzureRM 和 Az 模块。
  • 如果未检测到所需的 Az 版本,并且在运行脚本时存在 AzureRM,则即使在无人值守的安装上,系统也会提示您确认是否删除 AzureRM。
  • 请注意,如果在使用任何先前版本的模块时升级到 Az v6.0.0,则系统会弹出以下消息:WARNING: The version 'x.x.x' of module 'Az.<Name>' is currently in use. Retry the operation after closing the applications。为了解决此问题,请确保在新的 PowerShell 会话中执行 Publish-Orchestrator.ps1
  1. Download the latest available UiPathOrchestrator.zip archive.
  2. Unblock the UiPathOrchestrator.zip file using the PowerShell command Unblock-File. For example, Unblock-File .\UiPathOrchestrator.zip.
  3. Unarchive UiPathOrchestrator.zip.
  4. 在 PowerShell 中,在要更新的 Orchestrator 实例上运行 Publish-Orchestrator.ps1 脚本。 请注意,如果未明确指定为脚本参数,则 UiPath.Orchestrator.dll.config(以前称为 web.config)设置将保留。
  5. 如下所示,在 PowerShell 中的 Identity Server 实例上运行 Publish-IdentityServer.ps1
  6. 如下所示,在 PowerShell 中的 Webhooks 服务实例上运行 Publish-Webhooks.ps1
  7. 如果要更新多节点 Orchestrator 实例,请使用 FLUSHALLFLUSHDB 命令刷新所有 Redis 缓存键。有关它们的更多信息可在此处此处获得。
  8. 在 Azure 门户中打开网页应用程序,然后导航到配置 > 常规设置并检查以下设置:

    • Stack 应该设置为 .NET Core
    • Platform 应该设置为 64 Bit
    • 如果您不使用 Azure SignalR 服务,则应将Web sockets 设置为 On
  9. Start the Orchestrator app service. Enjoy using Orchestrator on your Azure Portal.

  10. 在已连接到 Orchestrator 的所有机器人计算机上重新启动 UiPath 机器人服务。

Publish-IdentityServer.ps1 更新

重要提示: 如果您以前没有这样做过(例如 从 v2019.10升级),请确保已为 Identity Server创建应用程序服务。 确保 Publish-IdentityServer.ps1 脚本以 Identity Server 应用程序服务为目标。
将最新的 Publish-IdentityServer.ps1 脚本下载到本地计算机后,请按下方所示运行脚本以更新身份服务器 Azure 网页应用程序:
.\Publish-IdentityServer.ps1 <code>
    -action Update </code>
    -azureSubscriptionId "<subscription_id>" <code>
    -azureAccountTenantId "<azure_tenant_id>" </code>
    -azureAccountApplicationId "<azure_application_id>" <code>
    -azureAccountPassword "<azure_account_password>" </code>
    -orchestratorURL "https://<orchestratorURL>" <code>
    -package "UiPath.IdentityServer.Web.zip" </code>
    -cliPackage "UiPath.IdentityServer.Migrator.Cli.zip" <code>
    -stopApplicationBeforePublish </code>
    -resourceGroupName "<resourcegroup_name>" <code>
    -appServiceName "<appservice_name>" </code>
    -unattended.\Publish-IdentityServer.ps1 <code>
    -action Update </code>
    -azureSubscriptionId "<subscription_id>" <code>
    -azureAccountTenantId "<azure_tenant_id>" </code>
    -azureAccountApplicationId "<azure_application_id>" <code>
    -azureAccountPassword "<azure_account_password>" </code>
    -orchestratorURL "https://<orchestratorURL>" <code>
    -package "UiPath.IdentityServer.Web.zip" </code>
    -cliPackage "UiPath.IdentityServer.Migrator.Cli.zip" <code>
    -stopApplicationBeforePublish </code>
    -resourceGroupName "<resourcegroup_name>" <code>
    -appServiceName "<appservice_name>" </code>
    -unattended

Publish-Webhooks.ps1 更新

重要提示: 如果您以前没有这样做过(例如 从 v2019.10升级),请确保已为 Webhooks 服务创建应用程序服务。 确保 Publish-Webhooks.ps1 脚本以 Webhooks 应用程序服务为目标。
将最新的 UiPathWebhooks.zip 存档下载并提取至本地计算机后,请按下方所示运行 Publish-Webhooks.ps1 脚本以更新身份服务器 Azure 网页应用程序:
.\Publish-Webhooks.ps1 ` -action Update ` -package "UiPath.WebhookService.zip" ` -azureAccountApplicationId "<azure_application_id>" ` -azureAccountPassword "<azure_account_password>" ` -azureSubscriptionId "<subscription_id>" ` -azureAccountTenantId "<azure_tenant_id>" ` -resourceGroupName "<resourcegroup_name>" ` -appServiceName "<appservice_name>" ` -stopApplicationBeforePublish.\Publish-Webhooks.ps1 ` -action Update ` -package "UiPath.WebhookService.zip" ` -azureAccountApplicationId "<azure_application_id>" ` -azureAccountPassword "<azure_account_password>" ` -azureSubscriptionId "<subscription_id>" ` -azureAccountTenantId "<azure_tenant_id>" ` -resourceGroupName "<resourcegroup_name>" ` -appServiceName "<appservice_name>" ` -stopApplicationBeforePublish
  • Publish-IdentityServer.ps1 更新
  • Publish-Webhooks.ps1 更新

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.