cancel
Showing results for 
Search instead for 
Did you mean: 

F5 URI iRule redirect with high availability

SBRNick
Nimbostratus
Nimbostratus

Environment: 2 nodes (NodeA, NodeB) / 2 Pools (PoolA -- (NodeA port 8443, NodeB port 8443), PoolB -- (NodeA port 8444, NodeB port 8444)).

 

URIs -- domain.com/TestA, domain.com/TestB, domain.com/TestC, domain.com/TestD

 

I know how to redirect each URI to different pools with iRules for example if TestA, TestB, and TestC go to PoolA and TestD goes to PoolB thats fine.

 

My issue is that apparently each of the URIs that go to PoolA could go offline on a single node (say NodeA) and only be available on NodeB, while the rest of the URIs still being available on both nodes. What is the best way to create high availability for each separate URI?

 

Ex: domain.com/TestA goes down on PoolA--NodeA but domain.com/TestB and domain.com/TestC still work on both NodeA and NodeB. As currently setup PoolA would not take NodeA offline or out of rotation due to health monitor. I also wouldnt want it to completely take it out of rotation for the other 2 URIs.

 

Thanks in advance!

1 REPLY 1

Hello SBRNick.

 

You can check the status of active members of each pool before decide to select one of them.

This is a great way to configure a HA solution for your pools.

REF - https://clouddocs.f5.com/api/irules/active_members.html

 

Let me know if it suit for you.

 

Regards,

Dario.

Regards,
Dario.