Forum Discussion
R__Scott_Wood_8
Oct 03, 2006Historic F5 Account
Hi,
Here's some info you might find useful.
1) ASM virtuals work a bit differently than non-ASM virtuals, in that, as you've observed, the LB_SELECTED rule event does fire twice. The first LB_SELECTED indicates which server the request will eventually be serviced by - the second LB_SELECTED is due to the request being routed to ASM for processing.
ASM virtuals use httpclasses, so the appropriate place to select an alternate destination for a given request is in the HTTP_CLASS_SELECTED rule event, which fires between HTTP_REQUEST and LB_SELECTED.
Your iRule should work if you move the code in LB_SELECTED to HTTP_CLASS_SELECTED, provided you intend for the request to go through ASM.
2) Currently, BIG-IP log files are rotated daily and one week's worth of log files are kept on the system.
-S