UiPath Documentation
orchestrator
2020.10
false
Orchestrator 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Azure 应用程序服务安装

概述​

Azure 安装脚本使您能够在一个或多个节点上安装 Orchestrator。

重要提示:
  1. 在下面列出的安装过程中,必须执行所有步骤。如果不安装身份服务器,Orchestrator 将不起作用。

  2. 在开始安装 Orchestrator 之前,请确保证书由 Azure 信任的证书颁发机构颁发,例如 DigiCert。

  3. 不支持 Azure Stack,因为可能会发生 API 不兼容的情况。请使用 Azure Cloud 进行部署。

单节点安装​

要在 Azure 应用程序服务上安装 Orchestrator,请执行以下步骤:

Orchestrator 步骤​

  1. 在 Azure 门户的“应用程序服务”下,使用自定义名称(例如 UiPathOrchestrator)创建新的应用程序服务。创建网页应用程序时,请确保选择堆栈 .NET Core 3.1。有关详细信息,请参阅 Microsoft 官方文档。

  2. 在 Azure 门户中打开新创建的网页应用程序,然后在“配置”选项卡上选择“常规设置”,并更改以下配置:

    • 将平台设置为“64 位”。
    • 将 WebSockets 设置为“启用”。
  3. 在网页应用程序的“配置”>“连接字符串”中设置数据库连接字符串,名称为 Default。例如 Server=13.13.13.13;Initial Catalog=UiPath;Persist Security Info=False;User ID=dbUser;Password=pass123; MultipleActiveResultSets=False;Encrypt=True; Connection Timeout=30;TrustServerCertificate=True。

    重要提示:
    • 此处提供的 Azure Server 用户必须拥有服务器级别的访问权限,数据库级别的访问权限不足以执行成功安装。
    • 确保将数据库连接字符串中的 TrustServerCertificate 属性设为 True。
    • 要为测试自动化模块设置数据库连接字符串,请按照 Publish-Orchestrator.ps1 参数中为 -testAutomationFeatureEnabled 参数描述的步骤操作。
  4. Create an Azure AD application and service principal that can access your Orchestrator App Service and Resource Group. Optionally, ask your friendly DevOps team to provide you with an Azure Service Principal ID and Password that can access the App Service and associated Resource Group.

身份服务器步骤​

  1. 在 Azure 门户的“应用程序服务”下,使用自定义名称(例如 UiPathIdentity)创建新的应用程序服务。创建网页应用程序时,请确保选择堆栈 .NET Core 3.1。有关详细信息,请参阅 Microsoft 官方文档。

  2. 在网页应用程序的“配置”>“连接字符串”中设置数据库连接字符串,名称为 DefaultConnection。例如 Server=13.13.13.13;Initial Catalog=UiPath;Persist Security Info=False;User ID=dbUser;Password=pass123; MultipleActiveResultSets=False;Encrypt=True; Connection Timeout=30;TrustServerCertificate=True。

    重要提示:

    确保将数据库连接字符串中的 TrustServerCertificate 属性设为 True。

  3. 导航到“设置”>“配置”>“常规设置”选项卡,然后为平台选择“64 位”。

  4. Create an Azure AD application and service principal that can access your Identity App Service and Resource Group. Optionally, ask your friendly DevOps team to provide you with an Azure Service Principal ID and Password that can access the App Service and associated Resource Group.

常规步骤​

  1. Download the UiPathOrchestrator.zip archive to your local machine. This contains all the scripts necessary to install Orchestrator, Identity Server, and Webhooks Service. UiPath provides the UiPathOrchestrator.zip archive on request. Contact us for details.

  2. 将 zip 文件的内容提取到计算机上的文件夹中。

    备注:

    以下步骤需要运行 PowerShell 脚本。要禁用任何中断这些任务的提示,请在步骤 10 选择的目录中运行 Get-ChildItem *.ps1 -Recurse | Unblock-File 命令。

  3. Run the Publish-Orchestrator.ps1 script, in PowerShell, using the parameters described here.

    重要提示:
    • 在运行 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。
    • 如果您使用的是 Microsoft 托管的代理,则 Publish-Orchestrator.ps1 问题将导致无法运行正确的 Az 版本。您将继续使用版本 4.7.0,而不是版本 5.4.0 或 6.0.0。要解决此问题,请确保删除 C:\Modules\az_4.7.0 文件夹。
  4. Run the Publish-IdentityServer.ps1 script, in PowerShell, using the parameters described here.

    重要提示:

    Make sure to complete the process by performing the steps described on the Publish to Identity Server page.

  5. Run the MigrateTo-IdentityServer.ps1 script, in PowerShell, using the parameters described here.

  6. 启动业务流程和身份应用程序服务。享受在 Azure 门户上使用 Orchestrator。

