I'm using pgpool2 version 3.5.1 where there are 4 PostgreSQL 9.1 instances which has 16GB and 8 cores running on Ubuntu.
This is the pgpool.conf file.
As you can see in the conf file there are 4 instances which are
backend_hostname0 = '192.168.7.35'
backend_hostname1 = '192.168.7.45'
backend_hostname2 = '192.168.7.46'
backend_hostname3 = '192.168.7.44'
The problem is data is replicated into backend_hostname1 and backend_hostname2 only. backend_hostname0 and backend_hostname3 is not being used by the pgpool2 for replication and load balancing.
Also I get below error when starting pgpool2
DEBUG: find_primary_node: not in streaming replication mode
Why is that and how can I fix this?