Jimmy_Villafran
Nov 06, 2014Nimbostratus
Want to send a specific user to a specific node
I'm sure there is a similar thread but I cannot find one for this. I need to make sure a specific user is going to a specific node. The user is utilizing EWS. I have created a pool called EWS_Jail_Pool and a datagroup list called EWS_Jail with the users SamAccountname in there. When I test I'm not seeing anything in the statistics for the single node in the EWS_Jail_Pool nor anything for them in that nodes app logs so I know it isn't going to it. Any assistance would be helpful as I'm pretty new to iRules. Here is what I have so far:
when HTTP_REQUEST {
if { [HTTP::header value "Authorization"] ne ""}{
set user [string tolower [HTTP::username]]
if { [matchclass EWS_Jail contains $user] } {
pool EWS_Jail_Pool
}
}
}
Thank you, Jimmy