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

Disaster Recovery - セカンダリ クラスターをインストールする

アクティブ/パッシブ デプロイにセカンダリ Automation Suite クラスターをインストールするには、次の手順を実行します。

  1. cluster_config.json ファイルをプライマリ Automation Suite クラスターからセカンダリ Automation Suite クラスター内のサーバーとして識別されたノードの 1 つに生成またはコピーします。詳細については、「プライマリ クラスターの cluster_config.json を生成またはコピーする」をご覧ください。
  2. cluster_config.json ファイルをセカンダリ Automation Suite クラスターに固有のパラメーターで更新します。
  3. Automation Suite のインストールを再開します。

  4. 非アクティブな製品をオフにします。

プライマリ クラスターの cluster_config.json を生成またはコピーする

新しい cluster_config.json ファイルを生成するか、プライマリ クラスターからコピーします。
  1. 任意のサーバー ノードにログインし、ルートになります。
    ssh <username>@<machine_ip>
    
    sudo su -
    
    export PATH=$PATH:/var/lib/rancher/rke2/bin
    export KUBECONFIG=/etc/rancher/rke2/rke2.yamlssh <username>@<machine_ip>
    
    sudo su -
    
    export PATH=$PATH:/var/lib/rancher/rke2/bin
    export KUBECONFIG=/etc/rancher/rke2/rke2.yaml
  2. cluster_config.json ファイルがない場合は、これを生成します。
    ./configureUiPathAS.sh config get -o /path/to/new/cluster_config.json./configureUiPathAS.sh config get -o /path/to/new/cluster_config.json
  3. cluster_config.json ファイルをセカンダリ クラスター内のサーバー ノードにコピーします。
    scp /path/to/new/cluster_config.json <username>@<primary_machine_ip>:<username>@<secondary_machine_ip>scp /path/to/new/cluster_config.json <username>@<primary_machine_ip>:<username>@<secondary_machine_ip>

cluster_config.json を更新する

次の手順を実行して、cluster_config.json ファイルをセカンダリ Automation Suite クラスターに固有のパラメーターで更新します。
  1. サポートされていない製品をオフにします。
    マルチサイトでサポートされていない製品をすべて false に設定します。
    {
      "test_manager": {
        "enabled": false
      },
      "process_mining": {
        "enabled": false
      },
      "automation_hub": {
        "enabled": false
      },
      "insights": {
        "enabled": false
      }
    }{
      "test_manager": {
        "enabled": false
      },
      "process_mining": {
        "enabled": false
      },
      "automation_hub": {
        "enabled": false
      },
      "insights": {
        "enabled": false
      }
    }
  2. プライマリ クラスターの kubeconfig を生成します。これは、プライマリ クラスターで行われたセカンダリ クラスターによる構成の一部にアクセスするために必要です。障害復旧に関する制限付きの権限で kubeconfig ファイルを取得するには、次のコマンドを実行します。
    ./configureUiPathAS.sh kubeconfig get --multisite./configureUiPathAS.sh kubeconfig get --multisite

    コマンドによって出力された値をコピーします。この値は次の手順で必要になります。

  3. cluster_config.json ファイルをセカンダリ クラスターに固有のパラメーターで更新します。詳細については、「高度なインストール」をご覧ください。
  4. rke_token の新しい GUID を生成して、セカンダリ クラスターがプライマリ クラスターに参加することを防ぎます。このためには、以下のコマンドを実行します。
    LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16

インストールを再開する

前の手順のパラメーターを cluster_config.json で指定または変更すると、ドキュメントの以降の手順に従ってインストールを再開できます。
注:
Automation Suite のインストールは install-uipath.sh インストーラーを使用して実行する必要があります。つまり、既定のインストール手順をスキップして、高度なインストール手順を実行できます。
新しい cluster_config.json を生成する必要はありません。

非アクティブな製品をオフにする

次のコマンドを使用すると、クラスターをスケール ダウンして非アクティブな製品をオフにすることができます。

./configureUiPathAS.sh products scale-down./configureUiPathAS.sh products scale-down

Was this page helpful?

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