Forum Discussion
duongnt_25195
Nimbostratus
Jun 15, 2009BIGIP LTM Loadbalancing for Cache Farm with Client IP Spoofing feature.
Dear everyone.
Please help me with this topology.
Network topology attached as below.
Routing:
Cache farm using Bluecoat Cache Devices.
Defaul...
The_Bhattman
Nimbostratus
Nov 04, 2009And for versions prior to 9.4.2
Change "myPool" to your pool name.
Replace IPADDR1, IPPADDR2, IPADDRN with the node IPs contained in "myPool"
Replace with the port number of the nodes contained within "myPool"
when HTTP_REQUEST {
set GOOD_NODES {}
set High_Score -9999999999
set Node_Picked “”
set Pool_Picked pool_[expr {crc32 [HTTP::uri]} % 10]
set NS {IPADDR1 IPADDR2 IPADDRN }
set portnum
This looks through myPool nodes to determine the one's that are active
and passes it onto the array called GOOD_NODES
foreach N $NS {
if { [LB::status pool $N $portnum] eq "up" } {
lappend GOOD_NODES $N
}
}
foreach Cur_Node $GOOD_NODES {
if { [crc32 $Cur_Node[HTTP::uri]] > $High_Score } {
set High_Score [crc32 $Cur_Node[HTTP::uri]]
set Node_Picked $Cur_Node
}
}
pool $Pool_Picked member [lindex $Node_Picked 0] [lindex $Node_Picked 1]
}
CB
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects