<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 3, 2016 at 10:25 AM, Hong Ye <span dir="ltr"><<a href="mailto:hy93@cornell.edu" target="_blank">hy93@cornell.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hello,
<div><br>
</div>
<div>I have two questions regarding LDAP connector.</div>
<div><br>
</div>
<div>1. Our IDP 3 use active_passive connectionStrategy and default value of searchTimeLimit which is 5 seconds. To test the fail over, we shut down the directory service of the first AD on the list, it seem it took more than a minute to finish <font face="Menlo"><span style="font-size:11px">aacli.sh
command. Before the shutdown, it took less than 3 seconds to complete </span></font><span style="font-family:Menlo;font-size:11px">aacli.sh command. After directory service shutdown, it took about 62 seconds to finish the same command. Is there
any configuration change I can make so that the failover happen faster? </span></div></div></blockquote><div><br></div><div>Active_Passive means the first URL is always attempted first. If you shutdown that first host and you're seeing a long delay, then that's how long it's taking your client to decide the host is actually down. The default value for connection timeout can be quite high and I'd say yours is 60 seconds. Set the connectTimeout property to something more reasonable (3-5 seconds?) and you should get better results.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
<div><span style="font-family:Menlo;font-size:11px"><br>
</span></div>
<div><font face="Menlo"><span style="font-size:11px">2.When</span></font> ROUND_ROBIN connectionStrategy is used, if ldap server being used for the new connection is down, will IDP try the next ldap url on the list?</div></div></blockquote><div><br></div><div>Every new connection will be attempted in a round robin fashion. Regardless of whether any specific host is down. So yes.</div><div><br></div><div>--Daniel Fisher</div><div><br></div></div></div></div>