Requirements¶
LiveCompareには以下が必要です。
Python 3.6または3.7
PostgreSQL / EDB Postgres Extended 9.5+ / EPAS 11+(出力接続)
PostgreSQL / EDB Postgres Extended 9.4+ / EPAS 11+またはOracle 11g+(比較されるデータ接続)
LiveCompareには、Debian 10以降、Ubuntu 16.04以降、SLES 12 SP5および15 SP3、またはCentOS/RHEL/RockyLinux/AlmaLinux 7以降が必要です。
LiveCompareはEnterpriseDB products/livecompare
リポジトリからインストールできます。詳細については、次をご覧ください。
https://techsupport.enterprisedb.com/customer_portal/sw/livecompare/
LiveCompareは次の上にインストールします。
python3パッケージによって提供される、Ubuntu、Debian、およびCentOS / RHEL 8用の最新のPythonバージョン。またはpython-36パッケージによって提供されるCentOS / RHEL 7用のPython 3.6。
CentOS / RHELディストリビューションでは、LiveCompareにEPELリポジトリも必要です。詳細については、次をご覧ください。
https://fedoraproject.org/wiki/EPEL
特にCentOS / RHELバージョン7では、Pythonコンポーネントtqdm
が古すぎます(< 4.16.0)。 LiveCompareを実行しているユーザーのpip
またはpip3 を使用して、最新のtqdm をインストールできます。
pip install --user tqdm --upgrade
Oracleデータベースに対してLiveCompareを実行する場合、Oracle Instant Clientをインストールする必要があります。追加情報については、
Oracle Support Requirements を参照してください。
TPAexecでライブ比較¶
次のTPAexec のサンプル構成を使用して、 LiveCompare
およびPostgreSQL 11 でサーバーを構築できます。
- --
architecture: M1
cluster_name: livecompare_m1
cluster_tags: {}
cluster_vars:
postgres_coredump_filter: 0xff
postgres_version: 13
postgresql_flavour: postgresql
repmgr_failover: manual
tpa_2q_repositories:
- products/livecompare/release
packages:
common:
- edb-livecompare
use_volatile_subscriptions: true
locations:
- Name: main
instance_defaults:
image: tpa/rocky
platform: docker
vars:
ansible_user: root
instances:
- Name: livem1node1
location: main
node: 1
role: primary
published_ports:
- 5401:5432
- Name: livem1node2
location: main
node: 2
role: replica
upstream: livem1node1
published_ports:
- 5402:5432
TPAexecの詳細については、次を参照してください。
https://techsupport.enterprisedb.com/customer_portal/sw/tpa/