<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cisco CSS LDAP loadbalancing? in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466484#M30375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;true, we are always using source groups and flow timers. - just i tried to keep it simple&amp;nbsp; here &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;question is how to keep connections to ldap servers equal, when some of the ldap servers fails and becomes available again.&lt;/P&gt;&lt;P&gt;As I mentioned, our application will just establish N number of ldap sessions/binds and used them for queries.&lt;/P&gt;&lt;P&gt;Do you have same problem, knutsong?&lt;/P&gt;&lt;P&gt;Or you application is binding / unbinding on a time intervals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Aug 2010 19:33:39 GMT</pubDate>
    <dc:creator>nikolay_nenchev</dc:creator>
    <dc:date>2010-08-13T19:33:39Z</dc:date>
    <item>
      <title>Cisco CSS LDAP loadbalancing?</title>
      <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466481#M30372</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our company is using Cisco CSS for loadbalancing an internal application ldap queries between multiple OpenLDAP servers.&lt;/P&gt;&lt;P&gt;Loadbalancing is working fine, here is CSS configuration that we are using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service pmaster&lt;BR /&gt; keepalive maxfailure 6&lt;BR /&gt; ip address IP1&lt;BR /&gt; keepalive frequency 10&lt;BR /&gt; keepalive type script ap-kal-ldap "IP1"&lt;BR /&gt; keepalive retryperiod 10&lt;BR /&gt; active&lt;/P&gt;&lt;P&gt;service smaster&lt;BR /&gt; ip address IP2&lt;BR /&gt; keepalive frequency 10&lt;BR /&gt; keepalive maxfailure 6&lt;BR /&gt; keepalive type script ap-kal-ldap "IP2"&lt;BR /&gt; keepalive retryperiod 10&lt;BR /&gt; active&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;!*************************** OWNER ***************************&lt;BR /&gt;owner DS&lt;BR /&gt; ! read ldap vip&lt;BR /&gt; content rldap&lt;BR /&gt;&amp;nbsp; protocol tcp&lt;BR /&gt;&amp;nbsp; vip address VIP_12&lt;BR /&gt;&amp;nbsp; port 389&lt;BR /&gt;&amp;nbsp; balance aca&lt;BR /&gt;&amp;nbsp; add service pmaster&lt;BR /&gt;&amp;nbsp; add service smaster&lt;BR /&gt;&amp;nbsp; active&lt;/P&gt;&lt;P&gt;However our interbal application logic is to establish N ldap sessions/binds on startup to LDAP server (through VIP) and use these sessions for further queries/reads ldap opearations.&lt;/P&gt;&lt;P&gt;In case that one of OpenLDAP server is down, running sessions will be dropped and application will send ldap binds up to the number N ldap sessions.&lt;/P&gt;&lt;P&gt;Once failed LDAP server is up again, it will not receive any new binds, since internal application had reached binds number N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in Cisco CSS to tune this behaviour and utilized all LDAP servers, independant from applications bond logic?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2010 08:21:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466481#M30372</guid>
      <dc:creator>nikolay_nenchev</dc:creator>
      <dc:date>2010-08-12T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco CSS LDAP loadbalancing?</title>
      <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466482#M30373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nikolay-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If I understand what you are asking, once the intial sessions are up, the LDAP servers do not initiate any new sessions, it re-uses the existing ones for all quries.&amp;nbsp; There are 2 aspects to consider - UDP and TCP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With TCP, when a server comes online under a rule via probe activation or manually adding a new one in, the CSS will only ever send a new TCP sessions to it.&amp;nbsp; (inbound SYN is considered a new session.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UDP is a bit different since it is a connectionless protocol, you could in theory adjust idle timers to make the CSS think an inbound packet is a new session which would essentially force the sessions to the new server.&amp;nbsp; I am not sure how your application operates, I know LDAP *can* use UDP over 389 for certain functions, but its food for thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris Higgins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 20:23:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466482#M30373</guid>
      <dc:creator>chrhiggi</dc:creator>
      <dc:date>2010-08-12T20:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco CSS LDAP loadbalancing?</title>
      <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466483#M30374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are doing something simular.&amp;nbsp; We had to include a group to tie the sessions with the original source IPs.&amp;nbsp; Beyond that, we added a flow-timeout-multiplier to prevent session timeouts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Owner/ Group example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;owner LDAP_Owner&lt;/P&gt;&lt;P&gt;&amp;nbsp; content LDAP_Rule&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vip address X&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port 389&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol tcp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flow-timeout-multiplier 19&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; balance weightedrr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add service LDAP_1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add service LDAP_2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add service LDAP_3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add service LDAP_4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;group LDAP_Group&lt;BR /&gt;&amp;nbsp; flow-timeout-multiplier 19&lt;BR /&gt;&amp;nbsp; vip address X&lt;BR /&gt;&amp;nbsp; add destination service LDAP_1&lt;BR /&gt;&amp;nbsp; add destination service LDAP_2&lt;BR /&gt;&amp;nbsp; add destination service LDAP_3&lt;BR /&gt;&amp;nbsp; add destination service LDAP_4&lt;BR /&gt;&amp;nbsp; active&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 19:22:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466483#M30374</guid>
      <dc:creator>knutsong</dc:creator>
      <dc:date>2010-08-13T19:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco CSS LDAP loadbalancing?</title>
      <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466484#M30375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;true, we are always using source groups and flow timers. - just i tried to keep it simple&amp;nbsp; here &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;question is how to keep connections to ldap servers equal, when some of the ldap servers fails and becomes available again.&lt;/P&gt;&lt;P&gt;As I mentioned, our application will just establish N number of ldap sessions/binds and used them for queries.&lt;/P&gt;&lt;P&gt;Do you have same problem, knutsong?&lt;/P&gt;&lt;P&gt;Or you application is binding / unbinding on a time intervals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 19:33:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466484#M30375</guid>
      <dc:creator>nikolay_nenchev</dc:creator>
      <dc:date>2010-08-13T19:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco CSS LDAP loadbalancing?</title>
      <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466485#M30376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We weight ours to put more load on one server than others.&amp;nbsp; I would think you could use standard round-robin.&amp;nbsp; If a server fails then comes back up, round-robin will eventually balance them out.&amp;nbsp; As I mentioned, we had a issue with timeouts so we put in the flow timeout.&amp;nbsp; That resolved it.&amp;nbsp; The balancing works well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 19:39:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466485#M30376</guid>
      <dc:creator>knutsong</dc:creator>
      <dc:date>2010-08-13T19:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco CSS LDAP loadbalancing?</title>
      <link>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466486#M30377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think that balance method matters here. we are using aca, but I dont see how round robin or weights will solve the case.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is my case again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 application that is establishing 16 ldap binds/sessions to VIP address.&lt;/P&gt;&lt;P&gt;Both ldap servers are active and every one gets 8 binds/sessions.&lt;/P&gt;&lt;P&gt;Application is quering ldap in over established connections.&lt;/P&gt;&lt;P&gt;first ldap server goes down. 8 sessions are reseted, and application is establishing new 8 sessions to VIP address.&lt;/P&gt;&lt;P&gt;as at that time only second ldap server is available, it must handle now all 16 ldap binds/sessions.&lt;/P&gt;&lt;P&gt;lets say in 1 hours, failed first ldap server is coming up again. But.. application is not establishing new binds as it has reached already the max number of 16 ldap connections - all of them through VIP address and directed to second ldap server.&lt;/P&gt;&lt;P&gt;first ldap server will stay unused till some of the binds fail or being reseted or second ldap server dies.&lt;/P&gt;&lt;P&gt;Then applicaiton must establish again its binds and LB will do balancing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 19:53:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cisco-css-ldap-loadbalancing/m-p/1466486#M30377</guid>
      <dc:creator>nikolay_nenchev</dc:creator>
      <dc:date>2010-08-13T19:53:23Z</dc:date>
    </item>
  </channel>
</rss>

