<?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: Is there a way to direct requests based on HTTP return-code  in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479312#M9032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is feasible in 2 steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- create an HTTP probe that will check the server status and if the response is between 500-600 mark the server as down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- use a backupserverfarm to use when all servers from the main serverfarm are down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way to redirect a connection based on the  server response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;P&gt;Thanks for rating this answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2005 12:03:47 GMT</pubDate>
    <dc:creator>Gilles Dufour</dc:creator>
    <dc:date>2005-11-29T12:03:47Z</dc:date>
    <item>
      <title>Is there a way to direct requests based on HTTP return-code checking?</title>
      <link>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479311#M9031</link>
      <description>&lt;P&gt;I'd like to implement a policy based on return-code.  The algorithm is as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If HTTP return-code == 500 to 600&lt;/P&gt;&lt;P&gt;   serverfarm1&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;   serverfarm2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a CSM V3.2.  Can someone tell me  if this is doable?  If yes, would you please tell me how.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciation,  Q.Xie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2005 20:35:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479311#M9031</guid>
      <dc:creator>qixie</dc:creator>
      <dc:date>2005-11-28T20:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to direct requests based on HTTP return-code</title>
      <link>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479312#M9032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is feasible in 2 steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- create an HTTP probe that will check the server status and if the response is between 500-600 mark the server as down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- use a backupserverfarm to use when all servers from the main serverfarm are down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way to redirect a connection based on the  server response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;P&gt;Thanks for rating this answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 12:03:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479312#M9032</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-11-29T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to direct requests based on HTTP return-code</title>
      <link>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479313#M9033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilles, Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I might not explain clearly what I wanted. We want to do the failover per application not the whole server site.  For example, if an application on San Jose down, I'd like to re-direct this particular application to RTP's servers, if its return code is 500-600.  The method you recommended will bring the whole server down and switch to backup servers which is not what we want. Hope it's clear this time.  Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,Q.Xie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 23:57:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479313#M9033</guid>
      <dc:creator>qixie</dc:creator>
      <dc:date>2005-11-29T23:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to direct requests based on HTTP return-code</title>
      <link>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479314#M9034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution I suggested is still what I recommend.&lt;/P&gt;&lt;P&gt;What you have to do is split your serverfarm in multiples instances.  One for HTTP and another one for the rest of your applications.  Or you could do one for each application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The serverfarm for HTTP will have the HTTP probe and will go down when the response is 500-600.&lt;/P&gt;&lt;P&gt;The other serverfarm(s) will not use the same HTTP probe and should not go down based on the response code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie:&lt;/P&gt;&lt;P&gt;serverfarm WEB&lt;/P&gt;&lt;P&gt;  real 10.10.10.10&lt;/P&gt;&lt;P&gt;   ins&lt;/P&gt;&lt;P&gt;  real 20.20.20.20 &lt;/P&gt;&lt;P&gt;   ins&lt;/P&gt;&lt;P&gt;  probe http&lt;/P&gt;&lt;P&gt;serverm ALL&lt;/P&gt;&lt;P&gt;  real 10.10.10.10&lt;/P&gt;&lt;P&gt;    ins&lt;/P&gt;&lt;P&gt;  real 20.20.20.20&lt;/P&gt;&lt;P&gt;   ins&lt;/P&gt;&lt;P&gt;  no probe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vserver web&lt;/P&gt;&lt;P&gt;  vip 1.1.1.1 tcp 80&lt;/P&gt;&lt;P&gt;  serverfarm WEB backup WEB_B&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;vserver all&lt;/P&gt;&lt;P&gt;  vip 1.1.1.1 any&lt;/P&gt;&lt;P&gt;  serverfarm ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;P&gt;Thanks for rating this answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 08:18:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479314#M9034</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-12-01T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to direct requests based on HTTP return-code</title>
      <link>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479315#M9035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilles, Thx a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Your suggestion probably works.  I will test it and let you know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q.Xie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 20:47:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/is-there-a-way-to-direct-requests-based-on-http-return-code/m-p/479315#M9035</guid>
      <dc:creator>qixie</dc:creator>
      <dc:date>2005-12-06T20:47:49Z</dc:date>
    </item>
  </channel>
</rss>

