- 基本情報
- 要件
- ベスト プラクティス
- インストール
- 更新
- Identity Server
- 起動エラーのトラブルシューティング
Orchestrator にパブリッシュ
次の表で、Publish-Orchestrator.ps1 で使用できる全パラメーターについて説明します。
| パラメーター | 説明 |
|---|---|
|
|
必須。開始するシナリオの種類を指定します。次のオプションを使用できます。
|
|
|
Mandatory. The Azure service principal ID. Please note that the used service principal needs to be assigned the Contributor role to the app service at the subscription scope. |
|
|
必須。サービス プリンシパル ID の Azure トークン パスワード。 |
|
|
必須。Orchestrator をホストする App Service の Azure サブスクリプション ID。 |
|
|
必須。Azure テナント ID。 |
|
|
必須。Orchestrator App Service を含む Azure リソース グループの名前。 |
|
|
必須。Orchestrator の Azure App Service の名前。 |
|
|
必須。 |
-confirmBlockClassicExecutions |
Mandatory. Setting this parameter to 1 blocks job execution in classic folders after the upgrade. |
|
|
任意。 |
|
|
任意です。このパラメーターは、テスト データのキュー、テストの実行およびスケジューリングのために Test Automation モジュールを有効化します。この機能は以下のいずれかのシナリオに基づいて有効化できます。 Orchestrator のクリーン インストールから新規に開始する Configure the following settings for your App Service before running the
特にホットスワップ スロットを使用している場合は、必ずこれらの設定を Orchestrator のインストール後に Test Automation を有効化する Test Automation モジュールを有効化せずに Orchestrator をデプロイ済みの場合は、 アップグレードに使用するのと同じパラメーターを使用して Orchestrator をアップグレードする Orchestrator インスタンスをアップグレードする場合は、これを実行する前に、 For more details about upgrading Orchestrator, see Publish-Orchestrator.ps1 Update. |
|
|
任意です。このパラメーターは、Insights のモジュールと機能を有効化します。この機能は以下のいずれかのシナリオで有効化できます。 Orchestrator のクリーン インストールから新規に開始する
Orchestrator のインストール後に Insights を有効化する Insights モジュールを有効化せずに Orchestrator をデプロイ済みの場合は、アップグレードに使用するのと同じパラメーターを使用して Orchestrator をアップグレードする Orchestrator インスタンスをアップグレードする場合は、これを実行する前に、 For more details about upgrading Orchestrator, see Publish-Orchestrator.ps1 Update. |
|
|
任意です。このパラメーターは、更新サーバー モジュールを有効化します。この機能は以下のいずれかのシナリオで有効化できます。 Orchestrator のクリーン インストールから新規に開始する Configure the following settings for your App Service before running the
Orchestrator のインストール後に更新サーバーを有効化する 更新サーバー モジュールを有効化せずに Orchestrator をデプロイ済みの場合は、 アップグレードに使用するのと同じパラメーターを使用して Orchestrator をアップグレードする Orchestrator インスタンスをアップグレードする場合は、これを実行する前に、 For more details about upgrading Orchestrator, see Publish-Orchestrator.ps1 Update. |
|
|
任意。ログ用に Elasticsearch を使用する場合にのみ使用します。Elasticsearch URL を |
|
|
任意。このパラメーターでは、設定した Elasticsearch サーバーにのみロボット ログを送信できます。Elasticsearch URL を |
|
|
任意。Elasticsearch の認証が有効である場合、このパラメーターで Elasticsearch インスタンスのユーザー名を指定できます。 |
|
|
任意。Elasticsearch の認証が有効である場合、このパラメーターで Elasticsearch インスタンスのパスワードを指定できます。 |
|
|
任意。Elasticsearch の認証が有効である場合、このパラメーターで Elasticsearch インスタンスのユーザー名を指定できます。内部的な Orchestrator のログには、 |
|
|
任意。 - Elasticsearch の認証が有効である場合、このパラメーターで Elasticsearch インスタンスのパスワードを指定できます。内部的な Orchestrator のログには、 |
|
|
任意。データベースとして Redis を使用して、ロード バランサー経由で接続しているすべてのマシンとの間でメッセージの配信とキャッシュ処理を行います。 |
|
|
Optional. It can only be used if 例:
|
|
|
任意です。各種ロボットと SignalR Service 間の (Orchestrator の仲介を必要としない) 直接通信を容易にするために Azure SignalR Service を有効化できるようにします。有効化すると、2019.2 より前のバージョンの Robot が Orchestrator との通信にハートビート プロトコルのみを使用することになり、Orchestrator からのコマンドは、30 秒ごとにしか Robot に取り込まれなくなることに注意してください。例: |
|
|
任意。実行メディアとパッケージの保存先となるターゲットを定義します。次のターゲットを設定できます。
Azure App Service の [設定] セクションで |
|
|
任意。実行メディアとパッケージの保存先となる実際の場所を定義します。個別の詳細 :
More information on these deployments types is available here. Azure App Service の [設定] セクションで |
|
|
任意です。アップグレードのシナリオのみに使用できます。指定すると、スクリプトが Orchestrator を運用環境ではなく指定の App Service スロットにデプロイします。さらに、ダウンタイムなしで運用環境スロットとのスロット交換を行います。 前提条件:
|
|
|
任意。Orchestrator App Service のデプロイ スロットが Azure で設定される既定の運用環境 App Service スロットと異なる場合にのみ使用できます。 |
|
|
Optional. Key-value pairs of application settings that are pushed to the Azure App Service Configuration section after deployment. Keep in mind that this only applies to settings from the App Settings section of the UiPath.Orchestrator.dll.config file. You can use this parameter to change specific settings that are not exposed through the 既存の設定は、新規の設定とマージされることに注意してください。 |
|
|
任意です。存在する場合は、アプリケーションをデプロイ前に停止し、デプロイの完了後に起動します。 |
|
|
任意です。存在する場合は、ユーザーの確認なしにデプロイが続行されます。 |
|
|
任意です。有効化するバケット プロバイダーのリストをコンマ区切りで記載した文字列です。指定しない場合、既定値は 注意: FileSystem プロバイダーを使用して 20.10.7 以降のバージョンにアップグレードする場合、このパラメーターに渡す値には |
|
|
FileSystem をバケット プロバイダーとして選択した場合にのみ、必須です。FileSystem プロバイダーに対してバケットの作成を許可する場所のリストです。FileSystem プロバイダーを有効化する場合は、このパラメーターの値も渡す必要があります。この値は UNC パスのリストで、パイプ記号 |
|
|
任意です。サービス プリンシパルを作成することなく、ユーザー自身の ID を利用して Azure App Service にパブリッシュを行えます。このパラメーターを使用すると、 |
|
|
任意です。カスタム URL が使用される場合に Orchestrator App Service の外部 URL を含めることができます。このパラメーターが設定されていない場合は、代わりに App Service の既定の URL が使用されます。 |
-azureUSGovernmentLogin | 任意です。このパラメーターは、米国政府機関のデプロイにのみ使用されます。 |
更新時に保持されるパラメーター
以下の UiPath.Orchestrator.dll.config パラメーターの値は、更新実行時に自動的に移行され、保持されます。これらの値を変更する場合は、Publish-Orchestrator.ps1 スクリプトを呼び出すときに新しい値を指定します。
-NuGet.Packages.ApiKey
-NuGet.Activities.ApiKey
-NuGet.Packages.Path
-NuGet.Activities.Path
-machineKey/@decryption
-machineKey/@decryptionKey
-machineKey/@validationKey
-EncryptionKey
-NuGet.Repository.Type
-Storage.Type
-Storage.Location
-LoadBalancer.Redis.ConnectionString
-LoadBalancer.UseRedis
-Scalability.AzureSignalR.ConnectionString
-nlog/targets/target/@name=robotElasticBuffer/@name=RobotElastic/@uri
-nlog/targets/target/@name=robotElasticBuffer/@name=RobotElastic/@username
-nlog/targets/target/@name=robotElasticBuffer/@name=RobotElastic/@password
-nlog/rules/logger/@name=Robot.*/@writeTo
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@uri
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@username
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@password
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@index
-nlog/rules/logger/@name=*/@writeTo
-NuGet.Packages.ApiKey
-NuGet.Activities.ApiKey
-NuGet.Packages.Path
-NuGet.Activities.Path
-machineKey/@decryption
-machineKey/@decryptionKey
-machineKey/@validationKey
-EncryptionKey
-NuGet.Repository.Type
-Storage.Type
-Storage.Location
-LoadBalancer.Redis.ConnectionString
-LoadBalancer.UseRedis
-Scalability.AzureSignalR.ConnectionString
-nlog/targets/target/@name=robotElasticBuffer/@name=RobotElastic/@uri
-nlog/targets/target/@name=robotElasticBuffer/@name=RobotElastic/@username
-nlog/targets/target/@name=robotElasticBuffer/@name=RobotElastic/@password
-nlog/rules/logger/@name=Robot.*/@writeTo
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@uri
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@username
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@password
-nlog/targets/target/@name=serverElasticBuffer/@name=serverElastic/@index
-nlog/rules/logger/@name=*/@writeTo
例
シングル ノードでのインストール
以下の例では、Orchestrator の 1 ノードへのクリーン インストール、Elasticsearch を使ったログ作成、パッケージの Azure Blob Storage への保存、パッケージ メタデータの SQL データベースへの保存が可能です。手順は -unattended の方式で実行され、各段階が -verbose レベルでログに記録されます。
.\Publish-Orchestrator.ps1 `
-action "Deploy" `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-testAutomationFeatureEnabled
-updateServerFeatureEnabled
-storageType "Azure" `
-storageLocation "DefaultEndpointsProtocol=https;AccountName=usr;AccountKey=...;EndpointSuffix=core.windows.net" `
-robotsElasticSearchUrl "http://docelasticserver:9200" `
-verbose
.\Publish-Orchestrator.ps1 `
-action "Deploy" `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-testAutomationFeatureEnabled
-updateServerFeatureEnabled
-storageType "Azure" `
-storageLocation "DefaultEndpointsProtocol=https;AccountName=usr;AccountKey=...;EndpointSuffix=core.windows.net" `
-robotsElasticSearchUrl "http://docelasticserver:9200" `
-verbose
マルチノードでのインストール
以下の例では、Orchestrator のマルチノードへのクリーン インストール、Elasticsearch を使ったログ作成、Redis を使ったキャッシングとメッセージ配信が可能です。パッケージは Azure Blob Storage に、パッケージ メタデータは SQL データベースに保存されます。手順は -unattended の方式で実行され、各段階が -verbose レベルでログに記録されます。
.\Publish-Orchestrator.ps1 `
-action "Deploy" `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-redisConnectionString "docs123.redis.cache.windows.net:6380,passwprd=******,ssl=True" `
-azureSignalRConnectionString "Endpoint=https://doctest.signalr.net;AccessKey=*****;Version=1.0;" `
-robotsElasticSearchUrl "http://docelasticserver:9200" `
-storageType "Azure" `
-storageLocation "DefaultEndpointsProtocol=https;AccountName=usr;AccountKey=...;EndpointSuffix=core.windows.net" `
-verbose
.\Publish-Orchestrator.ps1 `
-action "Deploy" `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-redisConnectionString "docs123.redis.cache.windows.net:6380,passwprd=******,ssl=True" `
-azureSignalRConnectionString "Endpoint=https://doctest.signalr.net;AccessKey=*****;Version=1.0;" `
-robotsElasticSearchUrl "http://docelasticserver:9200" `
-storageType "Azure" `
-storageLocation "DefaultEndpointsProtocol=https;AccountName=usr;AccountKey=...;EndpointSuffix=core.windows.net" `
-verbose
マルチノード更新
以下の例では、既存の設定を変えることなく、既存のマルチノード Orchestrator を提供中の最新バージョンにアップグレードできます。手順は -unattended 方式で実行され、各段階が -verbose レベルでログに記録されます。
Publish-Orchestrator.ps1 `
-action Update `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-verbose
Publish-Orchestrator.ps1 `
-action Update `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-verbose
以下の例を使用すると、Webhooks.Enabled および Telemetry.Enabled パラメーターの値を false に変えるだけで、既存のマルチノード Orchestrator を提供中の最新バージョンにアップグレードできます。手順は -unattended 方式で実行され、各段階が -verbose レベルでログに記録されます。
Publish-Orchestrator.ps1 `
-action Update `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-appSettings @{"Webhooks.Enabled"="false"; "Telemetry.Enabled"="false"} `
-verbose
Publish-Orchestrator.ps1 `
-action Update `
-unattended `
-package "E:\Work\Orch\Setup\UiPath.Orchestrator.Web.zip" `
-stopApplicationBeforePublish `
-azureSubscriptionId "8e34be72-1937-4aa0-b70e-81bab19gbf0a" `
-azureAccountTenantId "f8350d2a-n153-4d17-8927-902c51f72797" `
-azureAccountApplicationId "$AzureApplicationId" `
-azureAccountPassword "$AzurePassword" `
-resourceGroupName "DocTest-Orch-RG" `
-appServiceName "DocTests123" `
-appSettings @{"Webhooks.Enabled"="false"; "Telemetry.Enabled"="false"} `
-verbose