Forum Discussion
david_wang_2073
Apr 27, 2009Historic F5 Account
Radius uie persistence and CMP compatibility
We have a Radius LB PoC, we used the irule published in devcentral http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=187
I changed the $attr_code1 to 4 so that using NAS-IP-Address for persist.
when CLIENT_ACCEPTED {
binary scan [UDP::payload] ccSH32cc code ident len auth \
attr_code1 attr_len1
set index 22
while { $index < $len } {
set hsize [expr ( $attr_len1 - 2 ) * 2]
binary scan [UDP::payload] @${index}H${hsize}cc attr_value \
attr_code2 attr_len2
If it is State(24) attribute...
if { $attr_code1 == 4 } {
persist uie $attr_value 30
return
}
set index [ expr $index + $attr_len1 ]
set attr_len1 $attr_len2
set attr_code1 $attr_code2
}
}
In order to simplify the problem, SERVER_DATA event was removed.
The BIG-IP version is 9.4.7 and the platform is ltm3600, in the test, we found the UIE persistence didn’t work well. Please see blow irule log:
Apr 27 20:21:20 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:20 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.152
Apr 27 20:21:21 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:21 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.148
Apr 27 20:21:21 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:21 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.152
Apr 27 20:21:21 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:21 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.148
Apr 27 20:21:21 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:21 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.152
Apr 27 20:21:22 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:22 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.148
Apr 27 20:21:22 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:22 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.152
Apr 27 20:21:22 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:22 tmm tmm[1856]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.148
Apr 27 20:21:22 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : Using persist c0a86e24
Apr 27 20:21:22 tmm1 tmm1[1868]: Rule AAA_NASIP_Persist_Irule : The Selected Server is $192.168.110.152
You can find the same c0a86e24, two servers were selected round robin.
I noticed both tmm and tmm1 are working. My question is that, should I disable CMP in order to make this iRule work in 9.4.7. We hoped to use CMP in order to get better performance, should I change UIE persistence to session, will it is helpful to make this irule to work by upgrading to parkcity.
No RepliesBe the first to reply
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