Automation Suite
2022.4
バナーの背景画像
Automation Suite インストール ガイド
最終更新日 2024年4月19日

マルチノードの高可用性対応の運用設定の前提条件を検証する

Automation Suite をインストールする前に、インストールの前提条件とインフラストラクチャの準備状況を検証することをお勧めします。専用のスクリプトを使用し、環境を評価して概要を生成してからインストールを実行できます。

スクリプトを使用してインストールの前提条件を検証する

スクリプトをダウンロードする

注: オフライン インストールの場合は、この手順をインターネットと、Automation Suite がデプロイされるエアギャップ マシンの両方にアクセスできるマシンで実行する必要があります。オンラインのマシンから、最初のターゲット マシンにファイルをコピーします。
前提条件スクリプトはインストーラーとともに sf-installer.zip というアーカイブにパッケージ化されており、サポート ツールはオフライン専用の sf-infra.tar.gz としてバンドルされています。これらのファイルは、Automation Suite をインストールするすべてのマシンについてレポートを生成するのに必要です。

インストールの種類

ダウンロードするファイル

オンライン

sf-installer.zip必須ダウンロードの手順については、「sf-installer.zip」をご覧ください。

オフライン

sf-installer.zip必須ダウンロードの手順については、「sf-installer.zip」をご覧ください。
sf-infra.tar.gz必須ダウンロードの手順については、「sf-infra.tar.gz」をご覧ください。

スクリプトを使用する準備をする

  1. 次のコマンドを実行してルートになります。

    sudo su -sudo su -
  2. 次のコマンドを実行して、ファイルを /opt/UiPathAutomationSuite/{version} フォルダーにコピーします。
    VERSION="" #add the version number you are trying to install. Ex: for 2022.4.0 Set VERSION="2022.4.0"
    mkdir -p /opt/UiPathAutomationSuite/${VERSION}
    # For below command replace the /path/to where actually the files are present.
    cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/${VERSION}
    # Additionally for offline, copy sf-infra.tar.gz as well to /opt/UiPathAutomationSuite/{VERSION} folder
    cp /path/to/sf-infra.tar.gz /opt/UiPathAutomationSuite/${VERSION}
    cd /opt/UiPathAutomationSuite/${VERSION}VERSION="" #add the version number you are trying to install. Ex: for 2022.4.0 Set VERSION="2022.4.0"
    mkdir -p /opt/UiPathAutomationSuite/${VERSION}
    # For below command replace the /path/to where actually the files are present.
    cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/${VERSION}
    # Additionally for offline, copy sf-infra.tar.gz as well to /opt/UiPathAutomationSuite/{VERSION} folder
    cp /path/to/sf-infra.tar.gz /opt/UiPathAutomationSuite/${VERSION}
    cd /opt/UiPathAutomationSuite/${VERSION}
  3. 次のコマンドを実行して、パッケージを解凍します。

    unzip sf-installer.zip -d installerunzip sf-installer.zip -d installer
  4. 次のコマンドを実行して、必要な権限を割り当て、スクリプト フォルダーに移動します。

    chmod -R 755 installer
    cd installerchmod -R 755 installer
    cd installer

スクリプトのパラメーター

ヘルプ・セクションおよびサポートされるフラグを表示するには、次のコマンドを実行します。

./validateUiPathASReadiness.sh --help./validateUiPathASReadiness.sh --help

出力:

***************************************************************************************
validateUiPathASReadiness.sh Runs pre-install validation checks
Arguments:
 -i|--input                                             Specify cluster config json file
 -m|--machines                                          Comma separated IP address / hostnames of all the machines
 -n|--node-type                                         Possible values [server|agent|task-mining|gpu]. Defaults to server
 --install-type                                         Possible values [online|offline]. Defaults to online
 --install-standalone-aicenter                          Run checks for standalone aicenter service only
 --prereq-bundle </uipath/sf-infra.tar.gz>   Specify the path to the prereq bundle, only for offline installation
 --prereq-tmp-folder </uipath>                          Specify parent directory for the temporary install folder, only for offline installation
 -h|--help                                              Display help
******************************************************************************************************************************************************************************
validateUiPathASReadiness.sh Runs pre-install validation checks
Arguments:
 -i|--input                                             Specify cluster config json file
 -m|--machines                                          Comma separated IP address / hostnames of all the machines
 -n|--node-type                                         Possible values [server|agent|task-mining|gpu]. Defaults to server
 --install-type                                         Possible values [online|offline]. Defaults to online
 --install-standalone-aicenter                          Run checks for standalone aicenter service only
 --prereq-bundle </uipath/sf-infra.tar.gz>   Specify the path to the prereq bundle, only for offline installation
 --prereq-tmp-folder </uipath>                          Specify parent directory for the temporary install folder, only for offline installation
 -h|--help                                              Display help
***************************************************************************************

次の表で、スクリプトの実行時に使用できるパラメーターについて説明します。

パラメーター

説明

-i|--input

