UiPath Documentation
orchestrator
2023.10
false
Guía de instalación de Orchestrator
Importante :
La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Scripts del catálogo de recursos

Parámetros y uso del script Publish-ResourceCatalog.ps1 para implementar y actualizar el catálogo de recursos.

Publicación en el Catálogo de recursos

La tabla siguiente describe todos los parámetros que puedes usar con el script Publish-ResourceCatalog.ps1.

Parámetro

Descripción

-action

Mandatory .

Indicates the type of scenario you want to start. The following options are available:

  • Deploy: especifica que es una instalación limpia.
  • Update: especifica que estás actualizando tu instancia del Catálogo de recursos.

-package

Mandatory .

Indica la ruta completa o relativa del archivo UiPath.ResourceCatalogService-Win64.zip.

-azureAccountPassword

Obligatorio. La contraseña de token de Azure para el ID principal de servicio.

-azureSubscriptionId

Obligatorio. El ID de suscripción de Azure para el Servicio de aplicaciones.

-azureAccountTenantId

Obligatorio. El ID de tenant de Azure.

-resourceGroupName

Obligatorio. El nombre del grupo de recursos de Azure que contiene el Servicio de aplicaciones del Catálogo de recursos.

-appServiceName

Obligatorio. El nombre del servicio de aplicaciones de Azure del Catálogo de recursos.

-noAzureAuthentication

Optional. Allows you to publish to the Azure App Service by relying on your own user identity, without having to create a service principal.

If this parameter is used, the UseServicePrincipal parameter set (which includes items such as the Azure application ID, password, subscription ID, and tenant ID) are no longer necessary.

-azureUSGovernmentLogin Opcional. Este parámetro solo se utiliza para las implementaciones del gobierno de EE. UU.

El script Publish-ResourceCatalog.ps1 se usa para la implementación inicial o la actualización del Catálogo de recursos. El script supone que la aplicación web ya tiene configurada la cadena de conexión de la base de datos 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>"

Migración al Catálogo de recursos

La tabla siguiente describe todos los parámetros que puedes usar con el script MigrateTo-ResourceCatalog.ps1.

Parámetro

Descripción

-cliPackage

Mandatory .

Indica la ruta al archivo UiPath.ResourceCatalogService.CLI-Win64.zip.

-azureDetails

Una tabla hash con los siguientes valores:

  • azureAccountApplicationIdMandatory .

    The Azure service principal ID..

  • azureAccountPassword: obligatorio. La contraseña de token de Azure para el ID principal de servicio.
  • azureSubscriptionIdMandatory .

    El ID de suscripción de Azure para el Servicio de aplicaciones correspondiente.

  • azureAccountTenantId: obligatorio. El ID de tenant de Azure.

-orchDetails

Una tabla hash con los siguientes valores:

  • resourceGroupNameMandatory .

    The name of the Azure Resource Group that contains the Orchestrator App Service.

  • appServiceName: obligatorio. El nombre del Servicio de aplicaciones de Orchestrator.
  • targetSlotMandatory .

    The Target App Service Slot set by Azure.

-resourceCatalogDetails

Una tabla hash con los siguientes valores:

  • resourceGroupNameMandatory .

    The name of the Azure Resource Group that contains the Resource Catalog App Service.

  • appServiceName: obligatorio. El nombre del Servicio de aplicaciones del Catálogo de recursos.
  • targetSlotMandatory .

    The Target App Service Slot set by Azure.

-resourceCatalogUrl

Obligatorio . La dirección pública del catálogo de recursos.

-identityServerUrl

Obligatorio. La URL de Identity Server.

Important: The URL must contain the Identity Server address + the suffix /identity .

Ejemplo: https://[IdentityServer]/identity

-noAzureAuthentication

Optional. Allows you to publish to the Azure App Service by relying on your own user identity, without having to create a service principal.

If this parameter is used, the UseServicePrincipal parameter set (which includes items such as the Azure application ID, password, subscription ID, and tenant ID) are no longer necessary.

-orchestratorUrl

Mandatory .

The Orchestrator public URL.

El script MigrateTo-ResourceCatalog.ps1 se usa para migrar datos de usuario desde Orchestrator al Catálogo de recursos. Crea la estructura de la base de datos y añade la configuración de la aplicación relacionada.

El script da por supuesto que Orchestrator y el Catálogo de recursos ya han sido publicados.

.\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" -orchestratorUrl "https://<OrchestratorURL>"
.\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" -orchestratorUrl "https://<OrchestratorURL>"
Nota:

El script MigrateTo-ResourceCatalog.ps1 debe ejecutarse al actualizar el servicio de catálogo de recursos.

  • Publicación en el Catálogo de recursos
  • Migración al Catálogo de recursos

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado