Forum Discussion
How to get Pool member id
Hello All,
I have a f5-Loandbalancer, in which i have create a pool with 3 pool members. Could you check my below queries
- Will F5 have a same routing value for pool members, i meant for pool member-1 assume routing value according to F5 is 1234.abcd then will this same value be used every time if F5 wants to route to pool membser-1 any time?
Reason for above question is that i have a job which will store all these routing information of pool members and will provide information to F5 based on some our internal logic.
Are these routing information static for pool members?
If new pool member is added then how new value gets calculate and where i can view this information in F5?
Please help me.
Regards, Ch.Venkat.
8 Replies
- IainThomson85_1
Cumulonimbus
Really sorry, I actually can't understand your requirements. The F5 is a full proxy load balancer, it doesn't "Route" as such, (Although yes, there is a routing table, and you can enable ZeBos etc)
What do you exactly want to achieve ?
- venkat_ch_24285
Nimbostratus
Hi,
I want to send an information to Loadbalancer to select a specific pool member. How to achieve it?
Regards, Ch.Venkat.
- Samir_Jha_52506
Noctilucent
Unable to understand requirement. But based on the traffic condition you can select any pool member from VIP. Paste your requirement.
- venkat_ch_24285
Nimbostratus
Hi,
I want to send an information to Load balancer(f5) to select a specific pool member. How to achieve it?
Regards, Ch.Venkat.
- IainThomson85_1
Cumulonimbus
What information ? is it something that you can pick up with an iRule ?
/uri ? content ? what are you sending ?
- Samir_Jha_52506
Noctilucent
What is LB vip condition in LB? Please browse F5 study documents.
- venkat_ch_24285
Nimbostratus
Hello All,
I'm sorry, i couldn't make my requirement easy, lemme give my requirement here.
I have a f5-Loandbalancer, in which i have create a pool with 3 pool members. When i make calls to loadbalancer, those calls gets distributed 3 pools based on the round-robin alogorithm (assume if i set round-robin)
Case-1 : If i make cookie-insert as persistence then i get the bigipcookie in response of first call, later i can use this(send cookie in requests) bigipcookie to send the call to same pool member.
Case-2 If i use hash cookie-persistence has persistence method then hashvalue of the responsecookie is calculated and it maps to routing pool information in first call. In later calls if same cookie is available in request then again hashvalue is calculated and routing table uses the previous information and sends call to same old pool member.
My requirement:
In case-2 LB calculating the hash value of cookie and mapping it to routing information. Assume call went to pool member-1 and cookie hash value is xyz then mapping is
xyz-->routing to pool member-1
Now, i don't want to use above methods but want to have my own routing. Implies i want to know how F5 calculating or defining the pool member routing information.
So that i send that pool member routing information in the request. For example, if if want to send a particular request to pool member-2 then i hardcode the routing information of pool member-2 in the request then F5 sends call to pool member-2 directly.
The routing information, i can send in cookie. basically i need to know two things
- How F5 knows it's pool members identity
- Are those values are static?
Regards, Ch.Venkat.
- IainThomson85_1
Cumulonimbus
Write a custom iRule that reads the value of the cookie that's been inserted and direct that from there.
Although in effect you're not really load balancing then... You're not really distributing load as the servers are doing different things.
Recent Discussions
Related Content
* 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