Forum Discussion
hoolio
Cirrostratus
Jun 10, 2008Using node or pool to change the destination port?
I was trying to adapt the Codeshare example to support HTTP and HTTPS requests on the same VIP (Click here) using a single pool of servers defined on port 0. To do this, I'm attempting to change the ...
Manuel_Gabaldon
Nimbostratus
Jun 16, 2008Hi,
1. Yes. The pool member must exist in the pool in order to be assigned
2. Sorry, I don't know about the statistics part, but you are correct in that the node command doesn't require a previous pool definition.
3. When assigning a pool to the connection, the LTM will load balance the request based on the load balancing policy that is configured in the pool. LB_SELECTED triggers just after the pool/node statement, so you can't reselect a pool/node after it. That just explains your 4th question.
4. "node 192.168.0.20 2" is the last valid statement in the iRule. I'm sure that "pool $default_pool member $a_member 3" fails because 192.168.0.20:3 is not specified as a pool member in default_pool.
The "node 192.168.0.20 8080" statement is not being used since you can't modify the pool after the LB_SELECTED event.
Maybe you can do a LB:reselect, i'll try and see if it works.
Regards.
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