UiPath Documentation
automation-suite
2022.10
false
Guide d'installation d'Automation Suite
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Étape 5 : Mise à jour des chaînes de connexion du produit migré

Génération du fichier cluster_config.json​

Générez le dernier fichier cluster_config.json comme suit :

  • 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
    
Remarque :

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

Étape 5.2 : Fournir les nouvelles chaînes de connexion pour les produits installés​

Vous devez fournir la chaîne de connexion de la base de données aux bases de données restaurées.

  • Pour fournir la chaîne de connexion restaurée au service Orchestrator, ajoutez ou mettez à jour sql_connection_str sous orchestrator dans le fichier 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
    }
    
  • Pour fournir la chaîne de connexion restaurée au service Insights, ajoutez ou mettez à jour sql_connection_str sous insights dans le fichier 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 }
    
  • Pour valider si le service a été migré avec succès, exécutez la commande suivante, où [service-name] est le service que vous souhaitez valider :

    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
    
Remarque :

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

Étape 5.3 : Exécuter le programme d'installation du service​

En ligne​

Pour exécuter le programme d'installation du service dans un environnement en ligne, exécutez la commande suivante sur le nœud du serveur :

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

Hors ligne​

Pour exécuter le programme d'installation du service dans un environnement hors ligne, utilisez la commande suivante sur le nœud du serveur :

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

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

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour