UiPath Documentation
automation-suite
2022.4
false
Guía de instalación de Automation Suite
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Paso 5: actualizar las cadenas de conexión de los productos migrados

Generando el archivo cluster_config.json​

Generate the latest cluster_config.json file as follows:

  • Option A: If you have the old cluster_config.json, generate the configuration file from the cluster by running the following command on the server node:

    cd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o ./cluster_config.json
    cd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o ./cluster_config.json
    
  • Option B: If you do not have the old cluster_config.json file, generate an override of any default values resulted during the installation of the previous version by running the following command on the server node:

    cd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -o ./cluster_config.json
    cd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -o ./cluster_config.json
    
Nota:

For details on how to configure the cluster_config.json parameters, see Advanced installation experience.

Paso 5.2: Proporcionar las nuevas cadenas de conexión para los productos instalados​

Debes proporcionar la cadena de conexión de la base de datos a las bases de datos restauradas.

  • Para proporcionar la cadena de conexión restaurada al servicio de Orchestrator, añade o actualiza sql_connection_str en orchestrator en el archivo cluster_config.json :

    "orchestrator": {
      "sql_connection_str": "<dotnet connection string>",   (added line)
      "enabled": true
    }
    "orchestrator": {
      "sql_connection_str": "<dotnet connection string>",   (added line)
      "enabled": true
    }
    
  • If Test Automation tables are placed inside the standalone Orchestrator database, you can add the same connection string for Test Automation feature inside the cluster_config.json file:

    "orchestrator": {
        "testautomation": {
          "enabled": true,
          "sql_connection_str": "<restored orchesrator connection string>"
        },
      "sql_connection_str": "<restored orchesrator connection string>",   (added line)
      "enabled": true
    }
    "orchestrator": {
        "testautomation": {
          "enabled": true,
          "sql_connection_str": "<restored orchesrator connection string>"
        },
      "sql_connection_str": "<restored orchesrator connection string>",   (added line)
      "enabled": true
    }
    
  • Para proporcionar la cadena de conexión restaurada al servicio de Insights, añade o actualiza sql_connection_str en insights en el archivo cluster_config.json .

    "insights": {
       "sql_connection_str": "<restored connection string>",   (added line)
       "enabled": true }
    "insights": {
       "sql_connection_str": "<restored connection string>",   (added line)
       "enabled": true }
    
  • Para validar si el servicio se migró correctamente, ejecuta el siguiente comando, donde [service-name] es el servicio que deseas validar:

    kubectl -n uipath get secret [service-name]-secrets -o jsonpath='{.data.sqlConnectionString}'
          | base64 --decode
    kubectl -n uipath get secret [service-name]-secrets -o jsonpath='{.data.sqlConnectionString}'
          | base64 --decode
    
Nota:

Make sure you escape special characters in the connection string's password.

Paso 5.3: Ejecutar el instalador de servicio​

En línea​

Para ejecutar el instalador del servicio en un entorno en línea, ejecuta el siguiente comando en el nodo del servidor:

cd /opt/UiPathAutomationSuite/{version}/installer

./install-uipath.sh -i ./cluster_config.json -s -o output.json --accept-license-agreement
cd /opt/UiPathAutomationSuite/{version}/installer

./install-uipath.sh -i ./cluster_config.json -s -o output.json --accept-license-agreement

Sin conexión​

Para ejecutar el instalador de servicio en un entorno sin conexión, utiliza el siguiente comando en el nodo del servidor:

cd /opt/UiPathAutomationSuite/{version}/installer

./install-uipath.sh -i ./cluster_config.json -s --install-type offline -o output.json --accept-license-agreement
cd /opt/UiPathAutomationSuite/{version}/installer

./install-uipath.sh -i ./cluster_config.json -s --install-type offline -o output.json --accept-license-agreement

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado