Requirements¶
LiveCompareの要件:
Python > = 3.6および< = 3.8 PostgreSQL / EDB Postgres Extended 9.5+ / EPAS 11+(出力接続上) PostgreSQL / EDB Postgres Extended 9.4+ / EPAS 11+またはオラクル 10g +(比較するデータ接続上)
LiveCompareには、少なくともDebian 10、Ubuntu 16.04、またはCentOS / RHEL 7が必要です。
LiveCompareは、 EnterpriseDB
products/livecomparerepositoryからインストールできます。詳細については、次を参照してください。
https://techsupport.enterprisedb.com/customer_portal/sw/livecompare/
LiveCompareは以下の上にインストールされます。
提供されているUbuntu、Debian、およびCentOS / RHEL 8の最新のPythonバージョン
python3パッケージソフト。またはpython-36パッケージソフトで提供されるCentOS / RHEL 7用のPython 3.6。
CentOS / RHELディストリビューションでは、LiveCompareにはEPELリポジトリも必要です。詳細については、次を参照してください。
< https://fedoraproject.org/ wiki/ EPEL >
特にCentOS / RHELバージョン7では、
Pythonコンポーネントtqdmが古すぎます(&lt; 4.16.0)。
LiveCompareを実行しているユーザのpipまたはpip3を使用して、最新のtqdmをインストールすることができます。
pip install --user tqdm --upgrade
TPAexecとのLiveCompare¶
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:
* - 2ndq-livecompare
* use_volatile_subscriptions: true
locations:
- Name: main
instance_defaults:
* image: tpa/redhat
* 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/