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
- last edited on
04-Jun-2023
21:13
by
JimmyPackets
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
- last edited on
04-Jun-2023
21:13
by
JimmyPackets
Hi MriMo,
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
virtual vsname
}
}
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
- last edited on
04-Jun-2023
21:13
by
JimmyPackets
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.