For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

hoolio's avatar
hoolio
Icon for Cirrostratus rankCirrostratus
Feb 01, 2007

LB::persist questions

Hi,

 

 

Is LB::persist used to return the persistence profile in use on the current virtual server? Can anyone confirm what it's used for and what options there are for it?

 

 

I am trying to troubleshoot an issue with persistence and ASM when using nodes defined on port 0 and saw this command in the _ASM_clientside rule.

 

 

Here are some results I got:

 

 

Testing with a standard HTTP VIP without ASM, with the default source address persistence profile:

 

 

log local0. "\[LB::persist\]: [LB::persist]"

 

output: : [LB::persist]: source_addr 0

 

 

log local0. "\[LB::persist key\]: [LB::persist key]"

 

output: : [LB::persist key]: source_addr :: 0

 

 

b persist show all output:

 

 

PERSISTENT CONNECTIONS --

 

Mode: source addr Value: 192.168.99.38

 

Virtual: 192.168.101.41:http Node: 192.168.101.43:http Age: 2sec

 

 

When I change the VIP to use cookie and source address persistence as the default and fallback persistence methods, I see:

 

 

log local0. "\[LB::persist\]: [LB::persist]"

 

: [LB::persist]: cookie

 

 

log local0. "\[LB::persist key\]: [LB::persist key]"

 

: [LB::persist key]:

 

 

 

And here are the errors I received from the iRuler when trying to use other options for LB::persist:

 

 

log local0. "\[LB::persist\]: [LB::persist test]"

 

[invalid option "test" must be: key cookie] [test]

 

 

log local0. "\[LB::persist\]: [LB::persist cookie]"

 

[wrong args] [LB::persist cookie]

 

 

log local0. "\[LB::persist\]: [LB::persist cookie test]"

 

[wrong args] [LB::persist cookie test]

 

 

Thanks,

 

Aaron
No RepliesBe the first to reply