Forum Discussion

D_T's avatar
D_T
Icon for Cirrus rankCirrus
Dec 11, 2023

Change Backend Based on Cookie Value

I'm looking to set a node for traffic when a cookie exists with a particular value. I believe I have most of the code but what is throwing me off, is instead of "set node ip" is it possible to define a fqdn instead? Does it have to exist as a node/VIP on the LTMs? 

Example:

 

if { $node_forced eq "value2" } {
        # set the alternate node values
        set node_** newvip.com
        set node_port 14025