Hi! I am setting up load balance and cluster db1 in server 1 and replicator and cluster db2 in server 2. I just tested replication and restoration. Now, I would like to test load balance. But, I am little bit confused. What I am thinking is that I think if client request some then they will go to some page in server 1. Which is starting point. So I used pg_connect(host=server1 port=5433 dbname= ... ) What I am thinking is if that connection go to load balance server in port 5433 then load balance server will determine which is lower load from server1 and server 2. Server 1 and server 2 has port 5432. And the selected database will be used for that service. Is that right ? If not, please give me any advice. Also when I am doing like this, I am getting this error message * Warning*: pg_connect() [function.pg-connect<http://seo.gkmc.utah.edu/cha_test/pgcluster/function.pg-connect>]: Unable to connect to PostgreSQL server: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
If you know about this, please give me some help. Thanks,
_______________________________________________ Pgcluster-general mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgcluster-general
