Installing Postgres Enterprise Manager in HA Patterns
=====================================================

高可用性PEMを展開する前に、
`High Availability Patterns for PEM Deployment <https://www.enterprisedb.com/docs/pem/latest/considerations/ha_pem.mdx>`_ の高レベルのガイダンスをよく理解してください。

PEM 10.4以降の場合、HA PEMを展開するための推奨プロセスは次のとおりです。

- サポートされているクラスターマネージャーを使用してHA
  Postgresクラスターを展開します。

- 必要なSSLファイルとHBAルールを追加することにより、PEMインストールのクラスターを準備します。

- プライマリ、次にスタンバイにPEMをインストールおよび構成します。

- 別のWebサーバーを使用する場合、WebサーバーにPEMを展開します。

10. 4より前のバージョンでは、\ ``configure-pem-server.sh``
    スクリプトの制限のため、プロセスはより複雑でした。したがって、 HA
    PEMの新しい展開は最新バージョンで実行することを強くお勧めします。ただし、
    ``configure-pem-server.sh``
    への変更には下位互換性があるため、以前のプロセスは調整なしで実行されます。

以下のページでは、上記の手順に従って、いくつかのHA
PEMアーキテクチャの例の詳細な手順を提供します。
これらは、考えられるすべてのパターンの完全なガイドであることを目的としたものではありません。

- :ref:`Deploying HA PEM with colocated web application and backend using EDB Failover Manager and Virtual IPs <HA PEM using the C1 architecture with EFM and a Virtual IP>` 

- :ref:`Deploying HA PEM with separate web application and backend using EDB Failover Manager and Virtual IPs <HA PEM using the S1 architecture with EFM and a Virtual IP>` 

- :ref:`Deploying HA PEM with separate web application and backend using Patroni and multi-host strings <HA PEM using the SM architecture with Patroni>` 

さらに、 HA PEM展開の特定の要素への次のガイドが提供されます。

- :ref:`Storing user settings in the backend, accessible to all web application instances <Storing user settings in the backend, accessible to all web application instances>` 

.. toctree::
  :maxdepth: 4

  INSTALLING_AND_UPGRADING--installing--ha--setup_ha_using_efm
  INSTALLING_AND_UPGRADING--installing--ha--efm_s1
  INSTALLING_AND_UPGRADING--installing--ha--user_settings
  INSTALLING_AND_UPGRADING--installing--ha--patroni_sm
  INSTALLING_AND_UPGRADING--installing--ha--ssl
