<?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: ACE with sticky http-cookies across two server farms issue in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671575#M33713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify what you mean by 'clear text' in the backend for farm2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 13:01:20 GMT</pubDate>
    <dc:creator>Paul Cummings</dc:creator>
    <dc:date>2011-04-06T13:01:20Z</dc:date>
    <item>
      <title>ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671573#M33711</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;We need the same sticky http cookie to applied to two server farms (which are actually the same servers but listening on different ports in each farm) to persist sessions to the same real backend server.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;e.g.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;STRONG style="text-decoration: underline; "&gt;Farm1 (front end HTTP service) -&lt;SPAN style="color: #ff0000;"&gt; StickyGroup1&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;rserver1 - 192.168.0.1:80&lt;/P&gt;&lt;P class="MsoNormal"&gt;rserver2 - 192.168.0.2:80&lt;/P&gt;&lt;P class="MsoNormal"&gt;rserver3 - 192.168.0.3:80&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Farm2 (SSL front end authentication service)&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;- &lt;SPAN style="color: #ff0000;"&gt;StickyGroup2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;rserver1 - 192.168.0.1:443&lt;/P&gt;&lt;P class="MsoNormal"&gt;rserver2 - 192.168.0.2:443&lt;/P&gt;&lt;P class="MsoNormal"&gt;rserver3 - 192.168.0.3:443&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;We have setup two Sticky Groups (one for each of the farms above) both using the &lt;STRONG&gt;same cookie name e.g. cookieXYZ&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Our service is behind a single virtual server configured as follows (example URL and addresses):&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Virtual Server Configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Virtual server name: www.somedomain.com&lt;/LI&gt;&lt;LI&gt;Virtual IP: 2.2.2.2&lt;/LI&gt;&lt;LI&gt;TCP/443 (https)&lt;/LI&gt;&lt;LI&gt;SSL Termination - Proxy service name: &lt;A href="https://community.cisco.com/www.somedomain.com" target="_blank"&gt;www.somedomain.com&lt;/A&gt; (all keys and certs loaded and correct)&lt;/LI&gt;&lt;LI&gt;L7 Load Balancing - **inline** rule match HTTP URL:(/AuthenticateMe/).*&amp;nbsp; Action : Sticky, Group: &lt;SPAN style="color: #ff0000;"&gt;StickyGroup2&lt;/SPAN&gt;, SSL Initiation enabled (www.somedomain.com)&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Default L7 Load Balancing action : Sticky, Group: &lt;SPAN style="color: #ff0000;"&gt;StickyGroup1&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;So normally we would expect users to first hit &lt;A href="https://community.cisco.com/www.somedomain.com" target="_blank"&gt;www.somedomain.com&lt;/A&gt; first and therefore Farm1, get &lt;STRONG&gt;cookieXYZ &lt;/STRONG&gt;from the ACE (cookie insert is only enabled on StickyGroup1) and then be redirected to &lt;A href="https://community.cisco.com/www.somedomain.com/AuthenticateMe" target="_blank"&gt;www.somedomain.com/AuthenticateMe&lt;/A&gt; which matches the inline URL L7 rule which directs the request at Farm2 - at this point we expected the ACE to use &lt;STRONG&gt;cookieXYZ&lt;/STRONG&gt; to persist the user to the same real server hit in Farm1 but instead the stickiness doesn't seem to work.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;We suspect that the ACE uses IP:port as the unique value in the Cookie ID and therefore the ACE fails to match the same real host in a different farm because we are using a mix of port numbers across farms. Is this correct? Is there another way of accomplishing what we are after with a different configuration but still the same setup with single VIP and multiple services on the backend servers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P&gt;Any suggestions or solutions appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2011 11:43:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671573#M33711</guid>
      <dc:creator>Paul Cummings</dc:creator>
      <dc:date>2011-04-06T11:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671574#M33712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the same cookie can work only if you use clear text in the back end for farm2. Otherwise try by using source IP stickyness.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 12:46:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671574#M33712</guid>
      <dc:creator>Surya ARBY</dc:creator>
      <dc:date>2011-04-06T12:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671575#M33713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify what you mean by 'clear text' in the backend for farm2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 13:01:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671575#M33713</guid>
      <dc:creator>Paul Cummings</dc:creator>
      <dc:date>2011-04-06T13:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671576#M33714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use the same service on port 80 on the servers while keeping a dual virtual servers topology (HTTP/80 HTTPS/443 with SSL offload) for the front end VIP ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 13:18:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671576#M33714</guid>
      <dc:creator>Surya ARBY</dc:creator>
      <dc:date>2011-04-06T13:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671577#M33715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surya&lt;/P&gt;&lt;P&gt;I am working with Paul on this one.&lt;/P&gt;&lt;P&gt;Unfortunately, the limitation of webservice application is that :(/AuthenticateMe/).* needs to be SSL terminated on the webserver and not the ACE. I also need the SSL offload for the rest of the application virtual server performed on the ACE. Any other ideas of how we could achieve this. I'm not keen on sticky src ip due to the "megaproxy" effect we'd have for a bunch of our customers.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 13:33:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671577#M33715</guid>
      <dc:creator>psinghmandla</dc:creator>
      <dc:date>2011-04-06T13:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671578#M33716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open a case, maybe cisco can build a special release for you. Otherwise what you want to do is not supported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 13:35:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671578#M33716</guid>
      <dc:creator>Surya ARBY</dc:creator>
      <dc:date>2011-04-06T13:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: ACE with sticky http-cookies across two server farms issue</title>
      <link>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671579#M33717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is related to the fact that it's not about persistence because there are only "new" services in the backend in SSL, you want to keep the IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a little bit of dev, the only way to acheive this is to redirect the user when he has been sent to http and adding a "tag" (cookie / token in the URL), then on the SSL virtual server, when performing SSL offload matching this tag to send to user to the right server. But it will be a 1-to-1 mapping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 05:36:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-with-sticky-http-cookies-across-two-server-farms-issue/m-p/1671579#M33717</guid>
      <dc:creator>Surya ARBY</dc:creator>
      <dc:date>2011-04-08T05:36:54Z</dc:date>
    </item>
  </channel>
</rss>

