Forum Discussion
hardi_ameen
May 08, 2019Cirrus
Pool member lessen on port range
Hi,
i have the following integration;
- Virtual server only listen on port 443
- back-end nodes (pool members) listen on port range 8000 to 8040
the question;
- how to make the VS only to send request to the pool members and hit the port range?
- how to restrict the connection on port range 8000 to 8040
thanks alot in advance for your advice
Hello.
Each pool member identifies an IP+port, so you should configure each pool member separately in the pool.
In my case I have the same node listening on several ports 8080,8081,8082,8083
ltm pool mypool { members { 10.1.1.128:webcache { address 10.1.1.128 session monitor-enabled state up } 10.1.1.128:tproxy { address 10.1.1.128 session monitor-enabled state up } 10.1.1.128:us-cli { address 10.1.1.128 session monitor-enabled state up } 10.1.1.128:us-srv { address 10.1.1.128 session monitor-enabled state up } } monitor http }
KR, Dario.
In case you have several IPs you should repeat the same line for each IP
For example:
tmsh create ltm pool mypool monitor http seq 8000 8040 | xargs -I [] tmsh modify ltm pool mypool members add { <node1_ip>:[] } seq 8000 8040 | xargs -I [] tmsh modify ltm pool mypool members add { <node2_ip>:[] } seq 8000 8040 | xargs -I [] tmsh modify ltm pool mypool members add { <node3_ip>:[] } seq 8000 8040 | xargs -I [] tmsh modify ltm pool mypool members add { <node4_ip>:[] } tmsh save sys config
I will appreciate if you score my answer.
KR,
Dario.
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