Forum Discussion
pedinopa_170325
Mar 07, 2016Nimbostratus
my question is I want to have 1 pool with many members and then the irule will switch (select) the appropriate member. I have followed the examples for using the switch command but haven't gotten it to work yet.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*/node1*" { pool member 80 }
"*/node2*" { pool member 80 }
}
}