Automation Suite
2022,4
False
Image de fond de la bannière
Guide d'installation d'Automation Suite
Dernière mise à jour 24 avr. 2024

Validation des prérequis dans une configuration d'évaluation à nœud unique

Avant d'installer Automation Suite, il est recommandé de valider les conditions préalables à l'installation et la préparation de l'infrastructure. Vous pouvez utiliser le script dédié pour évaluer votre environnement et générer un résumé avant d'effectuer l'installation.

Utilisation du script pour valider les prérequis d'installation

Téléchargement du script

Remarque : Pour les installations hors ligne, vous devez effectuer cette étape sur une machine ayant accès à Internet et aux machines isolées sur lesquelles Automation Suite est déployée. Copiez les fichiers de la machine en ligne vers la première machine cible.
Le script prérequis est empaqueté avec le programme d'installation dans une archive appelée sf-installer.zip , et les outils de prise en charge sont regroupés en tant que sf-infra.tar.gz pour le mode hors connexion uniquement. Vous avez besoin de ces fichiers pour générer un rapport sur toutes les machines sur lesquelles vous prévoyez d'installer Automation Suite.

Type d'installation

Fichiers à télécharger

En ligne

sf-installer.zipObligatoire. Pour obtenir des instructions de téléchargement, consultez sf-installer.zip.

Hors ligne

sf-installer.zipObligatoire. Pour obtenir des instructions de téléchargement, consultez sf-installer.zip.
sf-infra.tar.gzObligatoire. Pour obtenir des instructions de téléchargement, consultez la section sf-infra.tar.gz.

Préparation à l'utilisation du script

  1. Devenez root en exécutant la commande suivante :

    sudo su -sudo su -
  2. Copiez les fichiers dans le dossier /opt/UiPathAutomationSuite/{version} en exécutant la commande suivante :
    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. Décompressez le package en exécutant la commande suivante :

    unzip sf-installer.zip -d installerunzip sf-installer.zip -d installer
  4. Attribuez les autorisations nécessaires et accédez au dossier de script en exécutant la commande suivante :

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

Paramètres de script

Pour afficher la section d'aide et les indicateurs pris en charge, exécutez la commande suivante :

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

Sortie :

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

Le tableau suivant décrit les paramètres que vous pouvez utiliser lors de l'exécution du script :

Paramètre

Description

-i|--input

Accepte le fichier cluster_config.json comme entrée. Ce fichier définit les paramètres et préférences appliqués aux services UiPath déployés via Automation Suite. Pour plus de détails, voir Expérience d'installation avancée ( Advanced Installation Experience) .

Si vous ne fournissez pas ce fichier, le script déclenchera l'expérience interactive pour collecter ces entrées. Le fichier sera ensuite généré en votre nom.

-m|--machines

Accepte les adresses IP/noms d'hôte séparés par des virgules de toutes les machines. Cela est nécessaire pour vérifier la connectivité entre tous les nœuds sur le port requis.

Le paramètre est obligatoire pour les installations de production multi-nœuds compatibles haute disponibilité. En plus de cela, le paramètre est également requis si vous prévoyez d'ajouter un nœud Task Mining ou GPU dans un cluster d'évaluation à nœud unique.

-n|--node-type

Accepte le type du nœud actuel. Les valeurs possibles sont : server , agent , task-mining et gpu .
La valeur par défaut est server.

--install-type

Accepte la méthode d'installation : online ou offline .
La valeur par défaut est online.

--install-standalone-aicenter

Il s'agit d'un indicateur booléen. Acceptez-le si vous prévoyez d'installer AI Center autonome.

--prereq-bundle

Accepte le chemin d'accès absolu où se trouve sf-infra.tar.gz .

--prereq-tmp-folder

Accepte le chemin d'accès absolu où le bundle sf-infra.tar.gz sera temporairement extrait. Si ce chemin n'est pas fourni, le programme d'installation sélectionnera le dossier /tmp .

Validation d'une configuration d'évaluation à nœud unique

En ligne

Pour valider une machine d'évaluation à nœud unique, exécutez la commande suivante :

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

Hors ligne

Pour valider une machine à nœud unique, exécutez la commande suivante :

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

Pour valider un nœud Task Mining ou GPU, procédez comme suit :

  1. Copiez le fichier cluster_config.json généré sur la machine serveur sur toutes les machines agent :
    scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuitescp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite
    Remarque :
    Si vous ne parvenez pas à copier le fichier dans le dossier /opt/UiPathAutomationSuite en raison d'une erreur d'autorisation, vous pouvez le copier temporairement dans /var/tmp sur les nouvelles machines, puis le déplacer vers /opt/UiPathAutomationSuite .
    Vous pouvez également fournir des autorisations d'accès complètes ( 777 ) au dossier /opt/UiPathAutomationSuite sur les nouvelles machines, en exécutant la commande suivante : chmod -R 777 /opt/UiPathAutomationSuite .
  2. Pour valider l'environnement, exécutez la commande suivante sur les machines agent :

    Remarque : si vous exécutez la commande sur un nœud Task Mining ou GPU, remplacez --node-type agent par --node-type task-mining ou --node-type gpu, respectivement.

En ligne

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

Hors ligne

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

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.