Forum Discussion
Create Pool with two nods and fours service port active/passive
dears ,
I have requirement to have POOL with port x and the two nodes (a ,b) will have four ports x , x and y ,y while the x port in two node will be active and port y will be passive if port x down in node a the port y in node b will be active and etc ,, i have add all the ports in pool and add the monitor for both , but there issue the traffic some times go to port y which is not active , any solutions ???
2 Replies
- StephanManthey
Nacreous
Hi Meshal,
what about creating two pools? Pools are using the same nodes but listen on the 2 different ports.
ltm pool pool_port_8081 { members { 10.131.131.101:8081 { address 10.131.131.101 } 10.131.131.102:8081 { address 10.131.131.102 } } monitor http_head_f5 } ltm pool pool_port_8082 { members { 10.131.131.101:8082 { address 10.131.131.101 } 10.131.131.102:8082 { address 10.131.131.102 } } monitor http_head_f5 }An iRule may solve the problem by checking the availability of pool_port_8081 first and forwards to pool_port_8082 in case there are no members available on the "primary" pool_port_8081.
when CLIENT_ACCEPTED { two pools configured (same nodes using different ports) if { [active_members pool_port_8081] > 0 } { pool pool_port_8081 } else { pool pool_port_8082 } }Thanks, Stephan
- Meshal_119384
Nimbostratus
I have solve the issue by chose monitor the node inside pool , no general monitor pool
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