Automation Suite
2022.10
バナーの背景画像
Automation Suite インストール ガイド
最終更新日 2024年4月24日

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

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

次のように、最新の cluster_config.json ファイルを生成します。
  • オプション A: 古い cluster_config.json がある場合は、次のコマンドをサーバー ノードで実行して、クラスターから構成ファイルを生成します。
    cd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o ./cluster_config.jsoncd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o ./cluster_config.json
  • オプション B: 古い cluster_config.json ファイルがない場合は、次のコマンドをサーバー ノードで実行して、前のバージョンのインストール時に作成された既定値の上書きを生成します。
    cd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -o ./cluster_config.jsoncd /opt/UiPathAutomationSuite/{version}/installer
    
    ./configureUiPathAS.sh config get -o ./cluster_config.json
注:
cluster_config.json のパラメーターを設定する方法の詳細については、「高度なインストール」をご覧ください。

手順 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
    }
  • Test Automation のテーブルがスタンドアロンの Orchestrator データベース内に配置されている場合、Test Automation 機能についても cluster_config.json ファイル内に同じ接続文字列を追加できます。
    "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 }
注: 接続文字列のパスワードの特殊文字はエスケープしてください。

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

オンライン

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

cd /opt/UiPathAutomationSuite/{version}/installer

./install-uipath.sh -i ./cluster_config.json -s -o output.json --accept-license-agreementcd /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-agreementcd /opt/UiPathAutomationSuite/{version}/installer

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

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.