Forum Discussion
Yekesa_Kosuru_1
Nimbostratus
Nov 15, 2006help with hash
Hi All,
I have a customer using Big IP load balancer in front of our application. Our app is spread over 5 nodes and each node can handle some users (users are partitioned). In current configuration our app is failing because it recieves user requests on a round robin basis and not necessarily based on user partitions.
Reading through docs, looks like I can use iRule to figure out the user and direct the request to an appropriate app node. But I am not sure. The user id in our case is in Http payload (dont know exact byte location).
Can I use iRule to accomplish what I am trying to do? If so any help on how I could hash/mod to pick a node ? Is there a better way to accomplish this without using iRule?.
Any tips are appreciated. Thanks a lot
Regards
yekesa
- You can absolutely inspect the HTTP payload and extract content (in your case usernames). You can then use a data group to store the mappings between those user names and their appropriate nodes and issue the "node" command to target the specific node. Look through the Wiki CodeShare for HTTP::payload and that should get you going.
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