2 Replies Latest reply on Apr 17, 2007 8:15 AM by zambak

    Clustered JBoss with Cisco Content Switch

    zambak

      Hi

      We have a setup where 2 JBoss servers are set up in the cluster with Cisco Content Switch (CSS) in front performing load balancing with sticky session and keepalives.

      Servers host multiple web application using virtual host names.
      weabpp1.mydomain.org
      webapp2.mydomain.org
      etc, etc...

      In order to do keepalives per virtual host CSS sends out non persistent fin-ack HTTP 200 header to each webapp like this:
      "HEAD /page/index.jsf HTTP/1.0"

      It does this every 5 seconds (pooling)...

      This technique creates sessions for each hit and until session count reaches about 950 sessions none of them are being destroyed.

      If anyone knows or has experience on how to force a session to be closed I would appreciate the input.

      Regards
      Z

        • 1. Re: Clustered JBoss with Cisco Content Switch
          genman

          Session timeout?

          • 2. Re: Clustered JBoss with Cisco Content Switch
            zambak

            I cannot use the session timeout as it affects the application.
            Optimally, I would like to tell the CSS switch which http comman to issue in order to close the session and not leave it open.

            Here is the snippet of the switch config...

            service myapp
             ip address x.y.z.w
             keepalive uri "http://myapp.mycompany.org/page/index.jsf"
             protocol tcp
             port 8080
             redundant-index 7
             keepalive tcp-close fin <---- This line tells the CSS to do a fin/ack rather then a TCP reset
             keepalive frequency 15 <---- Sends a keepalive every 15 seconds
             keepalive type http non-persistent
             active