Forum Discussion

MriMo's avatar
MriMo
Icon for Altostratus rankAltostratus
5 years ago
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
    5 years ago
    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
    	}
    }