Installing WarehousePG Copy
You must install WarehousePG (WHPG) Copy on each host in your source and destination WarehousePG clusters. Optionally, you can also install and run the utility from a separate host, as long as it has access to both the source and destination WHPG coordinators.
Downloading and installing the utility
On both source and destination coordinators, download the package from the EDB repository:
export EDB_SUBSCRIPTION_TOKEN=<your-token> export EDB_REPO=gpsupp curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash sudo dnf download edb-whpg-copy
export EDB_SUBSCRIPTION_TOKEN=<your-token> export EDB_REPO=gpsupp curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash sudo yumdownloader edb-whpg-copy
On both source and destination coordinators, create a file
all_hostswhich lists all hosts in each WHPG cluster. For example:cdw scdw sdw1 sdw2 sdw3
From each coordinator, use the
gpsyncutility to transfer the package to all hosts in the cluster and then use use thegpsshutility to install the package:gpsync -f all_hosts <whpg-copy-package-name> =:/tmp gpssh -f all_hosts -e 'sudo dnf install -y /tmp/<whpg-copy-package-name>'
Where
<whpg-copy-package-name>is the name of the WarehousePG Copy package file you downloaded.gpsync -f all_hosts <whpg-copy-package-name> =:/tmp gpssh -f all_hosts -e 'sudo yum install -y /tmp/<whpg-copy-package-name>'
Where
<whpg-copy-package-name>is the name of the WarehousePG Copy package file you downloaded.
- On this page
- Downloading and installing the utility
Could this page be better? Report a problem or suggest an addition!