第4章 デプロイメントタイプによるインフラストラクチャーの変更
Ansible Automation Platform 2.6 へのアップグレード時に必要なインフラストラクチャーの変更を確認できます。インフラストラクチャーの変更は、現行バージョン、デプロイメント方法、およびターゲットトポロジーによって異なります。
- RPM および Operator ベースのデプロイメント: バージョン 2.4 または 2.5 から 2.6 に直接アップグレードします。
- コンテナーベースのデプロイメント: バージョン 2.5 から 2.6 にアップグレードします (2.4 からのアップグレードはサポートされていません)
各デプロイメントタイプのセクションには、アップグレードの計画に役立つトポロジー図、インフラストラクチャー要件、および設定例が含まれています。
4.1. RPM ベースのデプロイメント リンクのコピーリンクがクリップボードにコピーされました!
次のセクションでは、RPM ベースのデプロイメントでテスト済みのインフラストラクチャーの変更について説明します。段階的なアップグレード手順については、RPM アップグレード を参照してください。
4.1.1. 2.4 のシングルノード Automation Controller デプロイメントを 2.6 のグローストポロジーにアップグレードする リンクのコピーリンクがクリップボードにコピーされました!
2.4 のシングルノード Automation Controller デプロイメントを 2.6 のグローストポロジーにアップグレードできます。このセクションでは、インフラストラクチャーの変更、要件、アップグレードのためのサンプルインベントリーについて説明します。
4.1.1.1. 2.4 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、このデプロイメントモデルの 2.4 インフラストラクチャートポロジーの概要を示しています。
図4.1 2.4 インフラストラクチャートポロジー図
4.1.1.2. 2.6 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、Red Hat がこのデプロイメントモデルでテストした 2.6 インフラストラクチャートポロジーの概要を示しています。
図4.2 2.6 インフラストラクチャートポロジー図
4.1.1.3. シングルノード Automation Controller デプロイメントのアップグレード要件 リンクのコピーリンクがクリップボードにコピーされました!
次の表は、Ansible Automation Platform バージョン 2.4 から 2.6 にアップグレードするための要件を示しています。
| 既存の 2.4 トポロジー | テスト済みの 2.6 トポロジー | 各仮想マシンの要件 |
|---|---|---|
| 冗長化されていない Automation Controller のみのデプロイメント:
| グローストポロジー:
| テスト済みのデプロイメントモデル ガイドの RPM グローストポロジー セクションを参照してください。 |
4.1.1.4. インベントリーファイルの例 リンクのコピーリンクがクリップボードにコピーされました!
次のインベントリーファイルは、2.6 グローストポロジーにアップグレードするために必要な変更を加えて更新されました。
# This is the RPM-based Ansible Automation Platform installer inventory file intended for upgrading from a 2.4 single automation controller deployment to a 2.6 growth deployment.
# Consult the Ansible Automation Platform product documentation about this topology's tested hardware configuration.
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/tested_deployment_models/rpm-topologies
# For all optional variables consult the Ansible Automation Platform documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation
# This section is for your platform gateway hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[automationgateway]
gateway.example.org
# This section is for your automation controller hosts from your 2.4 inventory
# -----------------------------------------------------
[automationcontroller]
controller.example.org
[automationcontroller:vars]
peers=execution_nodes
# This section is for your execution hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[execution_nodes]
exec.example.org
# This section is for your automation hub hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[automationhub]
hub.example.org
# This section is for your Event-Driven Ansible hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[automationedacontroller]
eda.example.org
# This section is for the Ansible Automation Platform database from your 2.4 inventory file
# -----------------------------------------------------
[database]
db.example.org
[all:vars]
# Common variables from your 2.4 inventory file
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
registry_username=<your RHN username>
registry_password=<your RHN password>
# Common variables - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
redis_mode=standalone
# Platform gateway - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#platform-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_pg_host=db.example.org
automationgateway_pg_password=<set your own>
# Automation controller variables from your 2.4 inventory file
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#controller-variables
# -----------------------------------------------------
admin_password=<set your own>
pg_host=db.example.org
pg_password=<set your own>
# Automation hub - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#hub-variables
# -----------------------------------------------------
automationhub_admin_password=<set your own>
automationhub_pg_host=db.example.org
automationhub_pg_password=<set your own>
# Event-Driven Ansible - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-variables
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=db.example.org
automationedacontroller_pg_password=<set your own>
4.1.2. 2.4 シングルノード Automation Controller と Automation Hub のデプロイメントを 2.6 グローストポロジーにアップグレードする リンクのコピーリンクがクリップボードにコピーされました!
2.4 シングルノード Automation Controller と Automation Hub のデプロイメントを 2.6 グローストポロジーにアップグレードできます。このセクションでは、インフラストラクチャーの変更、要件、アップグレードのためのサンプルインベントリーについて説明します。
4.1.2.1. 2.4 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、このデプロイメントモデルの 2.4 インフラストラクチャートポロジーの概要を示しています。
図4.3 2.4 インフラストラクチャートポロジー図
4.1.2.2. 2.6 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、Red Hat がこのデプロイメントモデルでテストした 2.6 インフラストラクチャートポロジーの概要を示しています。
図4.4 2.6 インフラストラクチャートポロジー図
4.1.2.3. シングルノードの Automation Controller と Automation Hub のデプロイメントのアップグレード要件 リンクのコピーリンクがクリップボードにコピーされました!
次の表は、Ansible Automation Platform バージョン 2.4 から 2.6 にアップグレードするための要件を示しています。
| 既存の 2.4 トポロジー | テスト済みの 2.6 トポロジー | 各仮想マシンの要件 |
|---|---|---|
| Automation Controller と Automation Hub を含む非冗長化デプロイメント:
| グローストポロジー:
| テスト済みのデプロイメントモデル ガイドの RPM グローストポロジー セクションを参照してください。 |
4.1.2.4. インベントリーファイルの例 リンクのコピーリンクがクリップボードにコピーされました!
次のインベントリーファイルは、2.6 グローストポロジーにアップグレードするために必要な変更を加えて更新されました。
# This is the RPM-based Ansible Automation Platform installer inventory file intended for upgrading from a 2.4 single automation controller and automation hub deployment to a 2.6 growth deployment.
# Consult the Ansible Automation Platform product documentation about this topology's tested hardware configuration.
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/tested_deployment_models/rpm-topologies
# For all optional variables consult the Ansible Automation Platform documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation
# This section is for your platform gateway hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[automationgateway]
gateway.example.org
# This section is for your automation controller hosts from your 2.4 inventory
# -----------------------------------------------------
[automationcontroller]
controller.example.org
[automationcontroller:vars]
peers=execution_nodes
# This section is for your execution hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[execution_nodes]
exec.example.org
# This section is for your automation hub hosts from your 2.4 inventory
# -----------------------------------------------------
[automationhub]
hub.example.org
# This section is for your Event-Driven Ansible hosts - NEW for 2.6 growth topology
# -----------------------------------------------------
[automationedacontroller]
eda.example.org
# This section is for the Ansible Automation Platform database from your 2.4 inventory file
# -----------------------------------------------------
[database]
db.example.org
[all:vars]
# Common variables from your 2.4 inventory file
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
registry_username=<your RHN username>
registry_password=<your RHN password>
# Common variables - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
redis_mode=standalone
# Platform gateway - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#platform-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_pg_host=db.example.org
automationgateway_pg_password=<set your own>
# Automation controller variables from your 2.4 inventory file
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#controller-variables
# -----------------------------------------------------
admin_password=<set your own>
pg_host=db.example.org
pg_password=<set your own>
# Automation hub - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#hub-variables
# -----------------------------------------------------
automationhub_admin_password=<set your own>
automationhub_pg_host=db.example.org
automationhub_pg_password=<set your own>
# Event-Driven Ansible - NEW for 2.6 growth topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-variables
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=db.example.org
automationedacontroller_pg_password=<set your own>
4.1.3. 2.4 マルチノード Automation Controller デプロイメントを 2.6 のエンタープライズトポロジーにアップグレードする リンクのコピーリンクがクリップボードにコピーされました!
2.4 マルチノード Automation Controller デプロイメントを 2.6 のエンタープライズトポロジーにアップグレードできます。このセクションでは、インフラストラクチャーの変更、要件、アップグレードのためのサンプルインベントリーについて説明します。
4.1.3.1. 2.4 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、このデプロイメントモデルの 2.4 インフラストラクチャートポロジーの概要を示しています。
図4.5 2.4 インフラストラクチャートポロジー図
4.1.3.2. 2.6 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、Red Hat がこのデプロイメントモデルでテストした 2.6 インフラストラクチャートポロジーの概要を示しています。
図4.6 2.6 インフラストラクチャートポロジー図
4.1.3.3. マルチノード Automation Controller デプロイメントのアップグレード要件 リンクのコピーリンクがクリップボードにコピーされました!
次の表は、Ansible Automation Platform バージョン 2.4 から 2.6 にアップグレードするための要件を示しています。
| 既存の 2.4 トポロジー | テスト済みの 2.6 トポロジー | 各仮想マシンの要件 |
|---|---|---|
| Automation Controller のみの冗長化デプロイメント:
| エンタープライズトポロジー:
注記: Redis の高可用性には 6 台の仮想マシンが必要です。Redis は、Automation Hub、プラットフォームゲートウェイ、または Event-Driven Ansible コンポーネントと併置できますが、Automation Controller、実行ノード、または PostgreSQL データベースとは併置できません。 | テスト済みのデプロイメントモデル ガイドの RPM エンタープライズトポロジー セクションを参照してください。 |
4.1.3.4. インベントリーファイルの例 リンクのコピーリンクがクリップボードにコピーされました!
次のインベントリーファイルは、2.6 エンタープライズトポロジーにアップグレードするために必要な変更を加えて更新されました。
# This is the RPM-based Ansible Automation Platform installer inventory file intended for upgrading from a 2.4 multi node automation controller deployment to a 2.6 enterprise deployment.
# For all optional variables consult the Red Hat documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation
# This section is for your platform gateway hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[automationgateway]
gateway1.example.org
gateway2.example.org
# This section is for your automation controller hosts from your 2.4 inventory
# -----------------------------------------------------
[automationcontroller]
controller1.example.org
controller2.example.org
[automationcontroller:vars]
peers=execution_nodes
# This section is for your execution hosts from your 2.4 inventory
# -----------------------------------------------------
[execution_nodes]
hop1.example.org node_type='hop'
exec1.example.org
exec2.example.org
# This section is for your automation hub hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[automationhub]
hub1.example.org
hub2.example.org
# This section is for your Event-Driven Ansible hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[automationedacontroller]
eda1.example.org
eda2.example.org
# This section is for your Redis hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[redis]
gateway1.example.org
gateway2.example.org
hub1.example.org
hub2.example.org
eda1.example.org
eda2.example.org
[all:vars]
# Common variables from your 2.4 inventory
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
registry_username=<your RHN username>
registry_password=<your RHN password>
# Platform gateway - NEW for 2.6 enterprise topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#platform-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_main_url=<set your own> #Set to the URL of the load balancer
automationgateway_pg_host=<set your own>
automationgateway_pg_database=<set your own>
automationgateway_pg_username=<set your own>
automationgateway_pg_password=<set your own>
# Automation controller variables from your 2.4 inventory
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#controller-variables
# -----------------------------------------------------
admin_password=<set your own>
pg_host=<set your own>
pg_database=<set your own>
pg_username=<set your own>
pg_password=<set your own>
# Automation hub - NEW for 2.6 enterprise topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#hub-variables
# -----------------------------------------------------
automationhub_admin_password=<set your own>
automationhub_pg_host=<set your own>
automationhub_pg_database=<set your own>
automationhub_pg_username=<set your own>
automationhub_pg_password=<set your own>
# Event-Driven Ansible - NEW for 2.6 enterprise topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-variables
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=<set your own>
automationedacontroller_pg_database=<set your own>
automationedacontroller_pg_username=<set your own>
automationedacontroller_pg_password=<set your own>
4.1.4. 2.4 マルチノード Automation Controller および Automation Hub デプロイメントを 2.6 のエンタープライズトポロジーにアップグレードする リンクのコピーリンクがクリップボードにコピーされました!
2.4 マルチノード Automation Controller および Automation Hub デプロイメントを 2.6 のエンタープライズトポロジーにアップグレードできます。このセクションでは、インフラストラクチャーの変更、要件、アップグレードのためのサンプルインベントリーについて説明します。
4.1.4.1. 2.4 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、Red Hat がこのデプロイメントモデルでテストした 2.4 インフラストラクチャートポロジーの概要を示しています。
図4.7 2.4 インフラストラクチャートポロジー図
4.1.4.2. 2.6 インフラストラクチャートポロジー図 リンクのコピーリンクがクリップボードにコピーされました!
この図は、Red Hat がこのデプロイメントモデルでテストした 2.6 インフラストラクチャートポロジーの概要を示しています。
図4.8 2.6 インフラストラクチャートポロジー図
4.1.4.3. マルチノードの Automation Controller と Automation Hub のデプロイメントのアップグレード要件 リンクのコピーリンクがクリップボードにコピーされました!
次の表は、Ansible Automation Platform バージョン 2.4 から 2.6 にアップグレードするための要件を示しています。
| 既存の 2.4 トポロジー | テスト済みの 2.6 トポロジー | 各仮想マシンの要件 |
|---|---|---|
| Automation Controller と Automation Hub を含む冗長化デプロイメント:
| エンタープライズトポロジー:
注記: Redis の高可用性には 6 台の仮想マシンが必要です。Redis は、Automation Hub、プラットフォームゲートウェイ、または Event-Driven Ansible コンポーネントと併置できますが、Automation Controller、実行ノード、または PostgreSQL データベースとは併置できません。 | テスト済みのデプロイメントモデル ガイドの RPM エンタープライズトポロジー セクションを参照してください。 |
4.1.4.4. インベントリーファイルの例 リンクのコピーリンクがクリップボードにコピーされました!
次のインベントリーファイルは、2.6 エンタープライズトポロジーにアップグレードするために必要な変更を加えて更新されました。
2.4 インベントリーファイルでロードバランサーに automationhub_main_url を使用している場合は、2.6 インベントリーファイルからこの変数を削除する必要があります。ロードバランサーは、プラットフォームゲートウェイ (automationgateway_main_url) の前に設定されることが想定されています。
# This is the RPM-based Ansible Automation Platform installer inventory file intended for upgrading from a 2.4 multi node automation controller and automation hub deployment to a 2.6 enterprise deployment.
# For all optional variables consult the Red Hat documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation
# This section is for your platform gateway hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[automationgateway]
gateway1.example.org
gateway2.example.org
# This section is for your automation controller hosts from your 2.4 inventory
# -----------------------------------------------------
[automationcontroller]
controller1.example.org
controller2.example.org
[automationcontroller:vars]
peers=execution_nodes
# This section is for your execution hosts from your 2.4 inventory
# -----------------------------------------------------
[execution_nodes]
hop1.example.org node_type='hop'
exec1.example.org
exec2.example.org
# This section is for your automation hub hosts from your 2.4 inventory
# -----------------------------------------------------
[automationhub]
hub1.example.org
hub2.example.org
# This section is for your Event-Driven Ansible hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[automationedacontroller]
eda1.example.org
eda2.example.org
# This section is for your Redis hosts - NEW for 2.6 enterprise topology
# -----------------------------------------------------
[redis]
gateway1.example.org
gateway2.example.org
hub1.example.org
hub2.example.org
eda1.example.org
eda2.example.org
[all:vars]
# Common variables from your 2.4 inventory
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
registry_username=<your RHN username>
registry_password=<your RHN password>
# Platform gateway - NEW for 2.6 enterprise topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#platform-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_main_url=<set your own> #Set to the URL of the load balancer
automationgateway_pg_host=<set your own>
automationgateway_pg_database=<set your own>
automationgateway_pg_username=<set your own>
automationgateway_pg_password=<set your own>
# Automation controller variables from your 2.4 inventory
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#controller-variables
# -----------------------------------------------------
admin_password=<set your own>
pg_host=<set your own>
pg_database=<set your own>
pg_username=<set your own>
pg_password=<set your own>
# Automation hub variables from your 2.4 inventory
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#hub-variables
# -----------------------------------------------------
automationhub_admin_password=<set your own>
automationhub_pg_host=<set your own>
automationhub_pg_database=<set your own>
automationhub_pg_username=<set your own>
automationhub_pg_password=<set your own>
# This variable is no longer used for load balancer configuration in 2.6:
# automationhub_main_url=<set your own>
# Event-Driven Ansible - NEW for 2.6 enterprise topology
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-variables
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=<set your own>
automationedacontroller_pg_database=<set your own>
automationedacontroller_pg_username=<set your own>
automationedacontroller_pg_password=<set your own>
4.1.5. 2.5 グローストポロジーを 2.6 グローストポロジーにアップグレードする リンクのコピーリンクがクリップボードにコピーされました!
2.5 RPM ベースのグローストポロジーを 2.6 RPM ベースのグローストポロジーにアップグレードできます。Ansible Automation Platform 2.5 と 2.6 のトポロジーは同じです。
グローストポロジーのインフラストラクチャー要件と設定の詳細は、テスト済みのデプロイメントモデル の RPM グローストポロジー セクションを参照してください。
4.1.6. 2.5 エンタープライズトポロジーを 2.6 エンタープライズトポロジーにアップグレードする リンクのコピーリンクがクリップボードにコピーされました!
2.5 RPM ベースのエンタープライズトポロジーを 2.6 RPM ベースのエンタープライズトポロジーにアップグレードできます。Ansible Automation Platform 2.5 と 2.6 のトポロジーは同じです。
エンタープライズトポロジーのインフラストラクチャー要件と設定の詳細は、テスト済みのデプロイメントモデル の RPM エンタープライズトポロジー セクションを参照してください。