Forum Discussion
LTM Policy to forward the request to particular member in a pool
Hi,
I understood you are trying to replace a know iRule condition with LTM policy, right?
If you can't "Forward traffic to node" in a rule by default, maybe the rule bellow save the day.
The goal is to run the tcl pool command setting a member on the rule to a specific path on condition.
,
What your opinion about this approach?
Thank you.
Hi,
Thanks for the solution and I am planning to use Policy instead of irule for new requirement to check the benefits.
Looking for clarification on Variable option;
1.Set Variable named should be specific to any name? because i see the conditions equal to pool member.
2.Is there any option apart from Variable because i see below guidelines when using TCL command substitution;
- Memory and CPU capacity determine a maximum number of rules for active policies; however, excessive Tcl command substitutions can degrade performance.
- Tcl command substitutions are primarily intended for reading and returning data.
Thank You.
- cjuniorJul 30, 2019
Nacreous
Hi,
Here my answers:
.Set Variable named should be specific to any name? because i see the conditions equal to pool member.
Yes, it is disposable anyway.
2.Is there any option apart from Variable because i see below guidelines when using TCL command substitution;
I can't see another than built-in way to send to a node directly. (the "Forward traffic to node" action)
I just can say that approach is a workaround to reach the similar we can do in iRule.
I usually use "Set variable" mixed to an iRule, to control HTTP redirect 301, for example.
Regards.
- SS11Jul 30, 2019
Nimbostratus
Thank you for the suggestion.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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