UiPath Documentation
automation-suite
2022.4
false
Automation Suite-Installationsanleitung
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Validieren der Voraussetzungen in einer Auswertungseinrichtung mit einem einzelnen Knoten

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​

Hinweis:

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.

InstallationstypHerunterzuladende Dateien
Onlinesf-installer.zip – Mandatory. For download instructions, see sf-installer.zip.
Offlinesf-installer.zip – Mandatory. For download instructions, see sf-installer.zip.

sf-infra.tar.gz – Mandatory. For download instructions, see sf-infra.tar.gz.

Vorbereiten der Verwendung des Skripts​

  1. Werden Sie Root, indem Sie den folgenden Befehl ausführen:

    sudo su -
    sudo su -
    
  2. 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}
    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. Entpacken Sie das Paket, indem Sie den folgenden Befehl ausführen:

    unzip sf-installer.zip -d installer
    unzip sf-installer.zip -d installer
    
  4. Weisen Sie die erforderlichen Berechtigungen zu und navigieren Sie zum Skriptordner, indem Sie den folgenden Befehl ausführen:

    chmod -R 755 installer
    cd installer
    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
./validateUiPathASReadiness.sh --help

Ausgabe:

***************************************************************************************
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
***************************************************************************************

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

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

Wenn Sie diese Datei nicht bereitstellen, löst das Skript die interaktive Erfahrung aus, um diese Eingaben zu sammeln. Die Datei wird dann in Ihrem Namen generiert.
-m|--machinesAkzeptiert durch Kommas getrennte IP-Adressen/Hostnamen aller Maschinen. Dies ist erforderlich, um die Konnektivität zwischen allen Knoten am erforderlichen Port zu überprüfen.

Der Parameter ist für HA-fähige Produktionsinstallationen mit mehreren Knoten obligatorisch. Darüber hinaus ist der Parameter auch erforderlich, wenn Sie einen Task Mining- oder GPU-Knoten in einem Evaluierungscluster mit einem einzelnen Knoten hinzufügen möchten.
-n|--node-typeAkzeptiert den Typ des aktuellen Knotens. Mögliche Werte sind: server , agent , task-mining und gpu .

Der Standardwert ist server.
--install-typeAkzeptiert die Installationsmethode: online oder offline .

Der Standardwert ist online.
--install-standalone-aicenterDies ist ein boolesches Flag. Übergeben Sie es, wenn Sie planen, ein eigenständiges AI Center zu installieren.
--prereq-bundleAkzeptiert den absoluten Pfad, in dem sich sf-infra.tar.gz befindet.
--prereq-tmp-folderAkzeptiert den absoluten Pfad, in den das sf-infra.tar.gz -Paket vorübergehend extrahiert wird. Wenn dieser Pfad nicht angegeben wird, wählt das Installationsprogramm den Ordner /tmp aus.

Validieren eines Evaluierungs-Setups mit einem einzelnen Knoten​

Online

Führen Sie den folgenden Befehl aus, um eine Evaluierungsmaschine mit einem einzelnen Knoten zu validieren:

./validateUiPathASReadiness.sh \
  --node-type server \ # replace server with task-mining, gpu if you wish to install.
  --install-type online
./validateUiPathASReadiness.sh \
  --node-type server \ # replace server with task-mining, gpu if you wish to install.
  --install-type online

Offline

Führen Sie den folgenden Befehl aus, um eine Maschine mit einem einzelnen Knoten zu validieren:

./validateUiPathASReadiness.sh \
  --node-type server \
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp
./validateUiPathASReadiness.sh \
  --node-type server \
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp

Führen Sie die folgenden Schritte aus, um einen Task Mining- oder GPU-Knoten zu validieren:

  1. Kopieren Sie die Datei cluster_config.json , die auf der Servermaschine generiert wurde, auf alle Agentmaschinen:

    scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite
    scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite
    
    Hinweis:

    Wenn Sie die Datei aufgrund eines Berechtigungsfehlers 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 .

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

    Hinweis:

    Wenn Sie den Befehl auf einem Task Mining- oder GPU-Knoten ausführen, ersetzen Sie --node-type agent durch --node-type task-mining bzw. --node-type gpu .

Online

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

Offline

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

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben