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

资源目录脚本

发布到资源目录

下表介绍了可与 Publish-ResourceCatalog.ps1 脚本一起使用的所有参数。

参数 描述

-action

必需。指示要启动的场景类型。可选择以下选项:

  • Deploy – 指定它为全新安装。
  • Update – 指定您要更新资源目录实例。

-package

必填。指示 UiPath.ResourceCatalogService-Win64.zip 存档的完整路径或相对路径。

-azureAccountPassword

Mandatory. The Azure token password for the service principal ID.

-azureSubscriptionId

必填。应用程序服务的 Azure 订阅 ID。

-azureAccountTenantId

Mandatory. The Azure tenant ID.

-resourceGroupName

必填。包含资源目录应用程序服务的 Azure 资源组名称。

-appServiceName

必填。资源目录 Azure 应用程序服务名称。

-noAzureAuthentication

可选。允许您依靠自己的用户身份发布到 Azure 应用程序服务,而无需创建服务主体。如果使用此参数,则不再需要 UseServicePrincipal 参数集(其中包括 Azure 应用程序 ID、密码、订阅 ID 和租户 ID 等项目)。

-azureUSGovernmentLogin可选。此参数仅用于美国政府部署。

Publish-ResourceCatalog.ps1 脚本用于资源目录的初始部署或更新。该脚本假定网页应用程序已配置 DefaultConnection 数据库连接字符串。

.\Publish-ResourceCatalog.ps1
-action deploy
-package ".\UiPath.ResourceCatalogService-Win64.zip"
-azureAccountApplicationId "<azure_application_id>"
-azureAccountPassword "<azure_account_password>"
-azureSubscriptionId "<subscription_id>"
-azureAccountTenantId "<azure_tenant_id>"
-resourceGroupName "<resourcegroup_name>"
-appServiceName "<appservice_name>"
.\Publish-ResourceCatalog.ps1
-action deploy
-package ".\UiPath.ResourceCatalogService-Win64.zip"
-azureAccountApplicationId "<azure_application_id>"
-azureAccountPassword "<azure_account_password>"
-azureSubscriptionId "<subscription_id>"
-azureAccountTenantId "<azure_tenant_id>"
-resourceGroupName "<resourcegroup_name>"
-appServiceName "<appservice_name>"

迁移到资源目录

下表介绍了可与 MigrateTo-ResourceCatalog.ps1 脚本一起使用的所有参数。

参数 描述

-cliPackage

必需。指示到存档 UiPath.ResourceCatalogService.CLI-Win64.zip 的路径。

-azureDetails

具有以下值的哈希表:

  • azureAccountApplicationIdMandatory. The Azure service principal ID..
  • azureAccountPasswordMandatory. The Azure token password for the service principal ID.
  • azureSubscriptionIdMandatory. The Azure subscription ID for the respective App Service.
  • azureAccountTenantIdMandatory. The Azure tenant ID.

-orchDetails

具有以下值的哈希表:

  • resourceGroupNameMandatory. The name of the Azure Resource Group that contains the Orchestrator App Service.
  • appServiceNameMandatory. The Orchestrator App Service name.
  • targetSlotMandatory. The Target App Service Slot set by Azure.

-resourceCatalogDetails

具有以下值的哈希表:

  • resourceGroupNameMandatory. The name of the Azure Resource Group that contains the Resource Catalog App Service.
  • appServiceNameMandatory. The Resource Catalog App Service name.
  • targetSlotMandatory. The Target App Service Slot set by Azure.

-resourceCatalogUrl

必填。资源目录的公共地址。

-identityServerUrl

必填。Identity Server 的 URL。

The URL must contain the Identity Server address + the suffix /identity. Example: https://[IdentityServer]/identity

-noAzureAuthentication

可选。允许您依靠自己的用户身份发布到 Azure 应用程序服务,而无需创建服务主体。如果使用此参数,则不再需要 UseServicePrincipal 参数集(其中包括 Azure 应用程序 ID、密码、订阅 ID 和租户 ID 等项目)。

MigrateTo-ResourceCatalog.ps1 脚本用于将用户数据从 Orchestrator 迁移到资源目录。它会创建数据库结构并添加相关的应用程序设置。

此脚本假定 Orchestrator 和资源目录已发布。

.\MigrateTo-ResourceCatalog.ps1
-cliPackage ".\UiPath.ResourceCatalogService.CLI-Win64.zip"
-azureDetails @{ azureSubscriptionId = "<subscription_id>"; azureAccountTenantId = "<azure_tenant_id>"; azureAccountApplicationId = "<azure_application_id>"; azureAccountPassword = "<azure_account_password>" }
-orchDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production" }
-resourceCatalogDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production"}
-resourceCatalogUrl "https://<ResourceCatalogURL>"
-identityServerUrl "https://<IdentityServerURL>/identity"
.\MigrateTo-ResourceCatalog.ps1
-cliPackage ".\UiPath.ResourceCatalogService.CLI-Win64.zip"
-azureDetails @{ azureSubscriptionId = "<subscription_id>"; azureAccountTenantId = "<azure_tenant_id>"; azureAccountApplicationId = "<azure_application_id>"; azureAccountPassword = "<azure_account_password>" }
-orchDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production" }
-resourceCatalogDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production"}
-resourceCatalogUrl "https://<ResourceCatalogURL>"
-identityServerUrl "https://<IdentityServerURL>/identity"
  • 发布到资源目录
  • 迁移到资源目录

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新