Forum Discussion
Daddy_73321
Nimbostratus
Feb 09, 2010Irule issue
Hello All,
I have an issue with the below irule written to direct the traffic to a node or a pool.
I have a pool CMS-http-pool with below two members.
pool...
hoolio
Cirrostratus
Feb 10, 2010Hi Jason,
Thanks for the follow up. I think the case could be made that using the pool command to select a specific member along with explicitly calling the persist command should work. I'll try opening a case with F5 Support requesting this. Can you post your case number so I can reference it?
Also, in the code you posted, I think you'll want to replace all of the global variables with local ones, so one connection doesn't trample on the variable values from another connection:
when CLIENT_ACCEPTED {
set bakecookie 0
set nodeTo ""
}
when HTTP_REQUEST {
...
01 { set nodeTo 192.168.100.2 }
02 { set nodeTo 192.168.100.5 }
03 { set nodeTo 192.168.100.8 }
04 { set nodeTo 192.168.100.11}
...
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
