Automation Suite をインストールする前に、インストールの前提条件とインフラストラクチャの準備状況を検証することをお勧めします。専用のスクリプトを使用し、環境を評価して概要を生成してからインストールを実行できます。
スクリプトを使用してインストールの前提条件を検証する
スクリプトをダウンロードする
オフライン インストール
オフライン インストールの場合は、この手順をインターネットと、Automation Suite がデプロイされるエアギャップ マシンの両方にアクセスできるマシンで実行する必要があります。オンラインのマシンから、最初のターゲット マシンにファイルをコピーします。
前提条件スクリプトはインストーラーとともに sf-installer.zip
というアーカイブにパッケージ化されており、サポート ツールはオフライン専用の sf-infra.tar.gz
としてバンドルされています。これらのファイルは、Automation Suite をインストールするすべてのマシンについてレポートを生成するのに必要です。
Installation type | Files to download |
---|---|
Online | sf-installer.zip – Mandatory. For download instructions, see sf-installer.zip. |
Offline | sf-installer.zip – Mandatory. For download instructions, see sf-installer.zip.sf-infra.tar.gz – Mandatory. For download instructions, see sf-infra.tar.gz. |
スクリプトを使用する準備をする
- 次のコマンドを実行してルートになります。
sudo su -
- 次のコマンドを実行して、ファイルを
/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}
- 次のコマンドを実行して、パッケージを解凍します。
unzip sf-installer.zip -d installer
- 次のコマンドを実行して、必要な権限を割り当て、スクリプト フォルダーに移動します。
chmod -R 755 installer
cd installer
スクリプトのパラメーター
ヘルプ・セクションおよびサポートされるフラグを表示するには、次のコマンドを実行します。
./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
***************************************************************************************
次の表で、スクリプトの実行時に使用できるパラメーターについて説明します。
Parameter | Description |
---|---|
-i|--input | Accepts the cluster_config.json file as input. This file defines the parameters, settings, and preferences applied to the UiPath services deployed via Automation Suite. For details, see Advanced Installation Experience.If you do not provide this file, the script will trigger the interactive experience to collect these inputs. The file will then be generated on your behalf. |
-m|--machines | Accepts comma-separated IP address / hostnames of all the machines. This is required to check the connectivity between all the nodes on the required port. The parameter is mandatory for multi-node HA-ready production installations. In addition to that, the parameter is also required if you plan to add a Task Mining or GPU node in a single-node evaluation cluster. |
-n|--node-type | Accepts the type of the current node. Possible values are: server , agent , task-mining , and gpu .The default value is server . |
--install-type | Accepts the installation method: online or offline .The default value is online . |
--install-standalone-aicenter | This is a Boolean flag. Pass it if you plan to install standalone AI Center. |
--prereq-bundle | Accepts the absolute path where the sf-infra.tar.gz is located. |
--prereq-tmp-folder | Accepts the absolute path where sf-infra.tar.gz bundle will be temporarily extracted. If this path is not provided, the installer will select the /tmp folder. |
シングルノードの評価設定を検証する
オンライン
シングルノードの評価マシンを検証するには、次のコマンドを実行します。
./validateUiPathASReadiness.sh \
--node-type server \ # replace server with task-mining, gpu if you wish to install.
--install-type online
オフライン
シングルノード マシンを検証するには、次のコマンドを実行します。
./validateUiPathASReadiness.sh \
--node-type server \
--install-type offline \
--prereq-bundle ../sf-infra.tar.gz \
--prereq-tmp-folder /opt/UiPathAutomationSuite/tmp
Task Mining または GPU ノードを検証するには、次の手順を実行します。
- サーバー マシン上に生成された
cluster_config.json
ファイルをすべてのエージェント マシンにコピーします。
scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite
注:
権限エラーのためにファイルを
/opt/UiPathAutomationSuite
フォルダーにコピーできない場合は、ファイルを一時的に新しいマシンの/var/tmp
にコピーしてから、/opt/UiPathAutomationSuite
に移動できます。または、新しいマシン上の
/opt/UiPathAutomationSuite
フォルダーに対して、フル アクセス許可 (777
) を付与することもできます。それには、chmod -R 777 /opt/UiPathAutomationSuite
コマンドを実行します。
- 環境を検証するには、エージェント マシンで次のコマンドを実行します。
注:
Task Mining ノードまたは GPU ノードでコマンドを実行する場合は、
--node-type agent
をそれぞれ--node-type task-mining
または--node-type gpu
に置き換えます。
オンライン
./validateUiPathASReadiness.sh \
--input /opt/UiPathAutomationSuite/cluster_config.json \
--node-type agent \ # replace agent with task-mining, gpu if you wish to install.
--install-type online \ #replace with offline for airgap
--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 \ # replace agent with task-mining, gpu if you wish to install.
--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
7 か月前に更新