About This Task

It is critical that you configure Postgres to allow remote connections before you deploy a cluster. If you do not perform these steps in advance of installing your cluster, the installation fails.

Steps

  1. Open /var/lib/pgsql/9.6/data/pg_hba.conf and update to the following

    1. # "local" is for Unix domain socket connections only
    2. local all all trust
    3. # IPv4 local connections:
    4. host all all 0.0.0.0/0 trust
    5. # IPv6 local connections:
    6. host all all ::/0 trust
  2. Open /var/lib//pgsql/9.6/data/postgresql.conf and update to the following:

    1. listen_addresses = '*'
  3. Restart Postgres:

    1. systemctl stop postgresql-9.6.service
    2. systemctl start postgresql-9.6.service