cluster_config.json ファイルを入力として受け入れます。このファイルは、Automation Suite を介してデプロイされる UiPath サービスに適用されるパラメーターや設定を定義します。詳細については、「高度なインストール」をご覧ください。

このファイルを指定しない場合、スクリプトによって対話型エクスペリエンスがトリガーされ、これらの入力が収集されます。その後、このファイルがユーザーに代わって生成されます。

-m|--machines

コンマで区切った、すべてのマシンの IP アドレス/ホスト名を受け入れます。これは、必要なポート上でのすべてのノード間の接続を確認するために必要です。

マルチノードの高可用性対応の運用環境のインストールの場合、このパラメーターは必須です。さらに、Task Mining ノードまたは GPU ノードをシングルノードの評価クラスターに追加する予定がある場合にもこのパラメーターが必要です。

-n|--node-type

現在のノードの種類を受け入れます。設定可能な値は、serveragenttask-mininggpu です。
既定値は server です。

--install-type

インストール方法 online または offline を受け入れます。
既定値は online です。

--install-standalone-aicenter

これは Boolean 型のフラグです。スタンドアロンの AI Center をインストールする予定がある場合、このフラグを渡します。

--prereq-bundle

sf-infra.tar.gz がある場所の絶対パスを受け入れます。

--prereq-tmp-folder

sf-infra.tar.gz バンドルを一時的に抽出する場所の絶対パスを受け入れます。このパスを指定しないと、インストーラーによって /tmp フォルダーが選択されます。

マルチノードの高可用性対応の運用設定を検証する

最初のサーバー マシンで行う操作

  1. 最初のサーバー マシンを検証するには、次のコマンドを実行します。

オンライン

./validateUiPathASReadiness.sh \
  --node-type server \ 
  --install-type online \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IPs of all the nodes in cluster./validateUiPathASReadiness.sh \
  --node-type server \ 
  --install-type online \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IPs of all the nodes in cluster

オフライン

./validateUiPathASReadiness.sh \
  --node-type server \ 
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IPs of all the nodes in cluster./validateUiPathASReadiness.sh \
  --node-type server \ 
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IPs of all the nodes in cluster
このスクリプトを実行すると、/opt/UiPathAutomationSuite フォルダーに cluster_config.json ファイルが生成されます。このファイルは、その他すべてのマシンで必要です。
2. 他のマシンに cluster_config.json ファイルをコピーするには、次のコマンドを実行します。
scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuitescp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite
注:
権限エラーのためにファイルを /opt/UiPathAutomationSuite フォルダーにコピーできない場合は、ファイルを一時的に新しいマシンの /var/tmp にコピーしてから、/opt/UiPathAutomationSuite に移動できます。
または、新しいマシン上の /opt/UiPathAutomationSuite フォルダーに対して、フル アクセス許可 (777) を付与することもできます。それには、chmod -R 777 /opt/UiPathAutomationSuite コマンドを実行します。

その他のサーバー マシンで行う操作

その他のサーバー マシンを検証するには、次のコマンドを実行します。

オンライン

./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type server \
  --install-type online \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IP of all the nodes in cluster./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type server \
  --install-type online \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IP of all the nodes in cluster

オフライン

./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type server \
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IP of all the nodes in cluster./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type server \
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IP of all the nodes in cluster

エージェント マシンで行う操作

エージェント マシンを検証するには、次のコマンドを実行します。

オンライン

./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type agent \
  --install-type online \
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type agent \
  --install-type online \
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster

オフライン

./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type agent \
  --install-type offline \ #replace with offline for airgap
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type agent \
  --install-type offline \ #replace with offline for airgap
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster

Task Mining マシンと GPU マシンで行う操作

Task Mining マシンと GPU マシンを検証するには、次のコマンドを実行します。

注: Task Mining ノードと GPU ノードでは、次のコマンドでそれぞれ --node-type task-mining--node-type gpu を使用します。

オンライン

./validateUiPathASReadiness.sh \)\)
  --input /opt/UiPathAutomationSuite/cluster_config.json \)\)
  --node-type task-mining \)\) #replace with GPU for GPU node
  --install-type online \)\)
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster./validateUiPathASReadiness.sh \)\)
  --input /opt/UiPathAutomationSuite/cluster_config.json \)\)
  --node-type task-mining \)\) #replace with GPU for GPU node
  --install-type online \)\)
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster

オフライン

./validateUiPathASReadiness.sh \)\)
  --input /opt/UiPathAutomationSuite/cluster_config.json \)\)
  --node-type task-mining \)\) #replace with GPU for GPU node
  --install-type offline \)\) 
  --prereq-bundle ../sf-infra.tar.gz \)\) 
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \)\)
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster./validateUiPathASReadiness.sh \)\)
  --input /opt/UiPathAutomationSuite/cluster_config.json \)\)
  --node-type task-mining \)\) #replace with GPU for GPU node
  --install-type offline \)\) 
  --prereq-bundle ../sf-infra.tar.gz \)\) 
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \)\)
  --machines "10.0.1.8, 10.0.1.9" # replace with actual machine IP of all the nodes in cluster

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.