Forum Discussion

zafer's avatar
zafer
Icon for Nimbostratus rankNimbostratus
Aug 03, 2009

post data problem

Hello

 

 

we load balance weblogic servers with 2 segment;

 

vip1 has 2 members (these members works on application proxy now) they forward requests to the second vip address

 

vip2 has 7 members

 

 

we took some tcpdumps and some info from servers we see Post Data Message NULL in second tier

 

it means we loose post data message in vip2 members

 

 

for this issue how can i find problem? do you any suggestions,

 

i think if we can debug with irule all http requests that we can find why loose post data message?

 

 

do you suggest any irule for this problem

 

 

regards

 

 

zafer

6 Replies

  • Can you post your irule? Let us know which vip the irule applies to if you seperate irules for VIP 1 and 2.

     

    Thanks,

     

    CB
  • zafer's avatar
    zafer
    Icon for Nimbostratus rankNimbostratus
    Hello

     

    Application guys told me they lost post data on second vip and i assigned the rule on second vip

     

     

    this irules show us only null message found or not. how can i extend this rule for debugging

     

     

    regards

     

     

    zafer

     

     

     

    when HTTP_REQUEST {

     

    if { [HTTP::method] == "POST" } {

     

    HTTP::collect [HTTP::header Content-Length]

     

    }

     

    }

     

    when HTTP_REQUEST_DATA {

     

    if { [regexp {\x03\xB0(.*)\x00} [HTTP::payload]] } {

     

    log local0. "null message found"

     

    } else {

     

    log local0. "null message not found"

     

    }

     

    HTTP::release

     

    }
  • When you perform a redirect from VIP1 to 2 you will need to include POST information

     

     

    I.E.

     

    HTTP::redirect "http://www.something.com/?value1=foo&value2=foo2&value3=foo3"

     

     

    I hope that helps

     

     

    CB

     

  • I don't think you can. Let's try a new approach....what if you write up a POST trigger on the client side. For example if you have a > tag then it's possibel to rewrite it to VIP2, rather then a redirect. How are you initiating the POST? Is in the code?

     

     

     

    CB