Automation Suite
2022.4
False
Imagen de fondo del banner
Guía de instalación de Automation Suite
Última actualización 24 de abr. de 2024

Validación de los requisitos previos en una configuración de producción lista para alta disponibilidad multinodo

Antes de instalar Automation Suite, se recomienda validar los requisitos previos de la instalación y la disponibilidad de la infraestructura. Puede utilizar el script dedicado para evaluar su entorno y generar un resumen antes de realizar la instalación.

Using the script to validate installation prerequisites

Descargar el script

Nota: Para las instalaciones sin conexión, debes realizar este paso en una máquina con acceso a Internet y a máquinas aisladas en las que se haya implementado Automation Suite. Copie el archivo de la máquina en línea a la primera máquina de destino.
El script de requisito previo se empaqueta junto con el instalador en un archivo llamado sf-installer.zip, y las herramientas de soporte se incluyen como sf-infra.tar.gz solo para sin conexión. Necesita estos archivos para generar un informe en todas las máquinas en las que planea instalar Automation Suite.

Tipo de instalación

Archivos para descargar

En línea

sf-installer.zip : obligatorio. Para obtener instrucciones de descarga, consulta sf-installer.zip.

Sin conexión

sf-installer.zip : obligatorio. Para obtener instrucciones de descarga, consulta sf-installer.zip.
sf-infra.tar.gz : obligatorio. Para obtener instrucciones de descarga, consulta sf-infra.tar.gz.

Preparación para usar el script

  1. Conviértase en raíz ejecutando el siguiente comando:

    sudo su -sudo su -
  2. Copia los archivos en la carpeta /opt/UiPathAutomationSuite/{version} ejecutando el siguiente comando:
    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. Descomprime el paquete ejecutando el siguiente comando:

    unzip sf-installer.zip -d installerunzip sf-installer.zip -d installer
  4. Asigne los permisos necesarios y navegue a la carpeta del script ejecutando el siguiente comando:

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

Parámetros de los scripts

Para ver la sección de ayuda y los indicadores compatibles, ejecuta el siguiente comando:

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

Salida:

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

La siguiente tabla describe los parámetros que puede utilizar al ejecutar el script:

Parámetro

Descripción

-i|--input

Acepta el archivo cluster_config.json como entrada. Este archivo define los parámetros, la configuración y las preferencias que se aplican a los servicios de UiPath implementados a través de Automation Suite. Para obtener más información, consulta Experiencia de instalación avanzada.

Si no proporcionas este archivo, el script desencadenará la experiencia interactiva para recopilar estas entradas. El archivo se generará en su nombre.

-m|--machines

Acepta direcciones IP / nombres de host separados por comas de todas las máquinas. Esto es necesario para verificar la conectividad entre todos los nodos en el puerto requerido.

El parámetro es obligatorio para instalaciones de producción multinodo preparadas para alta disponibilidad. Además de eso, el parámetro también es necesario si planeas agregar un nodo de Task Mining o GPU en un clúster de evaluación de un solo nodo.

-n|--node-type

Acepta el tipo del nodo actual. Los valores posibles son: server, agent, task-mining y gpu.
El valor predeterminado es server.

--install-type

Acepta el método de instalación: online o offline.
El valor predeterminado es online.

--install-standalone-aicenter

Esta es una bandera booleana. Páselo si planea instalar AI Center independiente.

--prereq-bundle

Acepta la ruta absoluta en la que se encuentra sf-infra.tar.gz .

--prereq-tmp-folder

Acepta la ruta absoluta donde se extraerá temporalmente el paquete sf-infra.tar.gz . Si no se proporciona esta ruta, el instalador seleccionará la carpeta /tmp .

Validating a multi-node HA-ready production setup

En la primera máquina servidor

  1. Para validar la primera máquina del servidor, ejecute el siguiente comando:

En línea

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

Sin conexión

./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
Una vez que se ejecuta este script, genera un archivo cluster_config.json en la carpeta /opt/UiPathAutomationSuite . Este archivo es necesario en todas las demás máquinas.
2. Para copiar el archivo cluster_config.json en las otras máquinas, ejecute el siguiente comando:
scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuitescp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite
Nota:
Si no puedes copiar el archivo en la carpeta /opt/UiPathAutomationSuite debido a errores de permisos, puedes copiarlo temporalmente en /var/tmp en las máquinas nuevas y, a continuación, moverlo a /opt/UiPathAutomationSuite.
También puedes proporcionar permisos de acceso completo (777) a la carpeta /opt/UiPathAutomationSuite en las máquinas nuevas, ejecutando el siguiente comando: chmod -R 777 /opt/UiPathAutomationSuite.

En otras máquinas del servidor

Para validar las otras máquinas del servidor, ejecuta el siguiente comando:

En línea

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

Sin conexión

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

En máquinas con agente

Para validar las máquinas agente, ejecuta el siguiente comando:

En línea

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

Sin conexión

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

On Task Mining y máquinas GPU

Para validar las máquinas Task Mining y GPU, ejecuta el siguiente comando:

Nota: para Task Mining y nodos GPU, usa --node-type task-mining y --node-type gpu, respectivamente, en los siguientes comandos.

En línea

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

Sin conexión

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

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Logotipo blanco de UiPath
Confianza y seguridad
© 2005-2024 UiPath. All rights reserved.