Forum Discussion
if the Session ID is already in a Clone Pool member. then it sends all of the packets associated with that Session ID to the same Clone Pool member.
if the Session ID is already in a Clone Pool member. then it sends all of the packets associated with that Session ID to the same Clone Pool member. If the Session ID is not known to the Clone Pool, then it randomly picks one of the clone pool members and adds a row for that Session ID with the chosen Clone Pool member … thus all packets for a Session will be sent to the same clone pool member. Kindly help me to correct the below irule.
set csession [session lookup ssl [SSL::sessionid]] if { $csession != “” } { set target 1 set cserver [lindex [active_members -list MY_CLONEPOOL] [expr {int(rand()[active_members MY_CLONEPOOL])}]] set ip [lindex $cserver 0] set port [lindex $cserver 1] set cserver $ip:$port clone pool MY_CLONEPOOL member $ip } Else { Set target 0 set cserver [lindex [active_members -list MY_CLONEPOOL] [expr {int(rand()[active_members MY_CLONEPOOL])}]] set ip [lindex $cserver 0] set port [lindex $cserver 1] set cserver $ip:$port clone pool MY_CLONEPOOL member $ip }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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