UiPath Documentation
orchestrator
2023.10
false
Guide d'installation d'Orchestrator
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Scripts de catalogue de ressources

Paramètres et utilisation du script Publish-ResourceCatalog.ps1 pour le déploiement et la mise à jour du catalogue de ressources.

Publier dans le catalogue de ressources

La table suivante décrit tous les paramètres pouvant être utilisés avec le script Publish-ResourceCatalog.ps1.

Paramètre

Description

-action

Mandatory .

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

  • Deploy - indique qu'il s'agit d'une nouvelle installation.
  • Update  : Indique que vous mettez à jour votre instance de catalogue de ressources.

-package

Mandatory .

Indiquez le chemin complet ou le chemin relatif de l'archive UiPath.ResourceCatalogService-Win64.zip.

-azureAccountPassword

Obligatoire. Mot de passe du jeton Azure pour l'ID de principal de service.

-azureSubscriptionId

Obligatoire (Mandatory). ID d'abonnement Azure du service d'application respectif.

-azureAccountTenantId

Obligatoire. ID de locataire Azure.

-resourceGroupName

Obligatoire (Mandatory). Nom du groupe de ressources Azure qui contient l'application App Service du catalogue de ressources.

-appServiceName

Obligatoire (Mandatory). Nom de l'application Azure App Service du catalogue de ressources.

-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 Facultatif (Optional). Ce paramètre est uniquement utilisé pour les déploiements du gouvernement américain.

Le script Publish-ResourceCatalog.ps1 est utilisé pour le déploiement initial ou la mise à jour du catalogue de ressources. Le script suppose que l’application web a déjà configuré la chaîne de connexion de la base de données 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>"

Migrer vers le catalogue de ressources

La table suivante décrit tous les paramètres pouvant être utilisés avec le script MigrateTo-ResourceCatalog.ps1.

Paramètre

Description

-cliPackage

Mandatory .

Indiquez le chemin d'accès à l'archive UiPath.ResourceCatalogService.CLI-Win64.zip.

-azureDetails

Une table de hachage avec les valeurs suivantes :

  • azureAccountApplicationIdMandatory .

    The Azure service principal ID..

  • azureAccountPassword - Obligatoire. Mot de passe du jeton Azure pour l'ID principal du service.
  • azureSubscriptionIdMandatory .

    ID d'abonnement Azure du service d'application respectif.

  • azureAccountTenantId - Obligatoire. Identifiants du locataire Azure.

-orchDetails

Une table de hachage avec les valeurs suivantes :

  • resourceGroupNameMandatory .

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

  • appServiceName - Obligatoire. Nom de l'application App Service d'Orchestrator.
  • targetSlotMandatory .

    The Target App Service Slot set by Azure.

-resourceCatalogDetails

Une table de hachage avec les valeurs suivantes :

  • resourceGroupNameMandatory .

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

  • appServiceName - Obligatoire. Nom de l'application App Service du catalogue de ressources.
  • targetSlotMandatory .

    The Target App Service Slot set by Azure.

-resourceCatalogUrl

Obligatoire. L'adresse publique du catalogue de ressources.

-identityServerUrl

Obligatoire. L'URL d'Identity Server.

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

Exemple : 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.

Le script MigrateTo-ResourceCatalog.ps1 est utilisé pour migrer les données utilisateur d'Orchestrator vers le catalogue de ressources. Il crée la structure de la base de données et ajoute les paramètres d'application associés.

Le script suppose qu'Orchestrator et le catalogue de ressources ont déjà été publiés.

.\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>"
Remarque :

Le script MigrateTo-ResourceCatalog.ps1 doit être exécuté lors de la mise à niveau du service de catalogue de ressources.

  • Publier dans le catalogue de ressources
  • Migrer vers le catalogue de ressources

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour