Forum Discussion

jma_44485's avatar
jma_44485
Icon for Nimbostratus rankNimbostratus
Oct 10, 2009

Irule question about Hash persistence

Hi,

 

I am really newbie of Irules. The issue I have is that the load is not balanced on our web servers. I have virtual server AAA in BigIP LTM. Hash_persistence profile is assigned to the virtual server AAA. Irule is assigned to the hash persistence profile. The Irule forwards http request to a pool "webpool" with round robin method. Two nodes are in that pool.

 

 

The irule is like following.

 

 

if { [HTTP::header host] eq "xxx.xxx.com" } {

 

pool webpool}

 

 

elseif { [HTTP::header host] eq "xxx.xxx.com" } {

 

pool webpool}

 

...

 

 

I have been trying to figure out why the load cannot be balanced in the webpool. I see the Irule "when HTTP_REQUEST { persist hash [HTTP::uri]}" posted on DevCentral, but I don't know how to use it in our environment. Can anyone shed some lights to me?

 

 

Many Thanks

19 Replies