UiPath Documentation
automation-suite
2022.10
false
Automation Suite インストール ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

手順 5: 以降済みの製品の接続文字列を更新する

cluster_config.json ファイルを生成する​

次のように、最新の cluster_config.json ファイルを生成します。

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

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

手順 5.2: インストール済み製品の新しい接続文字列を指定する​

復元したデータベースに対するデータベース接続文字列を指定する必要があります。

  • 復元した接続文字列を Orchestrator サービスに指定するには、cluster_config.json ファイル内の orchestrator 下の sql_connection_str を追加または更新します。

    "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
    }
    
  • 復元した接続文字列を Insights サービスに指定するには、cluster_config.json ファイルの insights の下にあるsql_connection_strを追加または更新します。

    "insights": {
       "sql_connection_str": "<restored connection string>",   (added line)
       "enabled": true }
    "insights": {
       "sql_connection_str": "<restored connection string>",   (added line)
       "enabled": true }
    
  • サービスが正常に移行されたかどうかを確認するには、次のコマンドを実行します。 [service-name] は検証するサービスです。

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

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

手順 5.3: サービス インストーラーを実行する​

オンライン​

サービス インストーラーをオンライン環境で実行するには、サーバー ノードで次のコマンドを実行します。

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

オフライン​

サービス インストーラーをオフライン環境で実行するには、サーバー ノードで次のコマンドを使用します。

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

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得