Abonnieren

UiPath Installation and Upgrade

Die UiPath-Installations- und Upgrade-Anleitung

Ressourcenkatalog-Skripte

Im Ressourcenkatalog veröffentlichen


In der folgenden Tabelle sind alle Parameter beschrieben, die mit dem Skript Publish-ResourceCatalog.ps1 verwendet werden können.

ParameterDescription
-actionMandatory. Indicates the type of scenario you want to start. The following options are available:
Deploy – specifies it is a clean installation.
Update – specifies you are updating your Resource Catalog instance.
-packageMandatory. Indicate the full path or relative path of the UiPath.ResourceCatalogService-Win64.zip archive.
-azureAccountPasswordMandatory. The Azure token password for the service principal ID.
-azureSubscriptionIdMandatory. The Azure subscription ID for the App Service.
-azureAccountTenantIdMandatory. The Azure tenant ID.
-resourceGroupNameMandatory. The name of the Azure Resource Group that contains the Resource Catalog App Service.
-appServiceNameMandatory. The Resource Catalog Azure App Service name.
-noAzureAuthenticationOptional. 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.

Das Skript Publish-ResourceCatalog.ps1 wird für die erste Bereitstellung oder Aktualisierung des Ressourcenkatalogs verwendet. Das Skript geht davon aus, dass die Web-App bereits die Datenbankverbindungszeichenfolge DefaultConnection konfiguriert hat.

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

 

Zum Ressourcenkatalog migrieren


In der folgenden Tabelle sind alle Parameter beschrieben, die mit dem Skript MigrateTo-ResourceCatalog.ps1 verwendet werden können.

ParameterDescription
-cliPackageMandatory. Indicate the path to the UiPath.ResourceCatalogService.CLI-Win64.zip archive.
-azureDetailsA hash table with the following values:

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.
-orchDetailsA hash table with the following values:

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.
-resourceCatalogDetailsA hash table with the following values:

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.
-resourceCatalogUrlMandatory. The public address of the Resource Catalog.
-identityServerUrlMandatory. The URL of Identity Server.

:warning: The URL must contain the Identity Server address + the suffix /identity. Example: https://[IdentityServer]/identity
-noAzureAuthenticationOptional. 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.

Das Skript MigrateTo-ResourceCatalog.ps1 wird verwendet, um Benutzerdaten vom Orchestrator in den Ressourcenkatalog zu migrieren. Es erstellt die Datenbankstruktur und fügt die zugehörigen App-Einstellungen hinzu.

Das Skript geht davon aus, dass der Orchestrator und der Ressourcenkatalog bereits veröffentlicht wurden.

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

Aktualisiert vor 9 Monaten


Ressourcenkatalog-Skripte


Auf API-Referenzseiten sind Änderungsvorschläge beschränkt

Sie können nur Änderungen an dem Textkörperinhalt von Markdown, aber nicht an der API-Spezifikation vorschlagen.