* automounter w/ LDAP redundant servers
@ 2006-07-28 3:13 Erich Weiler
0 siblings, 0 replies; 6+ messages in thread
From: Erich Weiler @ 2006-07-28 3:13 UTC (permalink / raw)
To: autofs
Question about the linux automounter that comes with fedora core 5... I
have 3 ldap servers listed in my /etc/openldap/ldap.conf file. They are
there for redundancy in case the primary server goes down:
/etc/openldap/ldap.conf:
host primary.domain.com slave1.domain.com slave2.domain.com
base dc=domain,dc=com
And it seems that while the primary server is up, the mounts work fine,
but when I take the primary offline, the automounter has trouble finding
the second one. All other LDAP related actions/queries work, just the
automounter has troubles.
Is AutoFS for linux tweaked such that it will automatically try second
and third servers if they are listed in ldap.conf? Or am I just doing
something wrong?
Thanks for any hints!
ciao, erich
^ permalink raw reply [flat|nested] 6+ messages in thread
* automounter w/ LDAP redundant servers
@ 2006-08-02 2:06 Erich Weiler
2006-08-02 19:02 ` Ian Kent
0 siblings, 1 reply; 6+ messages in thread
From: Erich Weiler @ 2006-08-02 2:06 UTC (permalink / raw)
To: autofs
Hi ya'll,
I posted about this earlier but received no response... I was wondering
if any of you know if I can ask the developers if this is a feature that
has not been implemented or if I simply am doing something wrong? Maybe
point me in the right direction?
ciao, erich
---------------------
Original post:
Question about the linux automounter that comes with fedora core 5... I
have 3 ldap servers listed in my /etc/openldap/ldap.conf file. They are
there for redundancy in case the primary server goes down:
/etc/openldap/ldap.conf:
host primary.domain.com slave1.domain.com slave2.domain.com
base dc=domain,dc=com
And it seems that while the primary server is up, the mounts work fine,
but when I take the primary offline, the automounter has trouble finding
the second one. All other LDAP related actions/queries work with the
failover server, just the automounter has troubles.
Is AutoFS for linux tweaked such that it will automatically try second
and third failover servers if they are listed in
/etc/openldap/ldap.conf? Or am I just doing something wrong maybe?
Thanks for any hints!
ciao, erich
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: automounter w/ LDAP redundant servers
2006-08-02 2:06 automounter w/ LDAP redundant servers Erich Weiler
@ 2006-08-02 19:02 ` Ian Kent
2006-08-02 22:40 ` Erich Weiler
0 siblings, 1 reply; 6+ messages in thread
From: Ian Kent @ 2006-08-02 19:02 UTC (permalink / raw)
To: Erich Weiler; +Cc: autofs
On Tue, 2006-08-01 at 19:06 -0700, Erich Weiler wrote:
> Hi ya'll,
>
> I posted about this earlier but received no response... I was wondering
> if any of you know if I can ask the developers if this is a feature that
> has not been implemented or if I simply am doing something wrong? Maybe
> point me in the right direction?
Maybe a bug but, if the LDAP library can do it then autofs should just
do it. There isn't any specific code to handle it.
So
ldap://server1 server2/.....
should work since the ldap_init call, I believe, will take such an
argument. But then we need to check that autofs isn't getting in the
road when it reads the ldap string to start with.
>
> ciao, erich
>
> ---------------------
>
> Original post:
>
> Question about the linux automounter that comes with fedora core 5... I
> have 3 ldap servers listed in my /etc/openldap/ldap.conf file. They are
> there for redundancy in case the primary server goes down:
>
> /etc/openldap/ldap.conf:
>
> host primary.domain.com slave1.domain.com slave2.domain.com
> base dc=domain,dc=com
>
> And it seems that while the primary server is up, the mounts work fine,
> but when I take the primary offline, the automounter has trouble finding
> the second one. All other LDAP related actions/queries work with the
> failover server, just the automounter has troubles.
>
> Is AutoFS for linux tweaked such that it will automatically try second
> and third failover servers if they are listed in
> /etc/openldap/ldap.conf? Or am I just doing something wrong maybe?
>
> Thanks for any hints!
>
> ciao, erich
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: automounter w/ LDAP redundant servers
2006-08-02 19:02 ` Ian Kent
@ 2006-08-02 22:40 ` Erich Weiler
2006-08-03 4:17 ` Ian Kent
0 siblings, 1 reply; 6+ messages in thread
From: Erich Weiler @ 2006-08-02 22:40 UTC (permalink / raw)
To: Ian Kent; +Cc: autofs
> So
> ldap://server1 server2/.....
>
> should work since the ldap_init call, I believe, will take such an
> argument. But then we need to check that autofs isn't getting in the
> road when it reads the ldap string to start with.
Sounds fantastic! How can we check that? :)
Thanks very much for responding, btw.
ciao, erich
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: automounter w/ LDAP redundant servers
2006-08-02 22:40 ` Erich Weiler
@ 2006-08-03 4:17 ` Ian Kent
2006-08-03 14:48 ` Erich Weiler
0 siblings, 1 reply; 6+ messages in thread
From: Ian Kent @ 2006-08-03 4:17 UTC (permalink / raw)
To: Erich Weiler; +Cc: autofs
On Wed, 2006-08-02 at 15:40 -0700, Erich Weiler wrote:
> > So
> > ldap://server1 server2/.....
> >
> > should work since the ldap_init call, I believe, will take such an
> > argument. But then we need to check that autofs isn't getting in the
> > road when it reads the ldap string to start with.
>
> Sounds fantastic! How can we check that? :)
I think that putting more than one server in and running autofs with the
debug option then checking the log may reveal what we need.
Ian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: automounter w/ LDAP redundant servers
2006-08-03 4:17 ` Ian Kent
@ 2006-08-03 14:48 ` Erich Weiler
0 siblings, 0 replies; 6+ messages in thread
From: Erich Weiler @ 2006-08-03 14:48 UTC (permalink / raw)
To: Ian Kent; +Cc: autofs
Er, as soon as I turned on debugging to debug it, it magically started
working. Automatically looked to the second server when I turned off
slapd on the first... Not sure why it wasn't working before... Feel a
little sheepish... Maybe I rebooted the machine after the change had
been made or something... <grumble>
Oh well, I guess it was something weird I was doing that I wasn't aware
of... Thanks for chiming in in any case!
ciao, erich
Ian Kent wrote:
> On Wed, 2006-08-02 at 15:40 -0700, Erich Weiler wrote:
>>> So
>>> ldap://server1 server2/.....
>>>
>>> should work since the ldap_init call, I believe, will take such an
>>> argument. But then we need to check that autofs isn't getting in the
>>> road when it reads the ldap string to start with.
>> Sounds fantastic! How can we check that? :)
>
> I think that putting more than one server in and running autofs with the
> debug option then checking the log may reveal what we need.
>
> Ian
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-08-03 14:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 2:06 automounter w/ LDAP redundant servers Erich Weiler
2006-08-02 19:02 ` Ian Kent
2006-08-02 22:40 ` Erich Weiler
2006-08-03 4:17 ` Ian Kent
2006-08-03 14:48 ` Erich Weiler
-- strict thread matches above, loose matches on Subject: below --
2006-07-28 3:13 Erich Weiler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.