Installing FlowServer for WarehousePG
You can run the FlowServer service and the FlowCLI utility on any host that is able to reach your WarehousePG (WHPG) cluster. However, you must also install the packages on every host in your WHPG cluster.
Prerequisites
- WarehousePG (WHPG) version 6.x running on RH7 or RH8.
- WarehousePG version 7.x running on RH8 or RH9.
Network requirements
The following table lists the connection requirements among the different components:
| Source | Destination | Protocol |
|---|---|---|
| FlowServer | WarehousePG coordinator | libpq |
| FlowServer | WarehousePG segments | HTTP |
| FlowServer | Kafka broker hosts / RabbitMQ hosts | TCP |
| FlowCLI | FlowServer | gRPC |
Download and install the package on your WarehousePG cluster
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 whpg<whpg_major_version>-flow-server
Where
<whpg_major_version>is your WHPG version (6 or 7).Create a file
all_hostson your WHPG coordinator, which lists all hosts in the WHPG cluster. For example:cdw scdw sdw1 sdw2 sdw3
From the coordinator, use the
gpsshutility to install the packages from the coordinator onto every other host in the cluster:gpssh -f all_hosts -e 'sudo dnf install -y whpg<whpg_major_version>-flow-server'
gpssh -f all_hosts -e 'sudo yum install -y whpg<whpg_major_version>-flow-server'
(Optional) Create the FlowServer extension by connecting to a database on your WHPG cluster and running: