Forum Discussion
Need to redirect from one VIP to another VIP in remote LB
Would like to know the irule to redirect one VIP to another VIP hosted in the remote LB, when its pool members are down.
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 } }
Hi MriMo,
when HTTP_REQUEST { if { [active_members [LB::server pool]] == 0 } { virtual vsname } }
- MriMoAltostratus
But the VS which needs to be redirected is not configured in the same LB. It is configured in the remote peer
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 } }
- MriMoAltostratus
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.
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