24-Oct-2020 04:55
Would like to know the irule to redirect one VIP to another VIP hosted in the remote LB, when its pool members are down.
Solved! Go to Solution.
24-Oct-2020 06:15
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
node remote-vs-ip port
}
}
Example:
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
node 10.11.12.13 443
}
}
24-Oct-2020 05:21
Hi MriMo,
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
virtual vsname
}
}
https://clouddocs.f5.com/api/irules/active_members.html
https://clouddocs.f5.com/api/irules/LB__server.html
24-Oct-2020 06:03
But the VS which needs to be redirected is not configured in the same LB. It is configured in the remote peer
24-Oct-2020 06:15
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
node remote-vs-ip port
}
}
Example:
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
node 10.11.12.13 443
}
}
24-Oct-2020 06:18
let me try this out & know the status
10-Nov-2020
07:46
- last edited on
24-Mar-2022
02:10
by
li-migration
Thanks redirection happened but got into another issue.
We have SAML / SSO auth enabled. When the traffic hit the VIP, it got redirected to the other VIP, from the backend server it went to the auth & again got loaded back to the 1st VIP itself, kinda creating a loop.
Any suggestions for this.