Forum Discussion
Shahram_83722
Jun 16, 2012Nimbostratus
iRule to redirect based on path plus fallback host
I'm not super on iRules but need to write one that will redirect path A and B to pool1 and path C and D to pool2. I also need to incorporate a fallback host in case each of these pools don't have a me...
Shahram_83722
Jun 18, 2012Nimbostratus
Thank you guys for the input. I greatly appreciate it.
I've tried using the LB_FAILED before and it did not work for me, but the check for active members did so I'm not quite sure I want to use that. It could have been an error on my part...
Aaron, the reason I kept the members check within the switch statement is because I don't want the absence of a member on one of the pools to trigger a fallback for the whole VS, although my fallback server can serve all paths.
I saw you use the 'return' command. I've read the online documentation on it but haven't quite gotten an understanding of it. Could you tell me what it exactly does?
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