Forum Discussion
minnoce944
Nimbostratus
excellent thanks for the help nitass and Brad. I was able to utilize LB::select to make the lb decision early and compare against my data group for the correct redirect.
Code i'm using is as follows:
when HTTP_REQUEST {
check if serverside connection had previously been established
if { [LB::server addr] eq "" }{
if no serverside connection had previously been established, force one
so the irule has the info required to use in the match against the data
group
eval [LB::select]
}
log local0. "Source Client IP: [IP::client_addr]"
log local0. "LB Server name: [LB::server name]"
log local0. "LB Server addr selected: [LB::server addr]"
perform the data group class lookup matching the selected server address to issue the
appropriate HTTP redirect
HTTP::redirect [class lookup [LB::server addr] "data.group.name"]
}
EC7
Sep 04, 2017Nimbostratus
Hello Blwavg,
Did you ever get Cisco Finesse to work? If so could you share the irule/DG config?