Abonnieren

UiPath Automation Suite

Die Anleitung für die UiPath Automation Suite

Validierung der Voraussetzungen in einer HA-fähigen Produktionseinrichtung mit mehreren Knoten

Überprüfen Sie, ob Ihre HA-fähige Produktionsumgebung mit mehreren Knoten die Anforderungen erfüllt, bevor Sie die Automation Suite mithilfe der dedizierten Skripts installieren.

Vor der Installation der Automation Suite empfiehlt es sich, die Installationsvoraussetzungen und die Bereitschaft der Infrastruktur zu überprüfen. Sie können das dedizierte Skript verwenden, um Ihre Umgebung zu bewerten und eine Zusammenfassung zu generieren, bevor Sie die Installation durchführen.

Verwenden des Skripts zum Überprüfen der Installationsvoraussetzungen


Herunterladen des Skripts

📘

Offlineinstallationen

Bei Offlineinstallationen müssen Sie diesen Schritt auf einer Maschine mit Internetzugang und zu den Air-Gap-Maschinen ausführen, auf denen die Automation Suite bereitgestellt wird. Kopieren Sie die Datei von der Onlinemaschine auf die erste Zielmaschine.

Das vorausgesetzte Skript wird zusammen mit dem Installationsprogramm in einem Archiv mit dem Namen sf-installer.zip verpackt, und unterstützende Tools sind als sf-infra.tar.gz nur für den Offline-Modus gebündelt. Sie benötigen diese Dateien, um einen Bericht über alle Maschinen zu generieren, auf denen Sie die Automation Suite installieren möchten.

Installation typeFiles to download
Onlinesf-installer.zipMandatory. For download instructions, see sf-installer.zip.
Offlinesf-installer.zipMandatory. For download instructions, see sf-installer.zip.
sf-infra.tar.gzMandatory. For download instructions, see sf-infra.tar.gz.

Vorbereitung auf die Verwendung des Skripts

  1. Werden Sie Root, indem Sie den folgenden Befehl ausführen:
sudo su -
  1. Kopieren Sie die Dateien in den Ordner /opt/UiPathAutomationSuite/{version} , indem Sie den folgenden Befehl ausführen:
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}
  1. Entpacken Sie das Paket, indem Sie den folgenden Befehl ausführen:
unzip sf-installer.zip -d installer
  1. Weisen Sie die erforderlichen Berechtigungen zu und navigieren Sie zum Skriptordner, indem Sie den folgenden Befehl ausführen:
chmod -R 755 installer
cd installer

Script parameters

Führen Sie den folgenden Befehl aus, um den Hilfeabschnitt und unterstützte Flags anzuzeigen:

./validateUiPathASReadiness.sh --help
Klicken Sie hier, um die Ausgabe anzuzeigen.
***************************************************************************************

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

***************************************************************************************

In der folgenden Tabelle werden die Parameter beschrieben, die Sie beim Ausführen des Skripts verwenden können:

ParameterDescription
-i|--inputAccepts 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|--machinesAccepts 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-typeAccepts the type of the current node. Possible values are: server, agent, task-mining, and gpu.
The default value is server.
--install-typeAccepts the installation method: online or offline.
The default value is online.
--install-standalone-aicenterThis is a Boolean flag. Pass it if you plan to install standalone AI Center.
--prereq-bundleAccepts the absolute path where the sf-infra.tar.gz is located.
--prereq-tmp-folderAccepts 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.

 

Validierung einer HA-fähigen Produktionseinrichtung mit mehreren Knoten

Auf der ersten Servermaschine

  1. Führen Sie den folgenden Befehl aus, um die erste Servermaschine zu validieren:

Online

./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

Offline

./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

Sobald dieses Skript ausgeführt wird, generiert es eine cluster_config.json -Datei im Ordner /opt/UiPathAutomationSuite . Diese Datei ist auf allen anderen Maschinen erforderlich.

  1. Führen Sie den folgenden Befehl aus, um die Datei cluster_config.json auf die anderen Maschinen zu kopieren:
scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite

📘

Tipp

Wenn Sie die Datei aufgrund von Berechtigungsfehlern nicht in den Ordner /opt/UiPathAutomationSuite kopieren können, können Sie sie vorübergehend nach /var/tmp auf den neuen Maschinen kopieren und dann nach /opt/UiPathAutomationSuite verschieben.

Alternativ können Sie auch Vollzugriffsberechtigungen ( 777 ) für den Ordner /opt/UiPathAutomationSuite auf den neuen Maschinen erteilen, indem Sie den folgenden Befehl ausführen: chmod -R 777 /opt/UiPathAutomationSuite .

Auf den anderen Servermaschinen

Führen Sie den folgenden Befehl aus, um die anderen Servermaschinen zu validieren:

Online

./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

Offline

./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

Auf Agent-Maschinen

Führen Sie den folgenden Befehl aus, um die Agent-Maschinen zu validieren:

Online

./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

Offline

./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

Auf Task Mining-Maschinen und GPU-Maschinen

Führen Sie den folgenden Befehl aus, um die Task Mining- und GPU-Maschinen zu validieren:

📘

Hinweis:

Verwenden Sie für Task Mining- und GPU-Knoten --node-type task-mining bzw. --node-type gpu in den folgenden Befehlen.

Online

./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

Offline

./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

Aktualisiert vor 7 Monaten


Validierung der Voraussetzungen in einer HA-fähigen Produktionseinrichtung mit mehreren Knoten


Überprüfen Sie, ob Ihre HA-fähige Produktionsumgebung mit mehreren Knoten die Anforderungen erfüllt, bevor Sie die Automation Suite mithilfe der dedizierten Skripts installieren.

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.