Forum Discussion
LTM - iRule to check monitor status and route traffic accordingly.
Without irule you can achieve this senerio.
Option 1.
Create pool with different memebers pors(i.e 443,8200,8300, etc.)
Add the highest ratio to 443 member port then next member ratio. And tune the config during non business hour.
Option 2.
Create port based pool. i.e. pool_443
Apply the irule.
- jaikumar_f5Mar 02, 2019
Noctilucent
Samir,
From your Option 1 suggestion, that would be mean 443 member would take traffic, then followed by 8200 and lastly 8300.
I think the requirement is more of depends on...
- Send traffic to 443 port if both 443 & port 8300 are up.
- 443 port member has dependency on port 8300, if port 8300 is down. Then send traffic to member port 8200.
- 443 port member has dependency on port 8300, if port 443 itself is down. Then send traffic to member port 8200.
- Samir_Jha_52506Mar 02, 2019
Noctilucent
Jay, as per above comments customer may be asking, if 443 port is down move traffic to 8300 port n if above ports(443,8300) down then move traffic to last member. Ratio weight method is good option here.
irule is another options to solve issue but need to understand exact requirement.
Happy to write iRule if user want.
- Jay_VajjhalaDec 20, 2019
Nimbostratus
can you please suggest an Irule for this
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