HTTP Return Code on CSM causes IP Sticky does not work

I have CSM running on 3.1(1a).
I configured HTTP Return Code Checking:
map HTTPCHECK retcode
match protocol http retcode 404 404 action remove 5 reset 60
And apply it to the following web server serverfarm:
serverfarm DCMSWEB
nat server
no nat client
predictor leastconns
retcode-map HTTPCHECK
real 10.1.31.1
inservice
real 10.1.31.2
inservice
I also configure IP sticky for my web server:
sticky 2 netmask 255.255.255.255 timeout 60
And apply that sticky to the virtual server:
vserver DCMSWEBHTTP
virtual 10.1.30.100 tcp www
serverfarm DCMSWEB
sticky 60 group 2
replicate csrp sticky
replicate csrp connection
persistent rebalance
inservice
But, the problem is my sticky does not work if I apply HTTP return code checking on the serverfarm.
"show mod contentswitchingmodule 8 sticky" does not show any IP sticky connection.
If I remove HTTP return code checking from serverfarm, my IP sticky is back to normal.
Has anyone encoutered this similar problem before?
Is this a bug on the CSM software?

This is a new bug.
The workaround is to use the command 'client 0.0.0.0 /0' under the vserver.
Gilles.

Similar Messages

  • CODE ADDED using HTML Snippet Widget does not work

    I am trying to add some code to a web page using the HTML Snippet widget and it does not work on my page. the code is as follows:
    <script src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script src='http://adn.ebay.com/cb?programId=1&campId=5336536214&toolId=10026&keyword= coinset+nationaruba&catId=11116&width=728&height=90&font=1&textColor=333366&linkColor=333333&a rrowColor=8BBC01&color1=B5B5B5&color2=FFFFFF'></script>
    Can anyone help me to get this to work?
    Thanks!
    Gregg

    I got this code from Ebay. It is an Ebay partner link.
    Gregg

  • My redemption code for OS X Mountain Lion does not work. It claims it is not a valid code.

    I purchased my MacBook Pro on August 2nd and it did not have the new software installed. I went to the website to redeem my code but everytime I tried to redeem the code in the App Store it said it was invalid. I e-mailed Apple back for a new redemption code and the same thing happened. Both of the content codes are not valid. Am I doing something wrong?

    I thinks so. You get 2 emails. You use the code from the one to unlock the redeem code from the other, then you enter that unlocked code into the redeem field.

  • CSM HTTP return code checking

    Hey again.
    I have been looking into the CSM return code checking feature as suggested by this forum. This is a little closer to what I am looking for but I have question about what happens when there is a failure.
    If a 500 code for HTTP is seen three times, for example, and the server is removed from the farm, is the original request from the client tried on the next server? Or is a reset sent back to the client, or the original code, and the client must try again.
    I am trying to understand if the client will notice if the CSM noticed X number of a particular error and removed the server from the farm.
    Thanks for any help!
    /ahuffer/

    I think you are mixing two things up(Inband health monitoring & HTTP return code checking).
    The "Inband health monitoring" feature checks for both RSTs from a server and the failure of the server to respond to a SYN. If a SYN ACK response to a SYN is not received,the TCP portion of the code will perform several retries of a SYN before timing it out.
    It is configured as follows
    CSM(config-module-csm)# serverfarm xyz
    CSM(config-slb-sfarm)# health retries 10 failed 50
    (Retries are the number of abnormal end sessions that the CSM will tolerate before removing a real server from service. The failed time is the number of seconds that the CSM waits before reattempting a connection to a real server that was removed from service by inband health checking.)
    "HTTP Return Code checking" is the CSM feature that can be configured to take a server out of use in response to receiving specific return codes.
    When HTTP return code checking is configured, the CSM monitors HTTP responses from all balanced HTTP connections and logs the occurrence of the return code for each real server. The CSM stores return code counts. When a threshold for a return code is reached, the CSM may send syslog messages or remove the server from service.
    Unlike "Inband Health monitoring", "Http Return code checking" feature has a small (estimated in 10-15%) impact on CPS setup rate, since it requires parsing L5 information in the server-to-client direction.
    If the server is taken out of service, Client's request will be loadbalanced among available servers.
    Syed
    Syed

  • Is there a way to direct requests based on HTTP return-code checking?

    I'd like to implement a policy based on return-code. The algorithm is as below,
    If HTTP return-code == 500 to 600
    serverfarm1
    else
    serverfarm2
    We have a CSM V3.2. Can someone tell me if this is doable? If yes, would you please tell me how.
    Appreciation, Q.Xie

    The solution I suggested is still what I recommend.
    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.
    The serverfarm for HTTP will have the HTTP probe and will go down when the response is 500-600.
    The other serverfarm(s) will not use the same HTTP probe and should not go down based on the response code.
    ie:
    serverfarm WEB
    real 10.10.10.10
    ins
    real 20.20.20.20
    ins
    probe http
    serverm ALL
    real 10.10.10.10
    ins
    real 20.20.20.20
    ins
    no probe
    vserver web
    vip 1.1.1.1 tcp 80
    serverfarm WEB backup WEB_B
    vserver all
    vip 1.1.1.1 any
    serverfarm ALL
    Hope this helps.
    Gilles.
    Thanks for rating this answer.

  • JSP and HTTP return code

    I am new at developing jsp, and I am looking for a way to send an HTTP return code under a specific condition.
    for ex :
    if(data==ok)
    HTPP_return_code = 200;
    else
    HTPP_return_code = 500;
    Is it possible ?

    Within your JSP you can use the sendError method on the response object.
    e.g.
    if (data == ok) {
       response.sendError(HttpServletResponse.SC_OK);
    } else {
       response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
    } See http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html
    for possible HTTP return code constants.

  • Return code (SY-SUBRC) for the EXCEPTION will not be processed

    Hi,
    when I was doing the EPC check i have approached this messgae.
    Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION
    'CU_READ_RGDIR'
    (You can turn off this check by setting all EXCEPTIONS to 0)
    (The message can be hidden with "#EC *)
    Any pointers on how to handle this.
    Regards
    Rohini.

    Hi Rohini,
    Try doing something like this.
    TYPE-POOLS: hrpay.
    DATA: w_pernr              TYPE          p0000-pernr ,
          w_buffer             TYPE          hrpay_buffer,
          w_no_authority_check TYPE          xfeld       ,
          w_molga              TYPE          t500l-molga ,
          t_in_rgdir           TYPE TABLE OF pc261.
    CALL FUNCTION 'CU_READ_RGDIR'
      EXPORTING
        persnr             = w_pernr
        buffer             = w_buffer
        no_authority_check = w_no_authority_check
      IMPORTING
        molga              = w_molga
      TABLES
        in_rgdir           = t_in_rgdir
      EXCEPTIONS
        OTHERS             = 0.

  • My iphone is not working. It syays that "iphone is disabled" then please connect to itunes. When I connect it It doesn't connect beacuase I should do enter first the code but I cant enter it cause my iphone is not working.

    My iphone is not working. It syays that "iphone is disabled" then please connect to itunes. When I connect it It doesn't connect beacuase I should do enter first the code but I cant enter it cause my iphone is not working.

    okej thank you, but when I restore it, it says that an unexpected error happened, what could this mean?

  • SetAsyncTimerAttribute(..... ASYNC_ATTR_INTERVAL....) does not work in CVI 8.5, returns error=-2

    Using WindowsCVI version 8.5,  trying to set the time interval ( between 20 to 25sec.) in an ascynchronous timer.  IT DOES NOT WORK!
    The following code snippet is from asynctmr.c:
                case ASYNC_ATTR_INTERVAL :
                    double doubleInterval = va_arg(parmInfo,double);
                    if (doubleInterval >= 0)
                        double      doubleResolution = GetResolution ();
                        CVIUSTEtime interval;
                        if (doubleInterval < doubleResolution)
                            doubleInterval = doubleResolution;
                        ConvertDoubleToTime (doubleInterval, &interval);
                        if (CVIUSTEsettimer (asyncTimerPtr->timer, &interval))    <---this function call always returns a {0}.  Causing...
                            asyncTimerPtr->interval = interval;
                        else
                            error = ASYNC_TIMER_FAIL_ERR;    <-----this error to be returned to the caller.
                    else
                        error = ASYNC_INVALID_PARAMETER_ERR;
                    break;
    The timer is created with an interval of 10.0seconds, which works just fine.  But any attempt to change the original value will not work!
    Solved!
    Go to Solution.

    Thanks again for your help.   I used your suggestion to just create the async timer(s) only as needed, embedding the current interval time in the parameter NewAsyncTimer() call.  This seems to work.  Attached is a code snippet of the Timer creation and Callback.  Notice that the instance of the timer self destructs when its timeout event occurs.  I hope this is OK to do this. 
              if ( ( action == OUTPUT ) || ( action == BOTH ) )
                 LaunchOutputTerminals( sys.channel[cidx].output );
                 NewTimerID = NewAsyncTimer( TimerPeriod, -1, 0, Output_Timer, NULL );            
                 sys.channel[cidx].tmr_id = NewTimerID;
                 SetAsyncTimerAttribute( NewTimerID, ASYNC_ATTR_ENABLED, TRUE );
           sys.channel[cidx].saved_state = PresentInputState;  //..save new state
        return( 0 );
    int CVICALLBACK Output_Timer( int panel, int control, int event,
                                  void *callbackData, int eventData1, int eventData2)
       i32 cidx = 1;
       DebugPrintf( "Output_Timer Callback\n" );
       do
          if ( control == sys.channel[cidx].tmr_id ) break;
       while( ++cidx < 17 );
       switch (event)
          SetAsyncTimerAttribute( control, ASYNC_ATTR_ENABLED, FALSE );
          case EVENT_DISCARD:
             sys.channel[cidx].tmr_id = 0;
             break;
          case EVENT_TIMER_TICK:
             KillOutputTerminals( sys.channel[cidx].output );
             DiscardAsyncTimer( control );
             break;
       return( 0 );        

  • Custom code does not work

    Hi all,
    I'm a newbie of SMP and SCN. I sincerely respect SMP leaders who posted nice blog.
    I’d like to know how can I process the request (the number of customers) from client application to SOAP request.
    My requirement is to connect SOAP WebService to client with Integration Gateway in SMP3 SP06.
    SOAP service is provided by RFC. I checked the following blog and created function module.
    http://scn.sap.com/docs/DOC-28582
    This function module can input customer code (optional) and the number of entities to output customer information such as customer code, name, address, country, postal code and city.
    I have configured SOAP WebServices with Integration Gateway in SMP3 SP06.
    http://scn.sap.com/people/marvin.hoffmann/blog/2014/03/15/how-to-connect-soap-webservices-with-integration-gateway-in-smp3
    OData looks like this:
    Operation is Query and Response Mapping is defined as below:
    At that time, I couldn’t see the Service Document of my OData service. So I added custom script to pass the Basic Authorization and input parameter.
    http://scn.sap.com/docs/DOC-58551
    Basic Authorization is working but the request
    parentMap.put(“IM_COUNT”, “5”) [the number of customer from FM]
    does not work. I thought I could see 5 customers information in the service document but I could see all the customers information.
    In addition, When I click on ”Define Request Mapping”,  eclipse says "Request mapping is not available for SOAP Query.”
    How do I implement my request successfully?
    Thanks,
    Hanae

    Hi Midhun,
    thank you for your quick response!
    I have already used SOAPUI to test my query.
    >it's creating an xml file in a specific format where you need to pass values to get the output.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ZGetcustomerWebservice>
             <!--Optional:-->
             <ImCount>5</ImCount>
             <!--Optional:-->
             <ImKunnr>
                <!--Zero or more repetitions:-->
             </ImKunnr>
          </urn:ZGetcustomerWebservice>
       </soapenv:Body>
    </soapenv:Envelope>
    Is this the xml file you mentioned?
    I checked the following blog and tried debugging, but I couldn't see any variables value...
    Debugging Custom Script in Integration Gateway
    Here is my custom code:
    function processRequestData(message) {
       message.setHeader("Authorization", "Basic XXXXXXXX=");
       importPackage(com.sap.gateway.ip.core.customdev.logging);
       importPackage(com.sap.gateway.ip.core.customdev.util);
       importPackage(org.apache.olingo.odata2.api.uri);
       importPackage(java.util);
       importPackage(com.sap.gateway.core.ip.component.commons);
       importPackage(com.sap.gateway.ip.core.customdev.api);
       parentMap = new LinkedHashMap();
       parentMap.put("IM_COUNT", "5");
       //Set the message body back
       message.setBody(parentMap);
       //Logger
       importPackage (com.sap.gateway.ip.core.customdev.logging);
       log.logErrors(LogMessage.TechnicalError, "This is first log"+message.getBody().toString());
      return message;
    Authorization is perfectly working but others are not.
    It would be great if you could have suggestions.
    BR,
    Hanae

  • I want to have all my tabs return after closing. In Tools/Options/General/ I have' Show my Windows and Tabs from last time' checked, but it does not work. When I open FF again none of my formerly open Tabs show... FF v.4.

    When I open FF up again after I have closed it, I want all tabs to return. In Tools/Options/General/ I have' Show my Windows and Tabs from last time' checked-does not work. In addition, the feedback window fails to 'Submit...!'

    Some things to check:
    #'''Browsing history must be saved'''
    #*Firefox button: Firefox button > Options > Options > Privacy > [X] Remember my browsing history
    #*Menu Bar: Tools > Options > Privacy > [X] Remember my browsing history
    #'''Also make sure you do not clear "Browsing History" when using Clear Recent History or when closing Firefox'''
    #*Using Clear Recent History
    #**Firefox button: Firefox button > History >Clear Recent History
    #**Menu Bar: Tools > Clear Recent History
    #*When closing Firefox
    #**Firefox button: Firefox button > Options > Options > Privacy (checked) > Settings
    #**Menu Bar: Tools > Options > Privacy (checked) > Settings
    #**See: https://support.mozilla.com/en-US/kb/Clear%20Recent%20History
    #'''Make sure you are not in Private Browsing mode''' or '''in permanent Private Browsing mode''':
    #*See: https://support.mozilla.com/en-US/kb/Private%20Browsing
    #'''If you have the'''Tab Mix Plus'''extension''', then disable the built-in session restore.

  • Norton password manager does not work on 8. How do I return to a previous version?

    when I updated to firefox 8, Norton password manager does not work. How can I return to a previous version. I am surprised that you introduced an update missing this.

    Norton needs to be updated.
    http://community.norton.com/t5/Norton-360/Firefox-8-Support-for-Norton-Toolbar/td-p/581640

  • TS1292 How do I redeem a card with a code that does not work?  The support store takes me in circles?

    Help and support sends you in circles and does not help redeem a card with a code that does not work.

    Well, they have a website, but here is a link to their information about unlocking iPhones.
    http://www.att.com/esupport/article.jsp?sid=KB414532&cv=820#fbid=6d7EKuCF_dr
    You may not qualify for an unlock though.

  • What is a common cause for FaceTime to not work?

    What is a common cause for FaceTime to not work.
    The call rings but does not connect.

    Hi Yokanup,
    Thanks for visiting Apple Support Communities.
    If your FaceTime calls do not connect, start with the troubleshooting tips in this article:
    iOS: Troubleshooting FaceTime
    http://support.apple.com/kb/ts3367
    All the best,
    Jeremy

  • I need my redemption code. Followed all tips, but did not work. Had to reinstall Windows 8Redemption Code - forgot mine

    I need my redemption code. Followed all tips, but did not work. Had to reinstall Windows 8 due to Windows Explorer crash issue,and had to reinstall all softwares. I am a monthly regular CC customer, and dont recall my 24 digit  code.

    Since this is an open forum, not Adobe support... you need to contact Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

Maybe you are looking for

  • No sound when i plug my HMI cable into my RCA TV

    When i first used my HDMI cable to shound worked perfectly, but just the other day I clicked something om the volume settings and it quit working. Te sound plays through my computer and not my TV. I have windows 8 i haven't updated it at all since i

  • No one on other end

    I can hear the ring on my iphone however when I go to answer a call or make a call I can not hear anyone on the other end

  • OSPF problem: Neighbor Down 1-2 times per day

    Hi We have 4 devices are running OSPF (3 cisco routers and 1 Juniper firewall as show in attachment file). In last few months, we got Neighbot Down message almost 1-2 times per day. Network between them interrupt for a short time and even monitoring

  • My messages are all duplicated in "in" box"

    I tried to set up another account - to avoid spam, and low and behold I didn't get another account - but i get an extra copy of each incoming and outgoing message. HELP. thanks, Sophia

  • Connection Timing Out When Trying to Load Webpages

    I have a 15 inch mid-2012 Macbook Pro. Recently, I have been having some serious problems with my connections. It seems that on my main account only secure websites will load and all others will just time out. I have tried 4 different we browsers, bu