lists.arthurdejong.org
RSS feed

Re: [nssldap] Connection persistence

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: [nssldap] Connection persistence



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/11/10 14:18, James Davis wrote:

> Well it appears to have started working as expected, although I'm not
> sure what I've fiddled with that's kicked it into life. It may have been
> a reboot that did it. I've turned on debugging and will continue to
> monitor it's behavior. nscd is a lot of help, although I feel
> uncomfortable with it hiding some of the problems.

I'm starting to get my head around the documentation and the behavior.

I'd expected the failover to be system-wide operation that persisted
between different processes whereas in fact the failover occurs once per
process. Running ls a second time requires the failover to happen again.
By using nscd, a single daemon process deals with libnss-ldap holding
that persistent connection open as desired.

I think I understand now :) I'll see how this works out for me and if
necessary use something like pen to load balance.

James

- -- 
James Davis           +44 1235 822229              PGP: 0xD1622876
Senior CSIRT Member     0300 999 2340            (+44 1235 822340)
Lumen House, Library Avenue, Didcot, Oxfordshire, OX11 0SG
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzS5msACgkQhZi14NFiKHaayQCghKgf/PCPajrQzZEx5FgAIvj9
Xq8AoIZ/DQ3YXUL1iwHyqGdqABCrzS4A
=CscB
-----END PGP SIGNATURE-----

JANET(UK) is a trading name of The JNT Association, a company limited
by guarantee which is registered in England under No. 2881024 
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Science and Innovation Campus, Didcot, Oxfordshire. OX11 0SG