Hi Piotr,
Scenario 1 Conclusion:
For me only VS-s with same persistence profile applied (with Match Across Virtual Servers) should be evaluated. That would create match more predictable setups. What do you think?
Yes, you have to use the same persistence profiles for both Virtuals to make it reliable and predictable.
Scenario 2 Conclusion:
Same for Scenario 1 - only VS-s with the same persistence profile should be evaluated for Match Across functionality.
Yes, same here. Use identical persistence profiles for both Virtuals to make it reliable and predictable.
Another issues I noticed:
There is no way (at least I am not aware) to check how long given PR will be valid. I can see Age but not timeout when using tmsh.
A funky bash syntax may pull off the trick by enumerating the Virtual Server name on which the persistence record was created -> enumarating the used Persistence profile of the used Virtual Server -> enumerating the timeout setting of the used persistence profile. But this approach will only work if the persistence records was not created via an iRules /w different timeout values.
can it be done via iRule?
Neither the
[session]
nor the
[persist]
command supports a lookup of the remaining / total lifetimes.
Cheers, Kai