多节点安装​

备注:

Multi-node installations require the setup of the High Availability Add-on.

要在 Azure 应用程序服务的多个节点上安装 Orchestrator,请执行以下步骤:

Orchestrator 步骤​

  1. 在 Azure 门户的“应用程序服务”下,使用自定义名称(例如 UiPathOrchestrator)创建新的应用程序服务。创建网页应用程序时,请确保选择堆栈 .NET Core 3.1。有关详细信息,请参阅 Microsoft 官方文档。

  2. 在 Azure 门户中打开新创建的网页应用程序,然后在“配置”选项卡上选择“常规设置”,并更改以下配置:

    • 将平台设置为“64 位”。
    • 将 WebSockets 设置为“启用”。
  3. 在网页应用程序的“配置”>“连接字符串”中设置数据库连接字符串,名称为“默认”。例如 Server=13.13.13.13;Initial Catalog=UiPath;Persist Security Info=False;User ID=dbUser;Password=pass123; MultipleActiveResultSets=False;Encrypt=True; Connection Timeout=30;TrustServerCertificate=True。

    重要提示:
    • 此处提供的 Azure Server 用户必须拥有服务器级别的访问权限,数据库级别的访问权限不足以执行成功安装。
    • 确保将数据库连接字符串中的 TrustServerCertificate 属性设为 True。
  4. Create an Azure AD application and service principal that can access your Orchestrator App Service and Resource Group. Optionally, ask your friendly DevOps team to provide you with an Azure Service Principal ID and Password that can access the App Service and associated Resource Group.

  5. In the Scale out (App Service plan) tab, select the Scale to a specific instance count option and provide the desired Instance count.

身份服务器步骤​

  1. 在 Azure 门户的“应用程序服务”下,使用自定义名称(例如 UiPathIdentity)创建新的应用程序服务。创建网页应用程序时,请确保选择堆栈 .NET Core 3.1。有关详细信息,请参阅 Microsoft 官方文档。

  2. 在网页应用程序的“配置”>“连接字符串”中设置数据库连接字符串,名称为 DefaultConnection。例如 Server=13.13.13.13;Initial Catalog=UiPath;Persist Security Info=False;User ID=dbUser;Password=pass123; MultipleActiveResultSets=False;Encrypt=True; Connection Timeout=30;TrustServerCertificate=True。

    重要提示:

    确保将数据库连接字符串中的 TrustServerCertificate 属性设为 True。

  3. 导航到“设置”>“配置”>“常规设置”选项卡,然后为平台选择“64 位”。

  4. Create an Azure AD application and service principal that can access your Identity App Service and Resource Group. Optionally, ask your friendly DevOps team to provide you with an Azure Service Principal ID and Password that can access the App Service and associated Resource Group.

常规步骤​

  1. Download the UiPathOrchestrator.zip archive to your local machine. This contains all the scripts necessary to install Orchestrator, Identity Server, and Webhooks Service. UiPath provides the UiPathOrchestrator.zip archive on request. Contact us for details.

  2. 将 zip 文件的内容提取到计算机上的文件夹中。

    备注:

    以下步骤需要运行 PowerShell 脚本。要禁用任何中断这些任务的提示,请在步骤 1 选择的目录中运行 Get-ChildItem *.ps1 -Recurse | Unblock-File 命令。

  3. Run the Publish-Orchestrator.ps1 script, in PowerShell, using the parameters described here.

    重要提示:
    • 在运行 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。
    • 如果您使用的是 Microsoft 托管的代理,则 Publish-Orchestrator.ps1 问题将导致无法运行正确的 Az 版本。您将继续使用版本 4.7.0,而不是版本 5.4.0 或 6.0.0。要解决此问题,请确保删除 C:\Modules\az_4.7.0 文件夹。
  4. Run the Publish-IdentityServer.ps1 script, in PowerShell, using the parameters described here.

    重要提示:

    Make sure to complete the process by performing the steps described on the Publish to Identity Server page.

  5. Run the MigrateTo-IdentityServer.ps1 script, in PowerShell, using the parameters described here.

  6. 启动业务流程和身份应用程序服务。享受在 Azure 门户上使用 Orchestrator。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新