When deploying Hybrid Access Gateway in distributed mode, the PostgreSQL internal database must be configured to accept external incoming connections.
Configure PostgreSQL to listen on external interfaces:
- Log in over ssh to the appliance.
ssh <host> -l agadmin
- Edit the file postgresql.conf.
sudo vi /opt/postgres/9.1/data/postgresql.conf
- Change the parameter
listen_addresses
to, for example, 0.0.0.0 or the IP of the appliance selected for running the database.
listen_addresses = '<ip>'
- Restart the database for changes to take effect.
sudo /etc/init.d/postgres-9.1-openscg restart