Forum Discussion

MriMo's avatar
MriMo
Icon for Altostratus rankAltostratus
Oct 24, 2020
Solved

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.  
  • Enes_Afsin_Al's avatar
    Enes_Afsin_Al
    Oct 24, 2020
    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
    	}
    }