[pgpool-general: 4028] No connection pooling + PostgreSQL auth + load balancing
James Sewell
james.sewell at lisasoft.com
Thu Sep 3 10:56:11 JST 2015
Hello All,
Is this possible?
I would like:
1. Authentication to be pushed back to Postgres (I use LDAP, so I can't
use pool_passwd)
2. SQL Load balancing across two Postgres servers
I'm happy to lose connection pooling as a consequence of this - but I still
can't seem to get this to work at all.
As soon as I enable the second node I get:
2015-09-03 11:47:31 ERROR: pid 8147: pool_get_passwd: username is NULL
psql.bin: FATAL: password authentication failed for user "james"
I have:
connection_cache = false
load_balance_mode = true
master_slave_mode = false # I have tried this with true and false
master_slave_sub_mode = 'stream'
backend_hostname0 = '192.168.3.190'
backend_port0 = 5432
backend_weight0 = 1
backend_data_directory0 = '/pg/9.4/data/pg_data'
backend_flag0 = ALLOW_TO_FAILOVER
backend_hostname1 = '192.168.3.191'
backend_port1 = 5432
backend_weight1 = 1
backend_data_directory1 = '/pg/9.4/data/pg_data'
backend_flag1 = ALLOW_TO_FAILOVER
Cheers,
James Sewell,
PostgreSQL Team Lead / Solutions Architect
______________________________________
Level 2, 50 Queen St, Melbourne VIC 3000
*P *(+61) 3 8370 8000 *W* www.lisasoft.com *F *(+61) 3 8370 8099
--
------------------------------
The contents of this email are confidential and may be subject to legal or
professional privilege and copyright. No representation is made that this
email is free of viruses or other defects. If you have received this
communication in error, you may not copy or distribute any part of it or
otherwise disclose its contents to anyone. Please advise the sender of your
incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20150903/770daf47/attachment.htm>
More information about the pgpool-general
mailing list