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

手動、オフライン: クラスターを復元する

はじめる前に

  • こちらの前提条件を満たしていることを確認してください。
  • バックアップ クラスターでバックアップが無効化されていることを確認します。クラスターの復元中に新しいバックアップが作成されると、不整合が発生します。「クラスターのバックアップを無効化する」をご覧ください。
  • すべての復元ノードで、パッケージの wget、unzip、jq を使用できることを確認してください。
  • 外部データソースは、すべて同じ (SQL Server) である必要があります。
  • クラスター復元の前に NFS サーバーを再起動してください。NFS サーバー ノードで、コマンド systemctl restart nfs-server を実行します。
  • 復元クラスターは、バックアップ クラスターと同じ FQDN である必要があります。

    インストールの種類

    構成手順

    要件

    オフラインのシングルノードの評価モード

    以下のファイルをダウンロードします。

    • sf-installer.zip必須です。ダウンロード手順については「sf-installer.zip」をご覧ください。
    • sf-infra.tar.gz必須です。ダウンロード手順については「sf-infra.tar.gz」をご覧ください。

    オフラインのマルチノードの高可用性対応の運用環境モード

    以下のファイルをダウンロードします。

    • sf-installer.zip必須です。ダウンロード手順については「sf-installer.zip」をご覧ください。
    • sf-infra.tar.gz必須です。ダウンロード手順については「sf-infra.tar.gz」をご覧ください。

復元操作を準備する

重要: クラスターに複数のノードがある場合は、すべてのノードで次の手順に従います。
  1. 任意のマシンにログインします。
  2. /opt/UiPathAutomationSuite フォルダーを作成するために、以下を実行します。
    # Become root
    sudo su -
    
    # Replace {version} with actual installer version
    
    mkdir -p /opt/UiPathAutomationSuite/{version}/installer
    chmod -R 777 /opt/UiPathAutomationSuite# Become root
    sudo su -
    
    # Replace {version} with actual installer version
    
    mkdir -p /opt/UiPathAutomationSuite/{version}/installer
    chmod -R 777 /opt/UiPathAutomationSuite
  3. restore.json およびその他のインストーラー ファイルを /opt/UiPathAutomationSuite/{version} フォルダーにコピーするために、次のコマンドを実行します。詳細については、「復元の構成を準備する」をご覧ください。
    # Replace {version} with actual installer version
    
    cp /path/to/restore.json /opt/UiPathAutomationSuite/${version}/installer
    cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/${version}/installer
    cp /path/to/sf-infra.tar.gz /opt/UiPathAutomationSuite/${version}# Replace {version} with actual installer version
    
    cp /path/to/restore.json /opt/UiPathAutomationSuite/${version}/installer
    cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/${version}/installer
    cp /path/to/sf-infra.tar.gz /opt/UiPathAutomationSuite/${version}
  4. sf-installer.zip を解凍するために、以下を実行します。
    # Navigate to installer folder. Replace {version} with actual installer version
    cd /opt/UiPathAutomationSuite/${version}/installer
    
    unzip sf-installer.zip -d .# Navigate to installer folder. Replace {version} with actual installer version
    cd /opt/UiPathAutomationSuite/${version}/installer
    
    unzip sf-installer.zip -d .

最初のサーバー ノードで etcd を復元する

クラスターの最初のノードで etcd を復元するには、以下を実行します。

./install-uipath.sh -i restore.json -o output.json -r --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline./install-uipath.sh -i restore.json -o output.json -r --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
注: このコマンドは、最初のサーバー ノードのみのノード構成を復元します。

残りのサーバー ノードで etcd を復元する

クラスターの他のサーバー ノードで etcd を復元するには、以下を実行します。

./install-uipath.sh -i ../restore.json -o output.json -r -j server --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline./install-uipath.sh -i ../restore.json -o output.json -r -j server --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
注: このコマンドは、残りのサーバー ノードのノード構成を復元します。

エージェント ノードで etcd を復元する

クラスターのエージェント ノードで etcd を復元するには、以下を実行します。

./install-uipath.sh -i restore.json -o output.json -r -j agent --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline./install-uipath.sh -i restore.json -o output.json -r -j agent --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
注: このコマンドは、残りのエージェント ノードのノード構成を復元します。構成

Task Mining ノードで etcd を復元する

クラスターの Task Mining エージェント ノードで etcd を復元するには、以下を実行します。

./install-uipath.sh -i restore.json -o output.json -r -j task-mining --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline./install-uipath.sh -i restore.json -o output.json -r -j task-mining --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
注: このコマンドは、Task Mining ノードのノード構成を復元します。

GPU ノードで etcd を復元する

注: GPU マシンを復元する前に、「マシンに GPU ドライバーをインストールする」を実行したことを確認してください。

クラスターの GPU エージェント ノードで etcd を復元するには、以下を実行します。

./install-uipath.sh -i restore.json -o output.json -r -j gpu --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline./install-uipath.sh -i restore.json -o output.json -r -j gpu --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
注: このコマンドは、残りの GPU ノードのノード構成を復元します。構成

メンテナンス モードを無効化する

注: この手順が必要になるのは、アップグレード中のロールバック操作に復元が含まれる場合のみです。

ボリュームを復元する前に、メンテナンス モードを無効化する必要があります。

./configureUiPathAS.sh disable-maintenance-mode./configureUiPathAS.sh disable-maintenance-mode

任意のサーバー ノードでボリュームの復元を実行する

etcd の復元が完了した後で、以下を実行して、任意のサーバー ノードでボリュームを復元します。

\./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type offline\./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type offline
注: このコマンドは、クラスターのボリューム データを復元します。

復元したクラスターで AI Center を有効化する

AI Center™ が有効化された Automation Suite クラスターを復元した後、「復元したクラスターで AI Center を有効化する」の手順に従います。

Cluster_config.json を復元する

Automation Suite クラスターの回復後、今後のために cluster_config.json を回復することもできます。クラスターに新しいノードを追加する際やアップグレードをする際に、このファイルが必要になることがあります。
cluster_config.json を復元するには、任意のサーバー ノードから次のコマンドを実行します。
./configureUiPathAS.sh config get -o ./cluster_config.json./configureUiPathAS.sh config get -o ./cluster_config.json
注: 復元したクラスターではバックアップが有効化されていません。バックアップを有効化する場合は、「クラスターのバックアップを有効化する」をご覧ください。

信頼ストアに CA 証明書を追加する

クラスターの復元後、復元した仮想マシンの信頼ストアに CA 証明書を追加してください。詳しくは、以下のページをご覧ください。

Was this page helpful?

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