Forum Discussion
Pool not sending Traffic to a Server
i configured a VS with a default pool, the Pool has 2 servers. using Round Robin LB method, traffic is only going to one server. i did not configure any form of Persistence. and if i disable the server with traffic, the traffic move to the second.
how can i resolve this?
i have the iRule associated to the VS:
brm-iRule
when CLIENT_ACCEPTED {
The current pool is derived from the virtual server's "Default Pool"
set current_pool [LB::server pool]
Count of reselect attempts
set reselects 0 } when LB_FAILED {
Reselect another pool member if the connection fails. Limit reselects to the number of active members. To be active, a member must be enabled with status available or unknown.
if { $reselects < [active_members $current_pool] } { incr reselects log local0.info "Client [IP::client_addr]:[TCP::client_port]: Selected pool member [LB::server addr]:[LB::server port] not responding. Reselect attempt $reselects." LB::mode rr LB::reselect pool $current_pool } else { log local0.error "Client [IP::client_addr]:[TCP::client_port]: Failed to connect after $reselects reselects." } }
any contribution to resolving this will be appreciated.
5 Replies
- Kevin_Stewart
Employee
What do your LTM logs say?
Do you have priority activation enabled on the pool?
- Hannes_Rapp
Nimbostratus
What is your ratio configuration setting in pool member config and in node config? If you want to get close to 50/50 balancing, they should be equal for both pool members and both nodes. - Kevin_Stewart
Employee
As a quick observation I don't see anything in the iRule that might be forcing all traffic to one node, but then maybe some details are missing.
-
In /var/log/ltm do you see any of the log messages form this iRule? And more important, do you see log messages from the LB_FAILED event?
-
You said there's no priority activation on the pool, but are both pool members actively up in accordance with the monitors? Do you have a pool monitor or individual node monitors?
-
Do you have any ratios applied to the pool members?
-
And what happens if you remove the iRule? Do they start load balancing correctly? How are you testing? With a single browser client? Do you close and open the browser between tests?
-
What type of persistence are you using?
-
- crodriguezRet. EmployeeWhat type of virtual server is this? In other words, what sort of protocol profiles does it have on it? TCP? HTTP? SIP? Anything else?
- iremhinmhen_bri
Nimbostratus
it is a standard virtual server. but a TCP traffic.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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